[pointerevents] Pull Request: Allow pointerup-activated elements to set click target differently.

dbaron has just submitted a new pull request for https://github.com/w3c/pointerevents:

== Allow pointerup-activated elements to set click target differently. ==
This allows other specifications to define particular elements to be pointerup-activated elements, which have different behavior for choosing the element that gets the click event.  These elements can get a click event when the pointerup is inside them, even when the pointerdown is not.

This is the approach I'd like to take to implement what the OpenUI CG resolved that it wanted in:
https://github.com/openui/open-ui/issues/1312#issuecomment-3469585173

This is desirable so that author-defined `click` handlers will work reliably for activations of these elements, which would not otherwise be the case.  This allows avoiding a behavior that would be confusing to authors where a `click` handler would work for many user gestures that activate the element but also fail to work for a significant number of the gestures that do so.

I'm curious what you think of this approach.  I realize it might require some amount of discussion, but given that I think the spec change needed is quite small I figured I'd try starting that discussion with the PR.

See https://github.com/w3c/pointerevents/pull/637


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 5 February 2026 15:47:50 UTC