RESOLVED FIXED 100054
position:sticky should stick for the enclosing overflow ancestor
https://bugs.webkit.org/show_bug.cgi?id=100054
Summary position:sticky should stick for the enclosing overflow ancestor
Ojan Vafai
Reported 2012-10-22 16:45:07 PDT
As I've thought about this more, I don't see any reason we'd want the viewport to be any different from other scrollable containers WRT sticky behavior. As long as the containing block is not clipped, the sticky element shouldn't be either.
Attachments
simple test case (237 bytes, text/html)
2012-10-22 16:45 PDT, Ojan Vafai
no flags
Patch (not ready for review) (6.64 KB, patch)
2013-05-19 19:29 PDT, Simon Fraser (smfr)
no flags
Patch (20.57 KB, patch)
2013-05-20 17:25 PDT, Simon Fraser (smfr)
bdakin: review+
Ojan Vafai
Comment 1 2012-10-22 16:45:33 PDT
Created attachment 170024 [details] simple test case
Simon Fraser (smfr)
Comment 2 2012-10-22 16:51:07 PDT
Yes, we plan to do this.
Radar WebKit Bug Importer
Comment 3 2012-10-24 22:46:39 PDT
Simon Fraser (smfr)
Comment 4 2013-05-19 19:29:44 PDT
Created attachment 202249 [details] Patch (not ready for review)
Simon Fraser (smfr)
Comment 5 2013-05-20 17:25:41 PDT
Simon Fraser (smfr)
Comment 6 2013-05-20 18:45:54 PDT
Note You need to log in before you can comment on or make changes to this bug.