Closed
Bug 1260148
Opened 8 years ago
Closed 8 years ago
Make EventUtils.sendWheelAndPaint() use the system event
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
1.91 KB,
patch
|
masayuki
:
review+
|
Details | Diff | Splinter Review |
In bug 1251905 comment 25, Masayuki said that the wheel event for the system event group happens after the various other wheel events, and thus we should use that for EventUtils.sendWheelAndPaint(). This will ensure that the callback is not run until after the legacy wheel events are run.
Assignee | ||
Comment 1•8 years ago
|
||
try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=94dd746efa49
Attachment #8735473 -
Flags: review?(masayuki)
Updated•8 years ago
|
Attachment #8735473 -
Flags: review?(masayuki) → review+
Comment 2•8 years ago
|
||
Will the system event still be dispatched if one of the legacy wheel events has preventDefault called on it?
Comment 3•8 years ago
|
||
(In reply to (Back on Mar30) Kartikaya Gupta (email:kats@mozilla.com) from comment #2) > Will the system event still be dispatched if one of the legacy wheel events > has preventDefault called on it? Yes, it is. An event is not fired only when the event's stopPropagation() is called in the system event group's propagation.
Comment 4•8 years ago
|
||
Ok, thanks for confirming!
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61676174a225
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•