Closed Bug 272094 Opened 20 years ago Closed 20 years ago

autopan incorrectly scrolls in the wrong direction when it encounters an iframe

Categories

(Firefox :: General, defect)

x86
Windows 98
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 223542

People

(Reporter: bugzilla, Assigned: bugzilla)

References

()

Details

User-Agent:       Opera/7.54 (Windows 98; U)  [en]
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

You use the middle mouse button to auto-pan, and you make it scroll down the 
page. The page contains an iframe, and the iframe passes under the mouse. If you 
move the mouse at all (for example, to adjust the scroll speed), FF thinks you 
are trying to scroll the iframe instead of the main page, and it starts 
scrolling up instead, as your mouse is near the top of the iframe. Of course, 
then the mouse makes contact with the main page again, and scrolls down, then it 
makes contact with the iframe and scrolls up, and the cycle continues.

Reproducible: Always
Steps to Reproduce:
1. Open a page that contains a large iframe some distance down the page (http://
optimoz.mozdev.org/piemenus/ is a good example)
2. Click the middle mouse button to start auto-pan
3. Move the mouse down a bit so the page starts to scroll down
4. Gently move the mouse from left to right (just so the mouse cursor keeps 
moving)
5. When the iframe moves under the mouse cursor, the page starts jumping up and 
down instead of continuing to scroll normally

Actual Results:  
The autopan cursor detection seems to pass to the iframe

Expected Results:  
autopan should always relate to the page it was started on, not any iframes 
within it

happens with any theme.
Dupe of bug 223542.
indeed it is.

*** This bug has been marked as a duplicate of 223542 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.