[w3c/uievents] Remove dblclick text selection default action to match browsers (Issue #328)

The spec currently states that the default action for [dblclick](https://www.w3.org/TR/uievents/#event-type-dblclick) has the following additional behavior:

> If the [event target](https://www.w3.org/TR/uievents/#event-target) is selectable, the [default action](https://www.w3.org/TR/uievents/#default-action) MUST be to select part or all of the selectable content. Subsequent clicks MAY select additional selectable portions of that content.

However, Chrome, Firefox and Safari all begin text selection with varying degrees of granularity (i.e. word, sentence / paragraph) on the mousedown event (in contrast to dblclick which is after the mouseup), allowing the user to drag the mouse to easily select more than one word / sentence / paragraph. This is also more consistent with the character text selection which begins on mousedown which is part of the note for [mousedown](https://www.w3.org/TR/uievents/#event-type-mousedown). This has lead to [some confusion](https://crbug.com/527559) about not being able to cancel the text selection on the dblclick event.

TLDR; I think we should remove the dblclick text selection action. We could add it to the note for mousedown, though given it already mentions starting text selection we may not need to add anything.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/328
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/328@github.com>

Received on Friday, 24 June 2022 14:05:48 UTC