Open Bug 275930 Opened 20 years ago Updated 2 years ago

When mouse is captured, events are fired even if it is outside of bounds

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect

Tracking

()

People

(Reporter: pete_a90, Unassigned)

Details

Attachments

(1 file)

599 bytes, text/html
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041121 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041121 Firefox/0.9.1+

View testcase. Both divs are similar but the top is for vertical scrolling and
bottom is for horizontal. It helps if you increase your font size for this.

In the top DIV, select text and move the mouse down below the border so it
starts scrolling (keep your mouse near the left side where the text is and make
sure the mouse is near the border so it scrolls slower so you can see what is
going on). You will see the mouse cursor still has the I-beam cursor and when it
hovers over the A element, it will turn into a hand cursor and the A:hover style
will be applied. This only happens when the cursor is below this DIV, these
changes don't occur when the mouse is above the top edge.

Do the same thing for the bottom DIV, it's easier to see the A:hover event
change on this one. The right edge will behave like the bottom edge in the
previous testcase and the left edge will act like the top edge.

Reproducible: Always
Attached file testcase
Reproduced on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6)
Gecko/20041224 Firefox/1.0+ (Windows XP SP2).
Status: UNCONFIRMED → NEW
Ever confirmed: true
roc, any idea what's up here?
No idea really. Low priority though.
Assignee: events → nobody
QA Contact: ian → events
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: