Bug 263886

Summary: Stacking order of absolutely positioned element affected by overflow
Product: WebKit Reporter: Alexandre <alexandre>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, oliverjash, simon.fraser, zalan
Priority: P2    
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261302

Alexandre
Reported 2023-10-30 07:32:57 PDT
See: https://jsbin.com/yecanaguje/edit?html,output Steps to reproduce: 1. Open the jsbin link in Safari 17 2. Change the horizontal window width until the stacking order changes. Expected behaviours: * `.foreground` should remain above `.background` Notes: * It doesn't seem to happen on Safari 16. * `.foreground` remains over `.background` on other browsers * Toggling overflow-x affect the stacking order of the element * Creating a new stacking context seems to fix it (adding `isolation:isolate;` on `.container`)
Attachments
Simon Fraser (smfr)
Comment 1 2023-10-30 10:29:22 PDT
Does this reproduce in Safari Tech Preview?
Simon Fraser (smfr)
Comment 2 2023-10-30 11:46:40 PDT
Very likely a dup of bug 261302.
Alexandre
Comment 3 2023-10-30 12:05:15 PDT
> Does this reproduce in Safari Tech Preview? It seems fixed in Safari Tech Preview.
Alexey Proskuryakov
Comment 4 2023-10-30 13:53:17 PDT
Great news, thank you for checking!
Note You need to log in before you can comment on or make changes to this bug.