-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xilem_web: Add pointer events and fix bounds on event listeners and c…
…orrect event type for mouse events. (#733) As [this Firefox issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1675847) is finally fixed, we can be more close to the spec with the `click/auxclick/contextmenu` events by using a `PointerEvent` instead of a `MouseEvent`. I've also noticed that the DOM interface bounds/types were out of sync with the event types (bounds), this was corrected as well. Additionally all the `pointer...` events were added. And a simple `PointerMsg::position() -> Point` accessor.
- Loading branch information
Showing
4 changed files
with
105 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters