Bug 126223 - PreventDefault in 'mousedown' cancels 'mousemove', 'mouseup' and 'mouseout' events outside of iframe.
Summary: PreventDefault in 'mousedown' cancels 'mousemove', 'mouseup' and 'mouseout' e...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://vsesh.ru/iframe/iframe2.html
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-25 00:23 PST by Vsevolod
Modified: 2019-02-06 09:18 PST (History)
3 users (show)

See Also:


Attachments
Testcase (154 bytes, text/html)
2015-03-19 05:12 PDT, Antoine Quint
no flags Details
Additional testcase content (981 bytes, text/html)
2015-03-19 05:12 PDT, Antoine Quint
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod 2013-12-25 00:23:44 PST
PreventDefault in 'mousedown' cancels 'mousemove', 'mouseup' and 'mouseout' events outside of iframe. 
Witout preventDefault all works fine.
Comment 1 Antoine Quint 2015-03-19 05:11:45 PDT
I just ran into this issue today, where this works fine in Firefox, but fails in Safari and Chrome. Since the original URL no longer seems to work, I've attached a testcase where commenting out the call to `event.preventDefault()` in the `mousedown` event handler shows that mouse events are dispatched even when outside the iframe bounds.
Comment 2 Antoine Quint 2015-03-19 05:12:26 PDT
Created attachment 249033 [details]
Testcase
Comment 3 Antoine Quint 2015-03-19 05:12:44 PDT
Created attachment 249034 [details]
Additional testcase content
Comment 4 Antoine Quint 2015-03-19 05:26:29 PDT
Raised a Chromium bug too at https://code.google.com/p/chromium/issues/detail?id=468730.
Comment 5 David Kilzer (:ddkilzer) 2016-09-09 09:45:24 PDT
<rdar://problem/28226827>
Comment 6 Lucas Forschler 2019-02-06 09:18:35 PST
Mass move bugs into the DOM component.