Closed Bug 1344108 Opened 7 years ago Closed 7 years ago

[Pointer Event] Enable pointerevent_sequence_at_implicit_release_on_drag-manual.html

Categories

(Core :: DOM: Events, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: stone, Assigned: stone)

Details

Attachments

(3 files)

      No description provided.
Assignee: nobody → sshih
Spec [1] says we should implicitly release pointer capture immediately after firing the pointerup or pointercancel events.

We may fire pointer leave / exit in EventStateManager::PostHandleEvent and implicit release pointer capture in current implementation.

Revise current implementation and handle it before PostHandleEvent.

[1] https://w3c.github.io/pointerevents/#implicit-release-of-pointer-capture
Priority: -- → P2
Attachment #8906841 - Flags: review?(bugs)
Attachment #8906842 - Flags: review?(bugs)
Attachment #8906843 - Flags: review?(bugs)
Attachment #8906841 - Flags: review?(bugs) → review+
Attachment #8906843 - Flags: review?(bugs) → review+
Attachment #8906842 - Flags: review?(bugs) → review+
Pushed by sshih@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/aad29639fd5b
Part1: Fire lostpointercapture event immediately after pointerup/pointercancel. r=smaug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/66ac49d8bfe7
Part2: Only prevent drag when capturing the pointer events by content. r=smaug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2feeea8d65d
Part3: Enable pointerevent_sequence_at_implicit_release_on_drag-manual.html. r=smaug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: