VERIFIED WORKSFORME 202364
Position Sticky Block Container is incorrectly calculated
https://bugs.webkit.org/show_bug.cgi?id=202364
Summary Position Sticky Block Container is incorrectly calculated
Damien Retzinger
Reported 2019-09-30 08:31:47 PDT
Associated Article: https://medium.com/graycore-developer/sticky-yet-another-browser-inconsistency-f375b2e829d7 Example case: https://codepen.io/damienWebDev/full/GRKaMQd As described in the article, `position: sticky` incorrectly calculates its `containing element` as described by the spec. It should search up the tree for its nearest "block" ancestor, and use that as the containing rectangle for `position:sticky`. I've tried this on the most reecent nightly, and the bug still exists.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-10-02 13:52:01 PDT
Martin Robinson
Comment 2 2021-09-23 06:47:48 PDT
I think this is now fixed with the improvements for position: sticky and inline elements.
Damien Retzinger
Comment 3 2021-09-24 08:47:30 PDT
Confirm Sovled. @mrobinson@webkit.org
Martin Robinson
Comment 4 2021-09-24 08:48:17 PDT
Thanks for the confirmation!
Note You need to log in before you can comment on or make changes to this bug.