Bug 236665

Summary: incorrect z ordering after an animation
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
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

Description Fujii Hironori 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
Comment 1 Antoine Quint 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.
Comment 2 Antoine Quint 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).
Comment 3 Antoine Quint 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.
Comment 4 Radar WebKit Bug Importer 2022-02-17 06:55:53 PST
<rdar://problem/89084254>