Open Bug 1327183 Opened 6 years ago Updated 6 months ago

Scrolling in scrollable area continues when I move mouse outside of scrollable area while rotating mouse wheel

Categories

(Core :: Panning and Zooming, defect, P3)

53 Branch
Unspecified
Windows
defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

Details

(Whiteboard: [gfx-noted])

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1]
2. Hover mouse over checkerboard area, start rotating mouse wheel down
3. Move mouse to the right from the vertical scrollbar of iframe (while you keep scrolling)
4. Continue scrolling

AR:  The page doesn't scroll
ER:  The page should scroll



STR_2:  (reference of good behavior)
1. Open url [1]
2. Hover mouse over checkerboard area, start rotating mouse wheel down
3. Move mouse to the leftmost pixel of the page (while you keep scrolling)

AR:  The page immediately scrolls down, just as expected



STR_3:  (reference of good behavior)
1. Open url [2]
2. Hover mouse over checkerboard area, start rotating mouse wheel down
3. Move mouse to the right from the vertical scrollbar of iframe (while you keep scrolling)

AR:  The page immediately scrolls down, just as expected



Note:
 Yes, I'm aware that mouse scrolling stays connected to one scrollable area (s.a.) while I keep
 rotating mouse wheel and keep mouse pointer inside SA_1 (even if I hover mouse over some inner
 scroll area (SA_2)). But I'm also aware that if I move mouse outside of SA_1, scrolling looses
 connection to SA_1. Usually. But not in this case. So, this bug report assumes that in Step 3
 reporter moves mouse outside of original s.a., and therefore scrolling should stop.


[1]
data:text/html,<body style="height:100%"><script>
document.body.innerHTML+=`<iframe src='data:text/html,<div style="
    height:200px;
    width:4000px;
    overflow:scroll;
    background:gray;
"><img src="http://i1.ytimg.com/vi/60og9gwKh1o/0.jpg"><div style="
    height:200000px;
    width:4000px;
    background-position: 10px -10px;
    background-size: 64px 32px;
    background-image: linear-gradient(-45deg, %2523eeeeee, %2523eeeeee 33%, %2523fbfbfb 33%, %2523fbfbfb 66%, %2523eeeeee 66%, %2523eeeeee);
"></div></div>'></iframe>`
</script>

[2]
data:text/html,
<body style="height:10000px">
<script>
document.body.innerHTML+=`<iframe src='data:text/html,<div style="
    height:20000px;
    width:4000px;
"></div>'></iframe>`
</script>
Component: Untriaged → Panning and Zooming
Product: Firefox → Core
No longer blocks: 1277113
I can sort of reproduce this. using STR_1 and STR_2. I think what might be happening is that when the mouse moves left it hits a different target than the content, or something. Not really sure but it warrants investigation.
OS: Unspecified → Windows
Priority: -- → P3
Whiteboard: [gfx-noted]
Version: Trunk → 53 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.