kitesurf · WPT

FAIL
expected FAIL · 1760 ms
▶ run in kitesurf
Test
/selection/collapseToStartEnd.html
Actual
FAIL
Expected
FAIL
Unexpected
no
Duration
1760 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Fselection%2FcollapseToStartEnd.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
FAILMust throw InvalidStateErr if the selection's range is nullassert_throws_dom: function "function() { selection.collapseToStart(); }" did not throw
PASSRange 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart()
PASSRange 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd()
FAILRange 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
FAILRange 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 8 but got 2
FAILRange 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 2 but got 8
FAILRange 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 9 but got 2
FAILRange 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 2 but got 9
PASSRange 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
PASSRange 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
FAILRange 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
FAILRange 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 8 but got 2
FAILRange 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 2 but got 8
FAILRange 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 9 but got 2
FAILRange 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 2 but got 9
FAILRange 14 [document.documentElement, 0, document.documentElement, 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 14 [document.documentElement, 0, document.documentElement, 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
FAILRange 15 [document.documentElement, 0, document.documentElement, 2] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 2 but got 0
FAILRange 15 [document.documentElement, 0, document.documentElement, 2] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 2
FAILRange 16 [document.documentElement, 1, document.documentElement, 2] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 2 but got 1
FAILRange 16 [document.documentElement, 1, document.documentElement, 2] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 1 but got 2
PASSRange 17 [document.head, 1, document.head, 1] collapseToStart()
PASSRange 17 [document.head, 1, document.head, 1] collapseToEnd()
FAILRange 18 [document.body, 0, document.body, 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 18 [document.body, 0, document.body, 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
PASSRange 22 [paras[0], 0, paras[0], 0] collapseToStart()
PASSRange 22 [paras[0], 0, paras[0], 0] collapseToEnd()
FAILRange 23 [paras[0], 0, paras[0], 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 23 [paras[0], 0, paras[0], 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
FAILRange 26 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Text node "Ijklmnop " but got Text node "Äb̈c̈d̈ëf̈g̈ḧ "
FAILRange 26 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Text node "Äb̈c̈d̈ëf̈g̈ḧ " but got Text node "Ijklmnop "
FAILRange 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Text node "Ijklmnop " but got Text node "Äb̈c̈d̈ëf̈g̈ḧ "
FAILRange 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Text node "Äb̈c̈d̈ëf̈g̈ḧ " but got Text node "Ijklmnop "
FAILRange 28 [paras[0].firstChild, 3, paras[3], 1] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Element node <p id="d" style="display:none">Yzabcdef</p> but got Text node "Äb̈c̈d̈ëf̈g̈h…
FAILRange 28 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Text node "Äb̈c̈d̈ëf̈g̈ḧ " but got Element node <p id="d" style="display:none">Yzabcdef<…
FAILRange 29 [paras[0], 0, paras[0].firstChild, 7] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Text node "Äb̈c̈d̈ëf̈g̈ḧ " but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>
FAILRange 29 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ "
FAILRange 30 [testDiv, 2, paras[4], 1] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Element node <p id="e" style="display:none">Ghijklmn</p> but got Element node <div id="test…
FAILRange 30 [testDiv, 2, paras[4], 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s... but got Element n…
FAILRange 31 [testDiv, 1, paras[2].firstChild, 5] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Text node "Qrstuvwx" but got Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p …
FAILRange 31 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s... but got Text node…
FAILRange 32 [document.documentElement, 1, document.body, 0] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id... but got Element n…
FAILRange 32 [document.documentElement, 1, document.body, 0] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but got Element n…
FAILRange 34 [document, 0, document, 1] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 1 but got 0
FAILRange 34 [document, 0, document, 1] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 1
FAILRange 35 [document, 0, document, 2] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 2 but got 0
FAILRange 35 [document, 0, document, 2] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 0 but got 2
FAILRange 36 [document, 1, document, 2] collapseToStart()assert_equals: collapseToStart() must not change the endOffset of the selection's original range expected 2 but got 1
FAILRange 36 [document, 1, document, 2] collapseToEnd()assert_equals: collapseToEnd() must not change the startOffset of the selection's original range expected 1 but got 2
FAILRange 37 [testDiv, 0, comment, 5] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Comment node <!--Alphabet soup?--> but got Element node <div id="test"><p id="a">Äb̈c̈d̈ë…
FAILRange 37 [testDiv, 0, comment, 5] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s... but got Comment n…
FAILRange 38 [paras[2].firstChild, 4, comment, 2] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
FAILRange 38 [paras[2].firstChild, 4, comment, 2] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Text node "Qrstuvwx" but got Comment node <!--Alphabet soup?-->
FAILRange 39 [paras[3], 1, comment, 8] collapseToStart()assert_equals: collapseToStart() must not change the endContainer of the selection's original range expected Comment node <!--Alphabet soup?--> but got Element node <p id="d" style="display:none">Yzab…
FAILRange 39 [paras[3], 1, comment, 8] collapseToEnd()assert_equals: collapseToEnd() must not change the startContainer of the selection's original range expected Element node <p id="d" style="display:none">Yzabcdef</p> but got Comment node <!--Alphabet …

bundle built 2026-07-16T07:16:48.063Z