WPT
wpt / selection / stringifier_editable_element.tentative.html
Spec: Selection API ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 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 | 12/12 | 12/12 | 8/12 | 3/12 | 1/12 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| select the entire input should result all the content | PASS | PASS | PASS | FAIL | FAIL | — |
| toString() should return empty when the focus is not on the editable content | PASS | PASS | PASS | PASS | PASS | — |
| toString() works with selectionStart and selectionEnd for input | PASS | PASS | PASS | PASS | FAIL | — |
| select the entire textarea should result all the content | PASS | PASS | PASS | FAIL | FAIL | — |
| toString() works with selectionStart and selectionEnd for textarea | PASS | PASS | PASS | PASS | FAIL | — |
| toString() works even if a click just occured on a button | PASS | PASS | FAIL | FAIL | FAIL | — |
| toString() works for programatically calling .click() on anchor (without href) | PASS | PASS | PASS | TIMEOUT | TIMEOUT | — |
| toString() doesn't work for actual clicking the anchor (without href) | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| toString() works for programatically calling .click() on anchor (with href) | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| toString() also works for actual clicking the anchor (with href) | PASS | PASS | TIMEOUT | NOTRUN | NOTRUN | — |
| Click on a text prior to toString() moves the seleciton | PASS | PASS | NOTRUN | NOTRUN | NOTRUN | — |
| Click on a `user-select:none` text prior to toString() doesn't move the seleciton | PASS | PASS | NOTRUN | NOTRUN | NOTRUN | — |