Closed
Bug 1671657
Opened 5 years ago
Closed 5 years ago
setPointerCapture should do nothing if the element's node document is not active document for the pointer
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(1 file)
Per step 5 of https://w3c.github.io/pointerevents/#setting-pointer-capture
If the pointer is not in the active buttons state or the element's node document [DOM] is not the active document of the pointer, then terminate these steps.
And the active document is defined in https://w3c.github.io/pointerevents/#dfn-active-document
For every active pointer, the document that received the last event from that pointer.
There is a wpt for this, https://searchfox.org/mozilla-central/rev/e0eb861a187f0bb6d994228f2e0e49b2c9ee455e/testing/web-platform/tests/pointerevents/pointerevent_mouse_pointercapture_inactivate_pointer.html
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → echen
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•5 years ago
|
||
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/653e90061f03
setPointerCapture should do nothing if the element's node document is not active document for the pointer; r=smaug
Comment 5•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•