Open Bug 953097 Opened 11 years ago Updated 4 years ago

PreventDefault in 'mousedown' cancels 'mousemove' and 'mouseup' events outside of iframe.

Categories

(Core :: DOM: Events, defect, P3)

26 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: v.shmyroff, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: parity-chrome)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.12526 YaBrowser/13.12.1599.12526 Safari/537.36 Steps to reproduce: Create page with iframe. In subpage create "mousedown" listener. Call preventDefault in handler. Open page in browser. Hold left mouse button under page in frame. Move mouse outside of iframe. Relese mouse button. Actual results: "mousemove" and "mouseup" events not fired outside of iframe. mousedown (inside) mousemove (inside) mousemove (inside) ... mouseout (outside) Expected results: mousedown (inside) mousemove (inside) mousemove (inside) ... mousemove (outside) mousemove (outside) mouseup (outside) mouseout (outside)
Summary: PreventDefault in 'mousedown' cancels 'mousemove', 'mouseup' and 'mouseout' events outside of iframe. → PreventDefault in 'mousedown' cancels 'mousemove' and 'mouseup' events outside of iframe.
Component: General → Event Handling
Product: Firefox → Core
Component: Event Handling → User events and focus handling
Severity: normal → S3
Status: UNCONFIRMED → NEW
Component: DOM: UI Events & Focus Handling → DOM: Events
Depends on: 1677543
Ever confirmed: true
Keywords: parity-chrome
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.