You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure mouse events are dispatched to document/window as necessary #6733
Although I've been meaning to look into what other browsers do with mouse events that are not targeted at a particular child node of the body element - specifically, what if the mouse is being moved or clicked outside of the bounds of any page content, but inside the bounds of the enclosing frame?
Activity
Ms2ger commentedon Jul 24, 2015
This is just https://dom.spec.whatwg.org/#concept-event-dispatch step 4 (which we implement) plus https://html.spec.whatwg.org/multipage/#events-and-the-window-object, which I've been meaning to file once we have better tests for it, right?
jdm commentedon Jul 24, 2015
Yep.
jdm commentedon Jul 24, 2015
Although I've been meaning to look into what other browsers do with mouse events that are not targeted at a particular child node of the body element - specifically, what if the mouse is being moved or clicked outside of the bounds of any page content, but inside the bounds of the enclosing frame?
Ms2ger commentedon Jul 25, 2015
The root element covers the viewport.
paulrouget commentedon Sep 9, 2015
We also need that for the keyboard events.
jdm commentedon Sep 9, 2015
@paulrouget Could you file a separate issue for that?
jdm commentedon Feb 18, 2016
This is now self-contained in the DOM spec:
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Auto merge of #9734 - nox:finish-event-dispatch, r=Ms2ger
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Auto merge of #9734 - nox:finish-event-dispatch, r=Ms2ger
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Auto merge of #9734 - nox:finish-event-dispatch, r=Ms2ger,jdm
Fix the "get the parent" loop when dispatching event (fixes servo#6733)
Auto merge of #9734 - nox:finish-event-dispatch, r=Ms2ger