New issue
Advanced search Search tips

Issue 903946 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Stacking context behavior is wrong with fill-forwards animations

Project Member Reported by xidac...@chromium.org, Nov 9

Issue description

An example is here:
https://jsbin.com/tisonak/edit?html,css,js,output

In this example, the stacking context is enabled when the fill-forwards animation is added, but the value seems to be cached and when the animations stops, we don't update that.

Previously we tried to update is stacking context in this CL:
https://chromium-review.googlesource.com/c/chromium/src/+/1066630,
and that seems to break inbox:
https://bugs.chromium.org/p/chromium/issues/detail?id=899759
 
The example and description in #1 is incorrect. flackr@ pointed out that the correct case is where the animation fills forward to a 'none' value; we will decide there is no longer a SC but there should be due to https://drafts.csswg.org/web-animations-1/#side-effects-section (which implies 'will-change: transform', which implies a SC)

https://output.jsbin.com/rejewew/quiet

In this reproduction, the div correctly becomes a SC during the animation, but incorrectly stops being one after the animation is over.
Labels: Hotlist-Interop

Sign in to add a comment