- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 10 Apr 2018 03:02:45 +0000 (UTC)
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/uievents/issues/197/379958810@github.com>
I'm not sure mice can be separated from other pointing devices, given that click (and dblclick maybe??) apply to all of them. I know this spec doesn't define touch and pointer events, but someone needs to define what happens when you "click", including those, and this seems like the right place. It'll also be interesting to note how this interacts with focus. The spec currently states: > The default action of the click event type varies based on the event target of the event and the value of the button or buttons attributes. Typical default actions of the click event type are as follows: > > - If the event target has associated activation behavior, the default action MUST be to execute that activation behavior (see ยง3.5 Activation triggers and behavior). > > - If the event target is focusable, the default action MUST be to give that element document focus. Due to a historical quirk, the activation behavior is already [in the event dispatch logic](https://dom.spec.whatwg.org/#concept-event-dispatch). (Although, I wonder if how it relates to the other events, like (pointer|touch)(down|up) or DOMActivate...). But the focus part is not, and any algorithmic description of clicking would need to include that---at which point? This'll be really great to have written down :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/197#issuecomment-379958810
Received on Tuesday, 10 April 2018 03:03:12 UTC