Created attachment 352321 [details] testcase The `display: unset` rule should stop any element where it is applied from creating a new containing block. This bug was found by nesting a position sticky inside a plain div with a single `display:unset` rule. Expected behaviour - the sticky element should take its containing block from body (being the closest block formatting context) Actual behaviour - The sticky element takes its containing block from the parent div Steps to reproduce: scroll down and observe that sticky element does not stick. Works as expected in most recent Firefox and Chrome.
I've played a bit more, and `display: unset` works as expected for other child elements - seems like `position: -webkit-sticky` is the only thing that's misbehaving.
<rdar://problem/45344773>
Still present in Safari 14, description updated.
This should be fixed now. *** This bug has been marked as a duplicate of bug 224415 ***