See attached video. https://bugs.chromium.org/p/chromium/issues/detail?id=800693
Created attachment 374571 [details] Video
It's position:sticky.
<rdar://problem/53408604>
Created attachment 374673 [details] Testcase Seems to happen because the sticky element is enclosed in a display:inline element.
Actually any element between the root and the sticky break it.
We're considering the anonymous block ancestor as the containing block, but the other browser don't.
(In reply to Simon Fraser (smfr) from comment #5) > Actually any element between the root and the sticky break it. Ah, in all browsers. It breaks only in WebKit if the ancestor is inline.
I am unable to reproduce this bug in Safari Technology Preview 152, where the sticky header got stuck in viewport below its position. It is behaving same as other browsers (Chrome Canary 107 and Firefox Nightly 106). I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Please reopen with updated test case, if you think it is not fixed. Thanks!