WPT
wpt / selection / contenteditable / modifying-selection-with-non-primary-mouse-button.tentative.html?secondary
Spec: Selection API ↗
Runs: Chrome 155.0.8039.0 (wpt@2b4dfe72c, 2026-09-03) | Firefox 157.0a1 (wpt@2b4dfe72c, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@ed1909ed6, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 7/7 | 7/7 | 1/7 | 2/7 | 2/7 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| secondary click should set focus to clicked editable element and collapse selection around the clicked point | PASS | PASS | FAIL | FAIL | FAIL | — |
| secondary click should move caret in an editable element | PASS | PASS | FAIL | FAIL | FAIL | — |
| secondary click shouldn't move caret in an editable element if the default of mousedown event is prevented | PASS | PASS | FAIL | PASS | PASS | — |
| secondary click shouldn't move caret in an editable element if the default of pointerdown event is prevented | PASS | PASS | FAIL | PASS | PASS | — |
| Shift + secondary click should extend the selection | PASS | PASS | PASS | FAIL | FAIL | — |
| Shift + secondary click in a link shouldn't extend the selection | PASS | PASS | FAIL | FAIL | FAIL | — |
| secondary mouse button down should move caret, but its button up shouldn't move caret | PASS | PASS | FAIL | FAIL | FAIL | — |