Closed Bug 1404255 Opened 2 years ago Closed 2 years ago

[Pointer Event] Turn off active state or remove current pointer from active pointers when handling pointercancel

Categories

(Core :: DOM: Events, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: stone, Assigned: stone)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Spec [1] says we should fire pointercancel when a pointer is unlikely to continue to produce events. In that case, we should remove the pointer from active pointers like what we do for pointerup (for non-hoverable device).

[1] https://w3c.github.io/pointerevents/#the-pointercancel-event
Assignee: nobody → sshih
Blocks: pointerevent
Summary: [Pointer Event] Remove current pointer from active pointers when handling pointercancel for non-hoverable device → [Pointer Event] Turn off active state or remove current pointer from active pointers when handling pointercancel
Comment on attachment 8915480 [details]
Bug 1404255 - [Pointer Event] Turn off active state or remove current pointer from active pointers when handling pointercancel.

https://reviewboard.mozilla.org/r/186690/#review191854
Attachment #8915480 - Flags: review?(masayuki) → review+
Pushed by sshih@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e7c9f37690bd
[Pointer Event] Turn off active state or remove current pointer from active pointers when handling pointercancel. r=masayuki
https://hg.mozilla.org/mozilla-central/rev/e7c9f37690bd
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.