-
Notifications
You must be signed in to change notification settings - Fork 32
Pointer events #15
Copy link
Copy link
Closed
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposalrequires:test-infraProposal requires additional test infrastructureProposal requires additional test infrastructure
Milestone
Metadata
Metadata
Assignees
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposalrequires:test-infraProposal requires additional test infrastructureProposal requires additional test infrastructure
Description
The pointerevents spec provides a unified input model for handling pointing devices regardless of their type (e.g. mouse, touch, stylus) and contains many new capabilities to these events such as predicted points and pointer capture.
Specification
https://w3c.github.io/pointerevents/
Tests
Links to web-platform-tests (on https://wpt.fyi) for the feature:
https://wpt.fyi/results/pointerevents?label=master&label=experimental&aligned
Rationale
The pointerevents spec is where new input features are arriving and developers using pointerevents instead of mouse or touch event listeners improves usability across input modalities. Additionally, using touch-action and passive event listeners improves scrolling performance. However, differences in behavior can lead to adoption or usability issues.