Bug 236665

Summary: incorrect z ordering after an animation
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, dino, graouts, graouts, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=164094
Attachments:
Description Flags
test case none

Fujii Hironori
Reported 2022-02-15 13:34:13 PST
Created attachment 452084 [details] test case I created this test case just by adding step-end to animations/stacking-context-not-fill-forwards.html. Chrome, Firefox: The green box is topmost Safari: The blue box is topmost
Attachments
test case (1.43 KB, text/html)
2022-02-15 13:34 PST, Fujii Hironori
no flags
Antoine Quint
Comment 1 2022-02-16 01:55:55 PST
If you open the test case with another tab open, then switching to another tab and returning to the test case shows the content in the right state.
Antoine Quint
Comment 2 2022-02-16 02:29:59 PST
The difference here is likely that this animation does not run accelerated (due to using steps-end easing).
Antoine Quint
Comment 3 2022-02-16 02:31:18 PST
We call invalidateStyleAndLayerComposition() when an element's animation completes with acceleration. I expect we fail to do the same in the non-accelerated case.
Radar WebKit Bug Importer
Comment 4 2022-02-17 06:55:53 PST
Note You need to log in before you can comment on or make changes to this bug.