Bug 9659

Summary: Quirksmode: Fixed / Overflow > Positioned objects get hidden when scrolling
Product: WebKit Reporter: Chris McLay <chris>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, ian, joost, kevin, mitz
Priority: P2 Keywords: HasReduction
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://eeoh.com.au/bugTesting/safari_fixed_overflow_relative_scroll_bug.html
Bug Depends on:    
Bug Blocks: 9610    
Attachments:
Description Flags
Simple test case example in html
none
Revised html test case
none
revised test case
none
revised test case
none
Add "fixed" flag to cached clip rects hyatt: review+

Chris McLay
Reported 2006-06-29 23:05:53 PDT
When you have a object with a relative position, inside an object with overflow hidden, inside a fixed object, the relatively positioned object gets clipped when you scroll the page. The sample page has a simple set of examples: http://eeoh.com.au/bugTesting/safari_fixed_overflow_relative_scroll_bug.html
Attachments
Simple test case example in html (1.97 KB, application/xhtml+xml)
2006-06-29 23:07 PDT, Chris McLay
no flags
Revised html test case (2.37 KB, text/html)
2006-11-20 00:35 PST, Chris McLay
no flags
revised test case (4.03 KB, text/html)
2006-11-20 02:00 PST, Chris McLay
no flags
revised test case (4.04 KB, text/html)
2006-11-20 04:18 PST, Chris McLay
no flags
Add "fixed" flag to cached clip rects (163.94 KB, patch)
2006-12-31 02:06 PST, mitz
hyatt: review+
Chris McLay
Comment 1 2006-06-29 23:07:26 PDT
Created attachment 9099 [details] Simple test case example in html
Mark Rowe (bdash)
Comment 2 2006-07-02 02:13:52 PDT
Confirmed with WebKit r15133 and WebKit 418.8. Thanks for the test case.
Chris McLay
Comment 3 2006-11-20 00:35:04 PST
I have found an addition to this bug, as well as the original case the same things happens with an overflow hidden object, inside an overflow hidden object, inside a fixed object. I'll attach a more complete example.
Chris McLay
Comment 4 2006-11-20 00:35:56 PST
Created attachment 11579 [details] Revised html test case
Chris McLay
Comment 5 2006-11-20 02:00:11 PST
Created attachment 11580 [details] revised test case
Chris McLay
Comment 6 2006-11-20 02:03:39 PST
The bug is broader than I had thought. In addition to the original bug... If you have a positioned object, or an overflow hidden object inside a fixed object with overflow hidden then all the positioned objects get clipped on scroll.
Chris McLay
Comment 7 2006-11-20 04:18:21 PST
Created attachment 11581 [details] revised test case This revised test case includes the revised bug and some clarifying examples (hopefully). If I can simplify matters further I will...
mitz
Comment 8 2006-11-20 06:18:07 PST
*** Bug 8788 has been marked as a duplicate of this bug. ***
mitz
Comment 9 2006-12-23 00:52:56 PST
*** Bug 11937 has been marked as a duplicate of this bug. ***
mitz
Comment 10 2006-12-31 02:06:46 PST
Created attachment 12130 [details] Add "fixed" flag to cached clip rects No layout test regressions.
Dave Hyatt
Comment 11 2006-12-31 04:39:50 PST
Comment on attachment 12130 [details] Add "fixed" flag to cached clip rects r=me
David Kilzer (:ddkilzer)
Comment 12 2006-12-31 06:41:29 PST
Committed revision 18491.
Note You need to log in before you can comment on or make changes to this bug.