[Webkit-unassigned] [Bug 113636] New: inherit value of visibility property does not work when both the parent and child node have visibility keyframe animation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 30 00:59:26 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113636
Summary: inherit value of visibility property does not work
when both the parent and child node have visibility
keyframe animation
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: abhishek0687 at gmail.com
Created an attachment (id=195847)
--> (https://bugs.webkit.org/attachment.cgi?id=195847&action=review)
TestCase - The visibility property is inherited during the animation
The visibility property of the parent during its keyframe animation is not inherited by its children(also having visibility keyframe animation). As per the standard when the "visibility" is set to "inherit" the "visibility" property will be set as its parent.
While for the other cases when the parent have "visibility" animation and the child does not have any "visibility" animation and vice versa, the value is inherited properly.
Attached is an experiment and the explanation is below
-------------------------------------------------------
<div id="d1"> is the parent div having a red rectangle which have visibility keyframe animation which makes the child visible for 1s and then invisible for the next 1s.
<div id="d2"> is the child of the <div id="d1"> having a blue rectangle which has a visibility keyframe animation to make it behave like its parent by using the inherit value in the visibility property.
Expected Result
---------------
The canvas(red rectangle) under <div id="d1"> is on for the first 1s and then off for the next 1s. Then after the end of the animation i.e after 2s it is visible.
The canvas(blue rectangle) under <div id="d2"> behave as the above canvas i.e it will be on for the first 1s and then off for the next 1s, then after the end of the animation i.e after 2s it is visible.
Result Seen
-----------
The canvas(red rectangle) under <div id="d1"> behaves as expected.
The canvas(blue rectangle) under <div id="d2"> is always on and does not become hidden after 1 second, means it did not inherit the visibility property from parent
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list