Bug 53049 - Wheel scroll is not propagated to overflow: auto elements when on top of position: fixed elements
Summary: Wheel scroll is not propagated to overflow: auto elements when on top of posi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 52988
  Show dependency treegraph
 
Reported: 2011-01-24 16:32 PST by Mihai Parparita
Modified: 2018-04-11 07:48 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Parparita 2011-01-24 16:32:26 PST
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.
Comment 1 Peter Kasting 2011-01-24 16:39:26 PST
Does this have any relationship to bug 47036?
Comment 2 Mihai Parparita 2011-01-24 17:05:21 PST
(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.