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`)
Does this reproduce in Safari Tech Preview?
Very likely a dup of bug 261302.
> Does this reproduce in Safari Tech Preview? It seems fixed in Safari Tech Preview.
Great news, thank you for checking!