Summary

Harness status: OK

Found 57 tests

Details

ResultTest NameMessage
PassMust throw InvalidStateErr if the selection's range is null
Asserts run
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() {        selection.collapseToStart();    }")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:12:4)
PassRange 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(8, 8, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(8, 8, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(8, 8, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(8, 8, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(9, 9, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(9, 9, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(9, 9, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(9, 9, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 5 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(8, 8, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 6 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(8, 8, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(8, 8, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(8, 8, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(9, 9, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(9, 9, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(9, 9, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(9, 9, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 14 [document.documentElement, 0, document.documentElement, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 14 [document.documentElement, 0, document.documentElement, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 15 [document.documentElement, 0, document.documentElement, 2] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 15 [document.documentElement, 0, document.documentElement, 2] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 16 [document.documentElement, 1, document.documentElement, 2] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 16 [document.documentElement, 1, document.documentElement, 2] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 17 [document.head, 1, document.head, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 17 [document.head, 1, document.head, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., Element node <head><title>Selection.collapseTo(Start|End)() tests</tit..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 18 [document.body, 0, document.body, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 18 [document.body, 0, document.body, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 22 [paras[0], 0, paras[0], 0] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 22 [paras[0], 0, paras[0], 0] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 23 [paras[0], 0, paras[0], 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 23 [paras[0], 0, paras[0], 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 26 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 26 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(8, 8, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(8, 8, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(8, 8, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Ijklmnop ", Text node "Ijklmnop ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(8, 8, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 28 [paras[0].firstChild, 3, paras[3], 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(3, 3, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(3, 3, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(3, 3, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 28 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(3, 3, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 29 [paras[0], 0, paras[0].firstChild, 7] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(7, 7, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 29 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(7, 7, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(7, 7, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", Text node "Äb̈c̈d̈ëf̈g̈ḧ ", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(7, 7, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 30 [testDiv, 2, paras[4], 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 30 [testDiv, 2, paras[4], 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <p id="e" style="display:none">Ghijklmn</p>, Element node <p id="e" style="display:none">Ghijklmn</p>, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 31 [testDiv, 1, paras[2].firstChild, 5] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(5, 5, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 31 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(5, 5, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(5, 5, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(5, 5, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 32 [document.documentElement, 1, document.body, 0] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 32 [document.documentElement, 1, document.body, 0] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <html><head><title>Selection.collapseTo(Start|End)() test..., Element node <html><head><title>Selection.collapseTo(Start|End)() test..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id..., "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 34 [document, 0, document, 1] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 34 [document, 0, document, 1] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 35 [document, 0, document, 2] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 35 [document, 0, document, 2] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 36 [document, 1, document, 2] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 36 [document, 1, document, 2] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 37 [testDiv, 0, comment, 5] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(0, 0, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(0, 0, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(0, 0, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(5, 5, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 37 [testDiv, 0, comment, 5] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(5, 5, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(5, 5, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p><p id="b" s..., "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(0, 0, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(5, 5, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 38 [paras[2].firstChild, 4, comment, 2] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(4, 4, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(4, 4, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(4, 4, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(2, 2, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 38 [paras[2].firstChild, 4, comment, 2] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(2, 2, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(2, 2, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Text node "Qrstuvwx", Text node "Qrstuvwx", "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(4, 4, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(2, 2, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)
PassRange 39 [paras[3], 1, comment, 8] collapseToStart()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:36:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:46:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "focusNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:48:9)
Pass
assert_equals(1, 1, "focusOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:50:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "anchorNode must equal the original start node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:52:9)
Pass
assert_equals(1, 1, "anchorOffset must equal the original start offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:54:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "collapseToStart() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:56:9)
Pass
assert_equals(1, 1, "collapseToStart() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:58:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToStart() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:60:9)
Pass
assert_equals(8, 8, "collapseToStart() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:62:9)
PassRange 39 [paras[3], 1, comment, 8] collapseToEnd()
Asserts run
Pass
assert_equals(1, 1, "Sanity check: rangeCount must equal 1 after addRange()")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:82:9)
Pass
assert_equals(1, 1, "selection.rangeCount must equal 1")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:92:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "focusNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:94:9)
Pass
assert_equals(8, 8, "focusOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:96:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "anchorNode must equal the original end node")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:98:9)
Pass
assert_equals(8, 8, "anchorOffset must equal the original end offset")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:100:9)
Pass
assert_equals(Element node <p id="d" style="display:none">Yzabcdef</p>, Element node <p id="d" style="display:none">Yzabcdef</p>, "collapseToEnd() must not change the startContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:102:9)
Pass
assert_equals(1, 1, "collapseToEnd() must not change the startOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:104:9)
Pass
assert_equals(Comment node <!--Alphabet soup?-->, Comment node <!--Alphabet soup?-->, "collapseToEnd() must not change the endContainer of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:106:9)
Pass
assert_equals(8, 8, "collapseToEnd() must not change the endOffset of the selection's original range")
    at Test.<anonymous> ( /selection/collapseToStartEnd.html:108:9)