WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 164094
66341
Accelerated animations fail to respond to changes in stacking context between keyframes
https://bugs.webkit.org/show_bug.cgi?id=66341
Summary
Accelerated animations fail to respond to changes in stacking context between...
Dean Jackson
Reported
Tuesday, August 16, 2011 11:30:34 PM UTC
Created
attachment 104099
[details]
Animation Without Empty Keyframes See the attached test cases. The only difference is that one of them has a duplicated "empty" keyframe rule up to the 50% mark. Notice that the innermost div gets positioned relative to its grandparent when the padding keyframes are present. Since all elements are absolutely positioned, I think the transform: none shouldn't be causing this.
Attachments
Animation Without Empty Keyframes
(1.87 KB, text/html)
2011-08-16 15:30 PDT
,
Dean Jackson
no flags
Details
Animation With Empty Keyframes
(1.91 KB, text/html)
2011-08-16 15:31 PDT
,
Dean Jackson
no flags
Details
Animation With Empty Keyframes
(1.75 KB, text/html)
2011-08-16 15:45 PDT
,
Dean Jackson
no flags
Details
Animation Without Empty Keyframes
(1.72 KB, text/html)
2011-08-16 15:45 PDT
,
Dean Jackson
no flags
Details
Clearer testcase
(1.42 KB, text/html)
2011-09-01 17:53 PDT
,
Simon Fraser (smfr)
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
Tuesday, August 16, 2011 11:31:01 PM UTC
Created
attachment 104100
[details]
Animation With Empty Keyframes
Dean Jackson
Comment 2
Tuesday, August 16, 2011 11:36:21 PM UTC
It's the 50.00% { -webkit-transform: none; } in BannerAppear-2 that causes it. Unfortunately the test case has animation 1 on element 2 and visa-versa :(
Dean Jackson
Comment 3
Tuesday, August 16, 2011 11:45:32 PM UTC
Created
attachment 104106
[details]
Animation With Empty Keyframes Better test. Shows what to change to fix the bug.
Dean Jackson
Comment 4
Tuesday, August 16, 2011 11:45:57 PM UTC
Created
attachment 104107
[details]
Animation Without Empty Keyframes Better test.
Dean Jackson
Comment 5
Tuesday, August 16, 2011 11:50:02 PM UTC
The inner animation is not necessary to show the bug
Simon Fraser (smfr)
Comment 6
Friday, September 2, 2011 1:52:05 AM UTC
Issue only happens with accelerated compositing enabled. The problem is that "middle-animation" causes #middle to change its stacking context status between keyframes. For some reason, we don't update the layers with the new stacking order until the animation is complete, if only the end keyframe has a transform.
Simon Fraser (smfr)
Comment 7
Friday, September 2, 2011 1:53:20 AM UTC
Created
attachment 106071
[details]
Clearer testcase
Simon Fraser (smfr)
Comment 8
Friday, September 2, 2011 2:03:12 AM UTC
We're sending off the keyframes to CA and not doing any work to update style when we hit them. This breaks if the keyframe properties affect z-index.
Simon Fraser (smfr)
Comment 9
Saturday, October 29, 2011 12:42:18 AM UTC
We don't yet have a code path that runs hardware animations for each keyframe, but resolves style between keyframes, so this is hard to fix at the moment.
Simon Fraser (smfr)
Comment 10
Wednesday, May 4, 2016 9:05:26 PM UTC
Spec will be updated to make this easier:
https://lists.w3.org/Archives/Public/www-style/2016Apr/0445.html
Simon Fraser (smfr)
Comment 11
Friday, October 28, 2016 12:40:30 AM UTC
I think
bug 164094
obsoletes this one. *** This bug has been marked as a duplicate of
bug 164094
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug