Closed Bug 242226 Opened 22 years ago Closed 22 years ago

autoscroll doesn't work when mouse is over a hyperlink

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: michael.arnauts+mozilla, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040331 Firefox/0.8.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040331 Firefox/0.8.0+ When you go to the test-url, you can see that when you try to autoscroll above the image, it won't work. Reproducible: Always Steps to Reproduce: 1. go to test-url 2. middle click (above image) and drag to autoscroll Actual Results: nothing happened Expected Results: the autoscroll icon should appear and the page should move
When you middle click on image that has a link, the link will be called (standard behavior for links), in this case its a link with window.close() If you check the javascript console you will see a warning about that a script may not close windows it didnt open. If you middle click in an area outside the image the autoscroll will work. I guess this is INVALID?
it's not invalid because a middle click should fire the javascript, not a middledrag. To autoscroll, you have to middle-drag, so the hyperlink should be ignored then. (at least that is how i would expect it to work)
(In reply to comment #2) > it's not invalid because a middle click should fire the javascript, not a it does run the javascript (window.close), check the javascript console.
There are two ways to autoscroll: A) Middle-drag. B) Middle-click, then move the cursor. Middle-click again to stop autoscrolling. (A) does not conflict with middle-clicking to open a link in a new tab, but (B) does.
this is intended behaviour and will not change.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
QA Contact: mconnor
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.