If an animation's keyframes affect stacking context properties, create stacking context while the animation is running
Created attachment 293077 [details] Patch
*** Bug 66341 has been marked as a duplicate of this bug. ***
Comment on attachment 293077 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293077&action=review > Source/WebCore/page/animation/CSSPropertyAnimation.cpp:641 > - dst->setOpacity(blendFunc(anim, (fromOpacity == 1) ? 0.999999f : fromOpacity, b->opacity(), progress)); > + dst->setOpacity(blendFunc(anim, a->opacity(), b->opacity(), progress)); Glad to see this go. > Source/WebCore/page/animation/CompositeAnimation.cpp:344 > + blendedStyle->setZIndex(0); It would be nice if there was a more obvious way to mark as needing a stacking context.
https://trac.webkit.org/changeset/208025