Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle pointer capture node removal asynchronously #490

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

flackr
Copy link
Contributor

@flackr flackr commented Oct 27, 2023

This explains what happens when the current pointer capture target is removed or the pending pointer capture target is removed - addressing the concern raised in #487. The pointer capture is updated during the next process pending pointer capture which occurs before the dispatch of the next pointer event.


Preview | Diff

@patrickhlauke
Copy link
Member

this looks good to me (covers option 1 suggested by @mustaqahmed on #487)

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Show resolved Hide resolved
@mustaqahmed mustaqahmed merged commit 7c62a58 into w3c:gh-pages Nov 8, 2023
2 checks passed
@patrickhlauke
Copy link
Member

Does this need a WPT?

@patrickhlauke patrickhlauke added the needs-wpt Investigation whether the issue needs a wpt test has been done and wpt is missing label Nov 8, 2023
@flackr
Copy link
Contributor Author

flackr commented Dec 6, 2023

This should be tested by pointerevents/pointerevent_lostpointercapture_for_disconnected_node.html

@flackr flackr removed the needs-wpt Investigation whether the issue needs a wpt test has been done and wpt is missing label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants