Bug 100054

Summary: position:sticky should stick for the enclosing overflow ancestor
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, eoconnor, ericbidelman, esprehn+autocc, glenn, simon.fraser, tabatkins, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
simple test case
none
Patch (not ready for review)
none
Patch bdakin: review+

Description Ojan Vafai 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.
Comment 1 Ojan Vafai 2012-10-22 16:45:33 PDT
Created attachment 170024 [details]
simple test case
Comment 2 Simon Fraser (smfr) 2012-10-22 16:51:07 PDT
Yes, we plan to do this.
Comment 3 Radar WebKit Bug Importer 2012-10-24 22:46:39 PDT
<rdar://problem/12571189>
Comment 4 Simon Fraser (smfr) 2013-05-19 19:29:44 PDT
Created attachment 202249 [details]
Patch (not ready for review)
Comment 5 Simon Fraser (smfr) 2013-05-20 17:25:41 PDT
Created attachment 202333 [details]
Patch
Comment 6 Simon Fraser (smfr) 2013-05-20 18:45:54 PDT
http://trac.webkit.org/changeset/150395