- From: Mustaq Ahmed via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Jul 2024 14:24:29 +0000
- To: public-pointer-events@w3.org
I think the UI Events spec definition of `dblclick` target ("the event target MUST be the same between `mousedown`, `mouseup` and `dblclick`") is under-specified in multiple ways: - It does not consider the effect of [Pointer Capture](https://w3c.github.io/pointerevents/#dfn-pointer-capture) because I believe it predates Pointer Events spec. - It doesn't not specify the target if the DOM is modified in-between. For example, if the `mousedown` handler removes the target, will the `dblclick` be dispatched to the nearest common ancestor of `mousedown` and `mouseup`, or will the dispatch be skipped? (Those are in addition to the main point you raised above: it doesn't mention if `click` and `dblclick` targets must be the same or not.) -- GitHub Notification of comment by mustaqahmed Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/507#issuecomment-2258485612 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 July 2024 14:24:30 UTC