Click here to download the Blitz Browser!

WPT

wpt / selection / contenteditable / initial-selection-on-focus.tentative.html?span

Spec: Selection API ↗

Runs: Chrome 155.0.8042.0 (wpt@4eb09bcd9, 2026-09-04) | Firefox 157.0a1 (wpt@c3fcbf4ba, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@a1ecd0c09, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total51/5151/5150/5133/5151/51NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
empty editor should set focus to start of itPASSPASSPASSPASSPASS
editor should set selection to start of the text nodePASSPASSPASSPASSPASS
editor should set selection to before the <br> nodePASSPASSPASSPASSPASS
editor should set selection to before the first <br> nodePASSPASSPASSPASSPASS
editor should set selection to start of the text node in the <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the first <br> node in the <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <b> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <i> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <u> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <s> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <code> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <a> nodePASSPASSPASSPASSPASS
editor should set selection to before the empty <foobar> nodePASSPASSPASSPASSPASS
editor should set selection to before the <input> nodePASSPASSPASSPASSPASS
editor should set selection to before the <img> nodePASSPASSPASSPASSPASS
editor should set selection to start of the text node in the second <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the second <span> nodePASSPASSPASSPASSPASS
editor should set selection to start of the text node in the first <span> node #1PASSPASSPASSPASSPASS
editor should set selection to start of the text node in the first <span> node #2PASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the first <span> node #1PASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the first <span> node #2PASSPASSPASSFAILPASS
editor should set selection to start of the text node in the second <span> node since the text node in the first <span> node is only whitespacesPASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the second <span> node since the text node in the first <span> node is only whitespacesPASSPASSPASSPASSPASS
editor should set selection to start of the text node in the second <span> node even if there is a whitespace only text node before the first <span> nodePASSPASSPASSPASSPASS
editor should set selection to before the <br> node in the second <span> node even if there is a whitespace only text node before the first <span> nodePASSPASSPASSPASSPASS
editor should collapse selection before the non-editable <span> nodePASSPASSPASSPASSPASS
editor should collapse selection before the non-editable <span> node even if it has a text nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable <span> node even if it has a <br> nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable empty <span> node followed by a text nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable <span> node having a text node and followed by another text nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable <span> node having a <br> node and followed by a text nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable empty <span> node followed by a <br> nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable <span> node having text node and followed by a <br> nodePASSPASSPASSFAILPASS
editor should collapse selection before the non-editable <span> node having a <br> node and followed by another <br> nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node before first editable text nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node having a text node before first editable text nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node having a <br> node before first editable text nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node before first editable <br> nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node having a text node before first editable <br> nodePASSPASSPASSFAILPASS
editor should collapse selection to start of itself when there is only empty inline elements before the non-editable node having a <br> node before first editable <br> nodePASSPASSPASSFAILPASS
editor should collapse selection to the first editable text node in the first <span> node even if followed by a non-editable nodePASSPASSPASSPASSPASS
editor should collapse selection to the first editable text node in the first <span> node even if followed by a non-editable node having another text nodePASSPASSPASSPASSPASS
editor should collapse selection to the first editable text node in the first <span> node even if followed by a non-editable node having a <br> nodePASSPASSPASSPASSPASS
editor should collapse selection to the first editable <br> node in the first <span> node even if followed by a non-editable nodePASSPASSPASSPASSPASS
editor should collapse selection to the first editable <br> node in the first <span> node even if followed by a non-editable node having a text nodePASSPASSPASSFAILPASS
editor should collapse selection to the first editable <br> node in the first <span> node even if followed by a non-editable node having a <br> nodePASSPASSPASSPASSPASS
editor should collapse selection to start of itself if first content is an input elementPASSPASSPASSFAILPASS
editor should collapse selection to start of itself if first content is an textarea elementPASSPASSPASSFAILPASS
editor shouldn't reset selection when it gets focus againPASSPASSFAILPASSPASS