Bug 53049
Summary: | Wheel scroll is not propagated to overflow: auto elements when on top of position: fixed elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mihai Parparita <mihaip> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | gaffne67, hyatt, jamesr, mitz, pkasting |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 52988 |
Mihai Parparita
To reproduce:
Place mouse over the red square (which uses position: fixed) in these pages:
1. http://persistent.info/webkit/test-cases/position-fixed-scrolling/document.html
2. http://persistent.info/webkit/test-cases/position-fixed-scrolling/overflow-auto.html
3. http://persistent.info/webkit/test-cases/position-fixed-scrolling/overflow-auto-document.html
and use the wheel to scroll.
Expected result:
1. Document scrolls
2. overflow: auto div scrolls
3. overflow: auto div scrolls
Actual result:
1. Document scrolls
2. Nothing scrolls
3. Document scrolls
It might be easiest to skip over position: fixed elements when determining where to fire/propagate wheel events.
Firefox 4.0b9 currently behaves like the actual result (WebKit), IE 8 behaves like the expected result.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Peter Kasting
Does this have any relationship to bug 47036?
Mihai Parparita
(In reply to comment #1)
> Does this have any relationship to bug 47036?
I'm not sure, I haven't looked at the code that's involved.