Click-drag text selection suppresses click events
Author: webbedspaceCreated Sep 29, 2026Updated Sep 29, 2026
LabelsC-untriaged
Describe the bug: See title.
To Reproduce:
<div id="X" onclick="console.log('Click')">Manually select this text</div>
<details><summary>Manually select this text</summary></details>Manually drag on the first line to select. Releasing the mouse fires onclick on Firefox but not Servo.
Manually drag on the second line to select. Releasing the mouse opens the <details> on Firefox but not Servo.
Platform: Win 10
Source: servo/servo