Thanks to visit codestin.com
Credit goes to github.com

Skip to content

script: implement the pointer capture API#45048

Open
webbeef wants to merge 1 commit into
servo:mainfrom
webbeef:pointer-capture
Open

script: implement the pointer capture API#45048
webbeef wants to merge 1 commit into
servo:mainfrom
webbeef:pointer-capture

Conversation

@webbeef
Copy link
Copy Markdown
Contributor

@webbeef webbeef commented May 21, 2026

This implements the Pointer Capture API of the pointer events spec. This unfortunately adds complexity to the document_event_handler. The remaining failures are due to:

  • lack of support for coalesced events.
  • lack of differentiation of pen pointer type vs. touch (I have a follow up for that).
  • some iframe tests that I could not yet figure out (/pointerevents/pointerevent_pointercapture_in_frame.html).

Testing: Updated WPT expectations.

@webbeef webbeef requested a review from gterzian as a code owner May 21, 2026 04:42
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 21, 2026
@webbeef webbeef force-pushed the pointer-capture branch from 0c45ac2 to 31287a4 Compare May 21, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants