Closed
Bug 1403055
Opened 8 years ago
Closed 8 years ago
[Pointer Event] Revise the implementation to fire boundary events by handling pointercancel and pointerup
Categories
(Core :: DOM: Events, enhancement)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: stone, Assigned: stone)
References
Details
Attachments
(2 files)
59 bytes,
text/x-review-board-request
|
masayuki
:
review+
|
Details |
Bug 1403055 Part2: Add a test to make sure we fire pointerout and pointerleave before pointercancel.
59 bytes,
text/x-review-board-request
|
masayuki
:
review+
|
Details |
Now we fire boundary events by handling pointerup and pointercancel in ESM::PostHandleEvent. We call GenerateMouseEnterExit twice when handling pointercancel.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sshih
Assignee | ||
Comment 1•8 years ago
|
||
Now we call GenerateMouseEnterExit twice when handling pointercancel. The second one is redundant since we do some checks in GenerateMouseEnterExit. And we should call GenerateMouseEnterExit before removing the entry in mPointersEnterLeaveHelper, which is used in GenerateMouseEnterExit.
Trying to fix the incorrect handling of pointercancel and pointerup and merge them together.
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8914030 [details]
Bug 1403055 Part1: Revise the implementation to fire boundary events by handling pointercancel and pointerup.
https://reviewboard.mozilla.org/r/185424/#review190410
Thank you for separating the bug for this change. Let's try this. I wonder, can or do we have automated tests for this? If you'll add automated tests for this, please add new patch and request review to me.
Attachment #8914030 -
Flags: review?(masayuki) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8914584 [details]
Bug 1403055 Part2: Add a test to make sure we fire pointerout and pointerleave before pointercancel.
https://reviewboard.mozilla.org/r/185930/#review190890
Looks good and please check if this runs as expected in <iframe> of the test harness before landing. (Perhaps, running per directory is enough to check it.)
Attachment #8914584 -
Flags: review?(masayuki) → review+
Assignee | ||
Comment 7•8 years ago
|
||
Pushed by sshih@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a10c13ddb8b7
Part1: Revise the implementation to fire boundary events by handling pointercancel and pointerup. r=masayuki
https://hg.mozilla.org/integration/mozilla-inbound/rev/49820a586d6d
Part2: Add a test to make sure we fire pointerout and pointerleave before pointercancel. r=masayuki
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a10c13ddb8b7
https://hg.mozilla.org/mozilla-central/rev/49820a586d6d
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•