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)

defect

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: nobody → echen
Status: NEW → ASSIGNED
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
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: