Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt

Issue 2698413002: selection: Align collapse-NN.html and extend-NN.html to the latest draft. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt
index 0f4e4b97c36b17503b992536de1b007b2c42fd03..f9ef654c3a526fa315b993db433aa54d5f47421e 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt
@@ -351,7 +351,7 @@ CONSOLE ERROR: line 8: The given range isn't in document.
CONSOLE ERROR: line 8: The given range isn't in document.
CONSOLE ERROR: line 8: The given range isn't in document.
This is a testharness.js-based test.
-Found 2581 tests; 1421 PASS, 1160 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 2581 tests; 2552 PASS, 29 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Set up range 30 [paras[0], 0, paras[0].firstChild, 7]
PASS Set up range 31 [testDiv, 2, paras[4], 1]
PASS Set up range 32 [testDiv, 1, paras[2].firstChild, 5]
@@ -397,19 +397,13 @@ PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChi
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChild, 9]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChild, 10]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChild, 65535]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.firstChild, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.firstChild, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.firstChild, 8]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firstChild, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firstChild, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firstChild, 8]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firstChild, 9]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.documentElement, -1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.documentElement, 0]
@@ -418,24 +412,18 @@ PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.document
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.documentElement, 7]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 29 [document.head, 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 30 [document.body, 3]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 31 [foreignDoc.documentElement, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 32 [foreignDoc.documentElement, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 34 [foreignDoc.body, 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 35 [paras[0], 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 36 [paras[0], 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 37 [paras[0], 2]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 38 [paras[1], 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 39 [paras[1], 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 40 [paras[1], 2]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 41 [detachedPara1, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 42 [detachedPara1, 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 43 [testDiv, 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 44 [testDiv, 3]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 45 [document, -1]
@@ -447,62 +435,35 @@ PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 50 [comment, -1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 51 [comment, 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 52 [comment, 4]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 53 [comment, 96]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 54 [foreignDoc, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 55 [foreignDoc, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 56 [foreignComment, 2]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode, 36]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 59 [xmlDoc, -1]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 62 [xmlDoc, 5]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 63 [xmlComment, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 64 [xmlComment, 4]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 65 [processingInstruction, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 66 [processingInstruction, 5]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 67 [processingInstruction, 9]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 68 [detachedTextNode, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 69 [detachedTextNode, 8]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 70 [detachedForeignTextNode, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 71 [detachedForeignTextNode, 8]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 72 [detachedXmlTextNode, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 73 [detachedXmlTextNode, 8]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 74 [detachedProcessingInstruction, 12]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 75 [detachedComment, 3]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 76 [detachedComment, 5]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 77 [detachedForeignComment, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 78 [detachedForeignComment, 4]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 79 [detachedXmlComment, 2]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 80 [docfrag, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 82 [xmlDocfrag, 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0]
FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -526,13 +487,13 @@ PASS Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8]
PASS Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9]
PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10]
PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
PASS Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8]
PASS Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0]
@@ -541,18 +502,18 @@ PASS Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2]
PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7]
PASS Range 31 [testDiv, 2, paras[4], 1], point 29 [document.head, 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 30 [document.body, 3]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 35 [paras[0], 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 36 [paras[0], 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 37 [paras[0], 2]
PASS Range 31 [testDiv, 2, paras[4], 1], point 38 [paras[1], 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 39 [paras[1], 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 40 [paras[1], 2]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 41 [detachedPara1, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 42 [detachedPara1, 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 43 [testDiv, 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 44 [testDiv, 3]
PASS Range 31 [testDiv, 2, paras[4], 1], point 45 [document, -1]
@@ -564,35 +525,35 @@ PASS Range 31 [testDiv, 2, paras[4], 1], point 50 [comment, -1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 51 [comment, 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4]
PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36]
PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p>
+PASS Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 68 [detachedTextNode, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 69 [detachedTextNode, 8]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction, 12]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 75 [detachedComment, 3]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 76 [detachedComment, 5]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 80 [docfrag, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0]
FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -616,13 +577,13 @@ PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChild, 9]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChild, 10]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChild, 65535]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firstChild, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firstChild, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firstChild, 8]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.firstChild, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.firstChild, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.firstChild, 8]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.firstChild, 9]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentElement, -1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentElement, 0]
@@ -631,18 +592,18 @@ PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentE
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentElement, 7]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 29 [document.head, 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 30 [document.body, 3]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 31 [foreignDoc.documentElement, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 32 [foreignDoc.documentElement, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 33 [foreignDoc.head, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 34 [foreignDoc.body, 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 35 [paras[0], 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 36 [paras[0], 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 37 [paras[0], 2]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 38 [paras[1], 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 39 [paras[1], 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 40 [paras[1], 2]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 41 [detachedPara1, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 42 [detachedPara1, 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 43 [testDiv, 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 44 [testDiv, 3]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 45 [document, -1]
@@ -654,35 +615,35 @@ PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 50 [comment, -1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 51 [comment, 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 54 [foreignDoc, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 55 [foreignDoc, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 36]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 63 [xmlComment, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 64 [xmlComment, 4]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 65 [processingInstruction, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 66 [processingInstruction, 5]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 67 [processingInstruction, 9]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 68 [detachedTextNode, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 69 [detachedTextNode, 8]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTextNode, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTextNode, 8]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNode, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNode, 8]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 74 [detachedProcessingInstruction, 12]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 75 [detachedComment, 3]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 76 [detachedComment, 5]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignComment, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignComment, 4]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment, 2]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 80 [docfrag, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0]
FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -706,19 +667,13 @@ PASS Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
PASS Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1].firstChild, 9]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1].firstChild, 10]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [document.documentElement, -1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 25 [document.documentElement, 0]
@@ -727,24 +682,18 @@ PASS Range 33 [document.documentElement, 1, document.body, 0], point 27 [documen
PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [document.documentElement, 7]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 29 [document.head, 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 30 [document.body, 3]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreignDoc.head, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 34 [foreignDoc.body, 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 35 [paras[0], 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 36 [paras[0], 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 37 [paras[0], 2]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 38 [paras[1], 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 39 [paras[1], 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 40 [paras[1], 2]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 41 [detachedPara1, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 42 [detachedPara1, 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 43 [testDiv, 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 44 [testDiv, 3]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 45 [document, -1]
@@ -756,62 +705,35 @@ PASS Range 33 [document.documentElement, 1, document.body, 0], point 50 [comment
PASS Range 33 [document.documentElement, 1, document.body, 0], point 51 [comment, 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 52 [comment, 4]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 53 [comment, 96]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 54 [foreignDoc, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 55 [foreignDoc, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 56 [foreignComment, 2]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreignTextNode, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreignTextNode, 36]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 59 [xmlDoc, -1]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 60 [xmlDoc, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 61 [xmlDoc, 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 62 [xmlDoc, 5]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id...
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 63 [xmlComment, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 64 [xmlComment, 4]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 65 [processingInstruction, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 66 [processingInstruction, 5]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 67 [processingInstruction, 9]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 68 [detachedTextNode, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 69 [detachedTextNode, 8]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 75 [detachedComment, 3]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 76 [detachedComment, 5]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 77 [detachedForeignComment, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 78 [detachedForeignComment, 4]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 79 [detachedXmlComment, 2]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 80 [docfrag, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 81 [foreignDocfrag, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 82 [xmlDocfrag, 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype, 0]
FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -835,13 +757,13 @@ PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [paras[1].firstChild, 9]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [paras[1].firstChild, 10]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [document.documentElement, -1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [document.documentElement, 0]
@@ -850,18 +772,18 @@ PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [document.documentElement, 7]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 29 [document.head, 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 30 [document.body, 3]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [foreignDoc.head, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [foreignDoc.body, 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 35 [paras[0], 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 36 [paras[0], 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 37 [paras[0], 2]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 38 [paras[1], 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 39 [paras[1], 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 40 [paras[1], 2]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 41 [detachedPara1, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 42 [detachedPara1, 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 43 [testDiv, 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 44 [testDiv, 3]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 45 [document, -1]
@@ -873,35 +795,35 @@ PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 50 [com
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 51 [comment, 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [comment, 4]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [comment, 96]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [foreignDoc, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [foreignDoc, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [foreignComment, 2]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [foreignTextNode, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [foreignTextNode, 36]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xmlDoc, -1]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xmlDoc, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xmlDoc, 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xmlDoc, 5]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xmlComment, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xmlComment, 4]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [processingInstruction, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [processingInstruction, 5]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [processingInstruction, 9]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 68 [detachedTextNode, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 69 [detachedTextNode, 8]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 75 [detachedComment, 3]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 76 [detachedComment, 5]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [detachedForeignComment, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [detachedForeignComment, 4]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [detachedXmlComment, 2]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 80 [docfrag, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [foreignDocfrag, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doctype, 0]
FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -925,13 +847,13 @@ PASS Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8]
PASS Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9]
PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10]
PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
+PASS Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
+PASS Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
PASS Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
+PASS Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
+PASS Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
PASS Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1]
PASS Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
@@ -940,18 +862,18 @@ PASS Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
PASS Range 35 [document, 0, document, 1], point 29 [document.head, 1]
PASS Range 35 [document, 0, document, 1], point 30 [document.body, 3]
-FAIL Range 35 [document, 0, document, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 31 [foreignDoc.documentElement, 0]
+PASS Range 35 [document, 0, document, 1], point 32 [foreignDoc.documentElement, 1]
+PASS Range 35 [document, 0, document, 1], point 33 [foreignDoc.head, 0]
+PASS Range 35 [document, 0, document, 1], point 34 [foreignDoc.body, 1]
PASS Range 35 [document, 0, document, 1], point 35 [paras[0], 0]
PASS Range 35 [document, 0, document, 1], point 36 [paras[0], 1]
PASS Range 35 [document, 0, document, 1], point 37 [paras[0], 2]
PASS Range 35 [document, 0, document, 1], point 38 [paras[1], 0]
PASS Range 35 [document, 0, document, 1], point 39 [paras[1], 1]
PASS Range 35 [document, 0, document, 1], point 40 [paras[1], 2]
-FAIL Range 35 [document, 0, document, 1], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 41 [detachedPara1, 0]
+PASS Range 35 [document, 0, document, 1], point 42 [detachedPara1, 1]
PASS Range 35 [document, 0, document, 1], point 43 [testDiv, 0]
PASS Range 35 [document, 0, document, 1], point 44 [testDiv, 3]
PASS Range 35 [document, 0, document, 1], point 45 [document, -1]
@@ -963,35 +885,35 @@ PASS Range 35 [document, 0, document, 1], point 50 [comment, -1]
PASS Range 35 [document, 0, document, 1], point 51 [comment, 0]
PASS Range 35 [document, 0, document, 1], point 52 [comment, 4]
PASS Range 35 [document, 0, document, 1], point 53 [comment, 96]
-FAIL Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0]
+PASS Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1]
+PASS Range 35 [document, 0, document, 1], point 56 [foreignComment, 2]
+PASS Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0]
+PASS Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36]
PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1]
-FAIL Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0]
+PASS Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1]
PASS Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5]
-FAIL Range 35 [document, 0, document, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
+PASS Range 35 [document, 0, document, 1], point 63 [xmlComment, 0]
+PASS Range 35 [document, 0, document, 1], point 64 [xmlComment, 4]
+PASS Range 35 [document, 0, document, 1], point 65 [processingInstruction, 0]
+PASS Range 35 [document, 0, document, 1], point 66 [processingInstruction, 5]
+PASS Range 35 [document, 0, document, 1], point 67 [processingInstruction, 9]
+PASS Range 35 [document, 0, document, 1], point 68 [detachedTextNode, 0]
+PASS Range 35 [document, 0, document, 1], point 69 [detachedTextNode, 8]
+PASS Range 35 [document, 0, document, 1], point 70 [detachedForeignTextNode, 0]
+PASS Range 35 [document, 0, document, 1], point 71 [detachedForeignTextNode, 8]
+PASS Range 35 [document, 0, document, 1], point 72 [detachedXmlTextNode, 0]
+PASS Range 35 [document, 0, document, 1], point 73 [detachedXmlTextNode, 8]
+PASS Range 35 [document, 0, document, 1], point 74 [detachedProcessingInstruction, 12]
+PASS Range 35 [document, 0, document, 1], point 75 [detachedComment, 3]
+PASS Range 35 [document, 0, document, 1], point 76 [detachedComment, 5]
+PASS Range 35 [document, 0, document, 1], point 77 [detachedForeignComment, 0]
+PASS Range 35 [document, 0, document, 1], point 78 [detachedForeignComment, 4]
+PASS Range 35 [document, 0, document, 1], point 79 [detachedXmlComment, 2]
+PASS Range 35 [document, 0, document, 1], point 80 [docfrag, 0]
+PASS Range 35 [document, 0, document, 1], point 81 [foreignDocfrag, 0]
+PASS Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0]
PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0]
FAIL Range 35 [document, 0, document, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1015,13 +937,13 @@ PASS Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8]
PASS Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9]
PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10]
PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
+PASS Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
+PASS Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
PASS Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
+PASS Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
+PASS Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
PASS Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1]
PASS Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
@@ -1030,18 +952,18 @@ PASS Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
PASS Range 36 [document, 0, document, 2], point 29 [document.head, 1]
PASS Range 36 [document, 0, document, 2], point 30 [document.body, 3]
-FAIL Range 36 [document, 0, document, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 31 [foreignDoc.documentElement, 0]
+PASS Range 36 [document, 0, document, 2], point 32 [foreignDoc.documentElement, 1]
+PASS Range 36 [document, 0, document, 2], point 33 [foreignDoc.head, 0]
+PASS Range 36 [document, 0, document, 2], point 34 [foreignDoc.body, 1]
PASS Range 36 [document, 0, document, 2], point 35 [paras[0], 0]
PASS Range 36 [document, 0, document, 2], point 36 [paras[0], 1]
PASS Range 36 [document, 0, document, 2], point 37 [paras[0], 2]
PASS Range 36 [document, 0, document, 2], point 38 [paras[1], 0]
PASS Range 36 [document, 0, document, 2], point 39 [paras[1], 1]
PASS Range 36 [document, 0, document, 2], point 40 [paras[1], 2]
-FAIL Range 36 [document, 0, document, 2], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 41 [detachedPara1, 0]
+PASS Range 36 [document, 0, document, 2], point 42 [detachedPara1, 1]
PASS Range 36 [document, 0, document, 2], point 43 [testDiv, 0]
PASS Range 36 [document, 0, document, 2], point 44 [testDiv, 3]
PASS Range 36 [document, 0, document, 2], point 45 [document, -1]
@@ -1053,35 +975,35 @@ PASS Range 36 [document, 0, document, 2], point 50 [comment, -1]
PASS Range 36 [document, 0, document, 2], point 51 [comment, 0]
PASS Range 36 [document, 0, document, 2], point 52 [comment, 4]
PASS Range 36 [document, 0, document, 2], point 53 [comment, 96]
-FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0]
+PASS Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1]
+PASS Range 36 [document, 0, document, 2], point 56 [foreignComment, 2]
+PASS Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0]
+PASS Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36]
PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1]
-FAIL Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0]
+PASS Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1]
PASS Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5]
-FAIL Range 36 [document, 0, document, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
+PASS Range 36 [document, 0, document, 2], point 63 [xmlComment, 0]
+PASS Range 36 [document, 0, document, 2], point 64 [xmlComment, 4]
+PASS Range 36 [document, 0, document, 2], point 65 [processingInstruction, 0]
+PASS Range 36 [document, 0, document, 2], point 66 [processingInstruction, 5]
+PASS Range 36 [document, 0, document, 2], point 67 [processingInstruction, 9]
+PASS Range 36 [document, 0, document, 2], point 68 [detachedTextNode, 0]
+PASS Range 36 [document, 0, document, 2], point 69 [detachedTextNode, 8]
+PASS Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0]
+PASS Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8]
+PASS Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0]
+PASS Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8]
+PASS Range 36 [document, 0, document, 2], point 74 [detachedProcessingInstruction, 12]
+PASS Range 36 [document, 0, document, 2], point 75 [detachedComment, 3]
+PASS Range 36 [document, 0, document, 2], point 76 [detachedComment, 5]
+PASS Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0]
+PASS Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4]
+PASS Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2]
+PASS Range 36 [document, 0, document, 2], point 80 [docfrag, 0]
+PASS Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0]
+PASS Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0]
PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0]
FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1105,13 +1027,13 @@ PASS Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8]
PASS Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9]
PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10]
PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
+PASS Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
+PASS Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
PASS Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
+PASS Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
+PASS Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
PASS Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1]
PASS Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
@@ -1120,18 +1042,18 @@ PASS Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
PASS Range 37 [document, 1, document, 2], point 29 [document.head, 1]
PASS Range 37 [document, 1, document, 2], point 30 [document.body, 3]
-FAIL Range 37 [document, 1, document, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 31 [foreignDoc.documentElement, 0]
+PASS Range 37 [document, 1, document, 2], point 32 [foreignDoc.documentElement, 1]
+PASS Range 37 [document, 1, document, 2], point 33 [foreignDoc.head, 0]
+PASS Range 37 [document, 1, document, 2], point 34 [foreignDoc.body, 1]
PASS Range 37 [document, 1, document, 2], point 35 [paras[0], 0]
PASS Range 37 [document, 1, document, 2], point 36 [paras[0], 1]
PASS Range 37 [document, 1, document, 2], point 37 [paras[0], 2]
PASS Range 37 [document, 1, document, 2], point 38 [paras[1], 0]
PASS Range 37 [document, 1, document, 2], point 39 [paras[1], 1]
PASS Range 37 [document, 1, document, 2], point 40 [paras[1], 2]
-FAIL Range 37 [document, 1, document, 2], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 41 [detachedPara1, 0]
+PASS Range 37 [document, 1, document, 2], point 42 [detachedPara1, 1]
PASS Range 37 [document, 1, document, 2], point 43 [testDiv, 0]
PASS Range 37 [document, 1, document, 2], point 44 [testDiv, 3]
PASS Range 37 [document, 1, document, 2], point 45 [document, -1]
@@ -1143,35 +1065,35 @@ PASS Range 37 [document, 1, document, 2], point 50 [comment, -1]
PASS Range 37 [document, 1, document, 2], point 51 [comment, 0]
PASS Range 37 [document, 1, document, 2], point 52 [comment, 4]
PASS Range 37 [document, 1, document, 2], point 53 [comment, 96]
-FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0]
+PASS Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1]
+PASS Range 37 [document, 1, document, 2], point 56 [foreignComment, 2]
+PASS Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0]
+PASS Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36]
PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1]
-FAIL Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0]
+PASS Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1]
PASS Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5]
-FAIL Range 37 [document, 1, document, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
-FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Document node with 2 children
+PASS Range 37 [document, 1, document, 2], point 63 [xmlComment, 0]
+PASS Range 37 [document, 1, document, 2], point 64 [xmlComment, 4]
+PASS Range 37 [document, 1, document, 2], point 65 [processingInstruction, 0]
+PASS Range 37 [document, 1, document, 2], point 66 [processingInstruction, 5]
+PASS Range 37 [document, 1, document, 2], point 67 [processingInstruction, 9]
+PASS Range 37 [document, 1, document, 2], point 68 [detachedTextNode, 0]
+PASS Range 37 [document, 1, document, 2], point 69 [detachedTextNode, 8]
+PASS Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0]
+PASS Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8]
+PASS Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0]
+PASS Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8]
+PASS Range 37 [document, 1, document, 2], point 74 [detachedProcessingInstruction, 12]
+PASS Range 37 [document, 1, document, 2], point 75 [detachedComment, 3]
+PASS Range 37 [document, 1, document, 2], point 76 [detachedComment, 5]
+PASS Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0]
+PASS Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4]
+PASS Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2]
+PASS Range 37 [document, 1, document, 2], point 80 [docfrag, 0]
+PASS Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0]
+PASS Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0]
PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0]
FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1195,13 +1117,13 @@ PASS Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8]
PASS Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9]
PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10]
PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535]
-FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8]
PASS Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8]
PASS Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9]
PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1]
PASS Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0]
@@ -1210,18 +1132,18 @@ PASS Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2]
PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7]
PASS Range 38 [testDiv, 0, comment, 5], point 29 [document.head, 1]
PASS Range 38 [testDiv, 0, comment, 5], point 30 [document.body, 3]
-FAIL Range 38 [testDiv, 0, comment, 5], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 31 [foreignDoc.documentElement, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 32 [foreignDoc.documentElement, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1]
PASS Range 38 [testDiv, 0, comment, 5], point 35 [paras[0], 0]
PASS Range 38 [testDiv, 0, comment, 5], point 36 [paras[0], 1]
PASS Range 38 [testDiv, 0, comment, 5], point 37 [paras[0], 2]
PASS Range 38 [testDiv, 0, comment, 5], point 38 [paras[1], 0]
PASS Range 38 [testDiv, 0, comment, 5], point 39 [paras[1], 1]
PASS Range 38 [testDiv, 0, comment, 5], point 40 [paras[1], 2]
-FAIL Range 38 [testDiv, 0, comment, 5], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 41 [detachedPara1, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 42 [detachedPara1, 1]
PASS Range 38 [testDiv, 0, comment, 5], point 43 [testDiv, 0]
PASS Range 38 [testDiv, 0, comment, 5], point 44 [testDiv, 3]
PASS Range 38 [testDiv, 0, comment, 5], point 45 [document, -1]
@@ -1233,35 +1155,35 @@ PASS Range 38 [testDiv, 0, comment, 5], point 50 [comment, -1]
PASS Range 38 [testDiv, 0, comment, 5], point 51 [comment, 0]
PASS Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4]
PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96]
-FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2]
+PASS Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36]
PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1]
-FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1]
PASS Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5]
-FAIL Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
+PASS Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4]
+PASS Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5]
+PASS Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9]
+PASS Range 38 [testDiv, 0, comment, 5], point 68 [detachedTextNode, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 69 [detachedTextNode, 8]
+PASS Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8]
+PASS Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8]
+PASS Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction, 12]
+PASS Range 38 [testDiv, 0, comment, 5], point 75 [detachedComment, 3]
+PASS Range 38 [testDiv, 0, comment, 5], point 76 [detachedComment, 5]
+PASS Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4]
+PASS Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2]
+PASS Range 38 [testDiv, 0, comment, 5], point 80 [docfrag, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0]
PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0]
FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1285,13 +1207,13 @@ PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChild, 9]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChild, 10]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firstChild, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firstChild, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firstChild, 8]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.firstChild, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.firstChild, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.firstChild, 8]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentElement, -1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentElement, 0]
@@ -1300,18 +1222,18 @@ PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentE
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentElement, 7]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 29 [document.head, 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 30 [document.body, 3]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 31 [foreignDoc.documentElement, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 32 [foreignDoc.documentElement, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 33 [foreignDoc.head, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 34 [foreignDoc.body, 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 35 [paras[0], 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 36 [paras[0], 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 37 [paras[0], 2]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 38 [paras[1], 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 39 [paras[1], 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 40 [paras[1], 2]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 41 [detachedPara1, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 42 [detachedPara1, 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 43 [testDiv, 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 44 [testDiv, 3]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 45 [document, -1]
@@ -1323,35 +1245,35 @@ PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 50 [comment, -1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 51 [comment, 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 54 [foreignDoc, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 55 [foreignDoc, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 36]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 63 [xmlComment, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 64 [xmlComment, 4]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 65 [processingInstruction, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 66 [processingInstruction, 5]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 67 [processingInstruction, 9]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 68 [detachedTextNode, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 69 [detachedTextNode, 8]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTextNode, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTextNode, 8]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNode, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNode, 8]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 74 [detachedProcessingInstruction, 12]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 75 [detachedComment, 3]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 76 [detachedComment, 5]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignComment, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignComment, 4]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment, 2]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 80 [docfrag, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0]
FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1375,13 +1297,13 @@ PASS Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8]
PASS Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9]
PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10]
PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
PASS Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8]
PASS Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
PASS Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0]
@@ -1390,18 +1312,18 @@ PASS Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2]
PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7]
PASS Range 40 [paras[3], 1, comment, 8], point 29 [document.head, 1]
PASS Range 40 [paras[3], 1, comment, 8], point 30 [document.body, 3]
-FAIL Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1]
PASS Range 40 [paras[3], 1, comment, 8], point 35 [paras[0], 0]
PASS Range 40 [paras[3], 1, comment, 8], point 36 [paras[0], 1]
PASS Range 40 [paras[3], 1, comment, 8], point 37 [paras[0], 2]
PASS Range 40 [paras[3], 1, comment, 8], point 38 [paras[1], 0]
PASS Range 40 [paras[3], 1, comment, 8], point 39 [paras[1], 1]
PASS Range 40 [paras[3], 1, comment, 8], point 40 [paras[1], 2]
-FAIL Range 40 [paras[3], 1, comment, 8], point 41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 41 [detachedPara1, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 42 [detachedPara1, 1]
PASS Range 40 [paras[3], 1, comment, 8], point 43 [testDiv, 0]
PASS Range 40 [paras[3], 1, comment, 8], point 44 [testDiv, 3]
PASS Range 40 [paras[3], 1, comment, 8], point 45 [document, -1]
@@ -1413,35 +1335,35 @@ PASS Range 40 [paras[3], 1, comment, 8], point 50 [comment, -1]
PASS Range 40 [paras[3], 1, comment, 8], point 51 [comment, 0]
PASS Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4]
PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96]
-FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2]
+PASS Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36]
PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1]
-FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1]
PASS Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5]
-FAIL Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--אריה יהודה--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן חיים אליעזר--> but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Comment node <!--Alphabet soup?-->
+PASS Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4]
+PASS Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5]
+PASS Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9]
+PASS Range 40 [paras[3], 1, comment, 8], point 68 [detachedTextNode, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 69 [detachedTextNode, 8]
+PASS Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8]
+PASS Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8]
+PASS Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction, 12]
+PASS Range 40 [paras[3], 1, comment, 8], point 75 [detachedComment, 3]
+PASS Range 40 [paras[3], 1, comment, 8], point 76 [detachedComment, 5]
+PASS Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4]
+PASS Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2]
+PASS Range 40 [paras[3], 1, comment, 8], point 80 [docfrag, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0]
PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0]
FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1465,13 +1387,13 @@ PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement, -1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement, 0]
@@ -1480,18 +1402,18 @@ PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement, 7]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 29 [document.head, 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 30 [document.body, 3]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 35 [paras[0], 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 36 [paras[0], 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 37 [paras[0], 2]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 38 [paras[1], 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 39 [paras[1], 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 40 [paras[1], 2]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 41 [detachedPara1, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 42 [detachedPara1, 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 43 [testDiv, 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 44 [testDiv, 3]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 45 [document, -1]
@@ -1503,35 +1425,35 @@ PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 50 [comment, -1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 51 [comment, 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 68 [detachedTextNode, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 69 [detachedTextNode, 8]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 75 [detachedComment, 3]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 76 [detachedComment, 5]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment, 4]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 80 [docfrag, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0]
FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1555,13 +1477,13 @@ PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild, 9]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild, 10]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild, 65535]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstChild, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstChild, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstChild, 8]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstChild, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstChild, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstChild, 8]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentElement, -1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentElement, 0]
@@ -1570,18 +1492,18 @@ PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentElement, 7]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 29 [document.head, 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 30 [document.body, 3]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentElement, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentElement, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 35 [paras[0], 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 36 [paras[0], 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 37 [paras[0], 2]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 38 [paras[1], 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 39 [paras[1], 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 40 [paras[1], 2]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 41 [detachedPara1, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 42 [detachedPara1, 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 43 [testDiv, 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 44 [testDiv, 3]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 45 [document, -1]
@@ -1593,35 +1515,35 @@ PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 50 [comment, -1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 51 [comment, 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstruction, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstruction, 5]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstruction, 9]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 68 [detachedTextNode, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 69 [detachedTextNode, 8]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextNode, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextNode, 8]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode, 8]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingInstruction, 12]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 75 [detachedComment, 3]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 76 [detachedComment, 5]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComment, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComment, 4]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment, 2]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 80 [docfrag, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0]
FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1645,13 +1567,13 @@ PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firstChild, 9]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firstChild, 10]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firstChild, 65535]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1.firstChild, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1.firstChild, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1.firstChild, 8]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.firstChild, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.firstChild, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.firstChild, 8]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.firstChild, 9]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.documentElement, -1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.documentElement, 0]
@@ -1660,18 +1582,18 @@ PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.documentElement, 7]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 29 [document.head, 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 30 [document.body, 3]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.documentElement, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.documentElement, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.head, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.body, 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 35 [paras[0], 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 36 [paras[0], 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 37 [paras[0], 2]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 38 [paras[1], 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 39 [paras[1], 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 40 [paras[1], 2]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 41 [detachedPara1, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 42 [detachedPara1, 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 43 [testDiv, 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 44 [testDiv, 3]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 45 [document, -1]
@@ -1683,35 +1605,35 @@ PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 50 [comment, -1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 51 [comment, 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignComment, 2]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNode, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNode, 36]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingInstruction, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingInstruction, 5]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingInstruction, 9]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 68 [detachedTextNode, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 69 [detachedTextNode, 8]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForeignTextNode, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForeignTextNode, 8]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTextNode, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTextNode, 8]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProcessingInstruction, 12]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 75 [detachedComment, 3]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 76 [detachedComment, 5]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForeignComment, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForeignComment, 4]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlComment, 2]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 80 [docfrag, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfrag, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0]
FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1735,13 +1657,13 @@ PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0]
@@ -1750,18 +1672,18 @@ PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 29 [document.head, 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 30 [document.body, 3]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 35 [paras[0], 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 36 [paras[0], 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 37 [paras[0], 2]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 38 [paras[1], 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 39 [paras[1], 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 40 [paras[1], 2]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 41 [detachedPara1, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 42 [detachedPara1, 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 43 [testDiv, 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 44 [testDiv, 3]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 45 [document, -1]
@@ -1773,35 +1695,35 @@ PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 50 [comment, -1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 51 [comment, 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 68 [detachedTextNode, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 69 [detachedTextNode, 8]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 75 [detachedComment, 3]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 76 [detachedComment, 5]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 80 [docfrag, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0]
FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1825,13 +1747,13 @@ PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
@@ -1840,18 +1762,18 @@ PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 29 [document.head, 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 30 [document.body, 3]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 35 [paras[0], 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 36 [paras[0], 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 37 [paras[0], 2]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 38 [paras[1], 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 39 [paras[1], 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 40 [paras[1], 2]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 41 [detachedPara1, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 42 [detachedPara1, 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 43 [testDiv, 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 44 [testDiv, 3]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 45 [document, -1]
@@ -1863,35 +1785,35 @@ PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 50 [comment, -1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 51 [comment, 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 52 [comment, 4]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 68 [detachedTextNode, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 69 [detachedTextNode, 8]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 75 [detachedComment, 3]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 76 [detachedComment, 5]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 80 [docfrag, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0]
FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -1915,13 +1837,13 @@ PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].firstChild, 9]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].firstChild, 10]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara1.firstChild, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara1.firstChild, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara1.firstChild, 8]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1.firstChild, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1.firstChild, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1.firstChild, 8]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.documentElement, -1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.documentElement, 0]
@@ -1930,18 +1852,18 @@ PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.documentElement, 7]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 29 [document.head, 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 30 [document.body, 3]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.documentElement, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.documentElement, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.head, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.body, 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 35 [paras[0], 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 36 [paras[0], 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 37 [paras[0], 2]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 38 [paras[1], 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 39 [paras[1], 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 40 [paras[1], 2]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 41 [detachedPara1, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 42 [detachedPara1, 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 43 [testDiv, 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 44 [testDiv, 3]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 45 [document, -1]
@@ -1953,35 +1875,35 @@ PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 50 [comment, -1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 51 [comment, 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComment, 2]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextNode, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextNode, 36]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment, 4]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingInstruction, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingInstruction, 5]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingInstruction, 9]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 68 [detachedTextNode, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 69 [detachedTextNode, 8]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedForeignTextNode, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedForeignTextNode, 8]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlTextNode, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlTextNode, 8]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProcessingInstruction, 12]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 75 [detachedComment, 3]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 76 [detachedComment, 5]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedForeignComment, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedForeignComment, 4]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlComment, 2]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 80 [docfrag, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfrag, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag, 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0]
FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2005,13 +1927,13 @@ PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13 [paras[1].firstChild, 9]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14 [paras[1].firstChild, 10]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15 [paras[1].firstChild, 65535]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16 [detachedPara1.firstChild, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17 [detachedPara1.firstChild, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18 [detachedPara1.firstChild, 8]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20 [foreignPara1.firstChild, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21 [foreignPara1.firstChild, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22 [foreignPara1.firstChild, 8]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23 [foreignPara1.firstChild, 9]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24 [document.documentElement, -1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25 [document.documentElement, 0]
@@ -2020,18 +1942,18 @@ PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28 [document.documentElement, 7]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 29 [document.head, 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 30 [document.body, 3]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31 [foreignDoc.documentElement, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32 [foreignDoc.documentElement, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33 [foreignDoc.head, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34 [foreignDoc.body, 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 35 [paras[0], 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 36 [paras[0], 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 37 [paras[0], 2]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 38 [paras[1], 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 39 [paras[1], 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 40 [paras[1], 2]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 41 [detachedPara1, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 42 [detachedPara1, 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 43 [testDiv, 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 44 [testDiv, 3]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 45 [document, -1]
@@ -2043,35 +1965,35 @@ PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 50
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 51 [comment, 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52 [comment, 4]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53 [comment, 96]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54 [foreignDoc, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55 [foreignDoc, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56 [foreignComment, 2]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57 [foreignTextNode, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58 [foreignTextNode, 36]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59 [xmlDoc, -1]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60 [xmlDoc, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61 [xmlDoc, 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62 [xmlDoc, 5]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63 [xmlComment, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64 [xmlComment, 4]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65 [processingInstruction, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66 [processingInstruction, 5]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67 [processingInstruction, 9]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 68 [detachedTextNode, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 69 [detachedTextNode, 8]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70 [detachedForeignTextNode, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71 [detachedForeignTextNode, 8]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72 [detachedXmlTextNode, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73 [detachedXmlTextNode, 8]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74 [detachedProcessingInstruction, 12]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 75 [detachedComment, 3]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 76 [detachedComment, 5]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77 [detachedForeignComment, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78 [detachedForeignComment, 4]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79 [detachedXmlComment, 2]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 80 [docfrag, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81 [foreignDocfrag, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82 [xmlDocfrag, 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83 [doctype, 0]
FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2095,13 +2017,13 @@ PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13 [paras[1].firstChild, 9]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14 [paras[1].firstChild, 10]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16 [detachedPara1.firstChild, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17 [detachedPara1.firstChild, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18 [detachedPara1.firstChild, 8]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20 [foreignPara1.firstChild, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21 [foreignPara1.firstChild, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22 [foreignPara1.firstChild, 8]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24 [document.documentElement, -1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25 [document.documentElement, 0]
@@ -2110,18 +2032,18 @@ PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28 [document.documentElement, 7]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 29 [document.head, 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 30 [document.body, 3]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31 [foreignDoc.documentElement, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32 [foreignDoc.documentElement, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33 [foreignDoc.head, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34 [foreignDoc.body, 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 35 [paras[0], 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 36 [paras[0], 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 37 [paras[0], 2]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 38 [paras[1], 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 39 [paras[1], 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 40 [paras[1], 2]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 41 [detachedPara1, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 42 [detachedPara1, 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 43 [testDiv, 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 44 [testDiv, 3]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 45 [document, -1]
@@ -2133,35 +2055,35 @@ PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 50
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 51 [comment, 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52 [comment, 4]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53 [comment, 96]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54 [foreignDoc, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55 [foreignDoc, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56 [foreignComment, 2]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57 [foreignTextNode, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58 [foreignTextNode, 36]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59 [xmlDoc, -1]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60 [xmlDoc, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61 [xmlDoc, 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62 [xmlDoc, 5]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63 [xmlComment, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64 [xmlComment, 4]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65 [processingInstruction, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66 [processingInstruction, 5]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67 [processingInstruction, 9]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 68 [detachedTextNode, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 69 [detachedTextNode, 8]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70 [detachedForeignTextNode, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71 [detachedForeignTextNode, 8]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72 [detachedXmlTextNode, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73 [detachedXmlTextNode, 8]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74 [detachedProcessingInstruction, 12]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 75 [detachedComment, 3]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 76 [detachedComment, 5]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77 [detachedForeignComment, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78 [detachedForeignComment, 4]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79 [detachedXmlComment, 2]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 80 [docfrag, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81 [foreignDocfrag, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82 [xmlDocfrag, 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83 [doctype, 0]
FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2185,13 +2107,13 @@ PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[1].firstChild, 9]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[1].firstChild, 10]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[1].firstChild, 65535]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detachedPara1.firstChild, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detachedPara1.firstChild, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detachedPara1.firstChild, 8]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreignPara1.firstChild, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreignPara1.firstChild, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreignPara1.firstChild, 8]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreignPara1.firstChild, 9]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [document.documentElement, -1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [document.documentElement, 0]
@@ -2200,18 +2122,18 @@ PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [docume
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [document.documentElement, 7]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 29 [document.head, 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 30 [document.body, 3]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreignDoc.documentElement, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreignDoc.documentElement, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreignDoc.head, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreignDoc.body, 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 35 [paras[0], 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 36 [paras[0], 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 37 [paras[0], 2]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 38 [paras[1], 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 39 [paras[1], 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 40 [paras[1], 2]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 41 [detachedPara1, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 42 [detachedPara1, 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 43 [testDiv, 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 44 [testDiv, 3]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 45 [document, -1]
@@ -2223,35 +2145,35 @@ PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 50 [commen
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 51 [comment, 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [comment, 4]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [comment, 96]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreignDoc, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreignDoc, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreignComment, 2]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreignTextNode, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreignTextNode, 36]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc, -1]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc, 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc, 5]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlComment, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlComment, 4]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [processingInstruction, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [processingInstruction, 5]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [processingInstruction, 9]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 68 [detachedTextNode, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 69 [detachedTextNode, 8]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detachedForeignTextNode, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detachedForeignTextNode, 8]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detachedXmlTextNode, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detachedXmlTextNode, 8]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detachedProcessingInstruction, 12]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 75 [detachedComment, 3]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 76 [detachedComment, 5]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detachedForeignComment, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detachedForeignComment, 4]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detachedXmlComment, 2]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 80 [docfrag, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreignDocfrag, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDocfrag, 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctype, 0]
FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2275,13 +2197,13 @@ PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[1].firstChild, 9]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[1].firstChild, 10]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[1].firstChild, 65535]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detachedPara1.firstChild, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detachedPara1.firstChild, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detachedPara1.firstChild, 8]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreignPara1.firstChild, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreignPara1.firstChild, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreignPara1.firstChild, 8]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [document.documentElement, -1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [document.documentElement, 0]
@@ -2290,18 +2212,18 @@ PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [docume
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [document.documentElement, 7]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 29 [document.head, 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 30 [document.body, 3]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreignDoc.documentElement, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreignDoc.documentElement, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreignDoc.head, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreignDoc.body, 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 35 [paras[0], 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 36 [paras[0], 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 37 [paras[0], 2]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 38 [paras[1], 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 39 [paras[1], 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 40 [paras[1], 2]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 41 [detachedPara1, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 42 [detachedPara1, 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 43 [testDiv, 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 44 [testDiv, 3]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 45 [document, -1]
@@ -2313,35 +2235,35 @@ PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 50 [commen
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 51 [comment, 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [comment, 4]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [comment, 96]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreignDoc, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreignDoc, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreignComment, 2]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreignTextNode, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreignTextNode, 36]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc, -1]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc, 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc, 5]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlComment, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlComment, 4]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [processingInstruction, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [processingInstruction, 5]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [processingInstruction, 9]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 68 [detachedTextNode, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 69 [detachedTextNode, 8]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detachedForeignTextNode, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detachedForeignTextNode, 8]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detachedXmlTextNode, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detachedXmlTextNode, 8]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detachedProcessingInstruction, 12]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 75 [detachedComment, 3]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 76 [detachedComment, 5]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detachedForeignComment, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detachedForeignComment, 4]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detachedXmlComment, 2]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 80 [docfrag, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreignDocfrag, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDocfrag, 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctype, 0]
FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2365,13 +2287,13 @@ PASS Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].firstChild, 9]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].firstChild, 10]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].firstChild, 65535]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.firstChild, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.firstChild, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.firstChild, 8]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.firstChild, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.firstChild, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.firstChild, 8]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.firstChild, 9]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.documentElement, -1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.documentElement, 0]
@@ -2380,18 +2302,18 @@ PASS Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.docum
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.documentElement, 7]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 29 [document.head, 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 30 [document.body, 3]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.documentElement, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.documentElement, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.head, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.body, 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 35 [paras[0], 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 36 [paras[0], 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 37 [paras[0], 2]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 38 [paras[1], 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 39 [paras[1], 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 40 [paras[1], 2]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 41 [detachedPara1, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 42 [detachedPara1, 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 43 [testDiv, 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 44 [testDiv, 3]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 45 [document, -1]
@@ -2403,35 +2325,35 @@ PASS Range 51 [detachedComment, 3, detachedComment, 4], point 50 [comment, -1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 51 [comment, 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment, 2]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNode, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNode, 36]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInstruction, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInstruction, 5]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInstruction, 9]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 68 [detachedTextNode, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 69 [detachedTextNode, 8]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeignTextNode, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeignTextNode, 8]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTextNode, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTextNode, 8]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProcessingInstruction, 12]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 75 [detachedComment, 3]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 76 [detachedComment, 5]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeignComment, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeignComment, 4]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlComment, 2]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 80 [docfrag, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0]
FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2455,13 +2377,13 @@ PASS Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].firstChild, 9]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].firstChild, 10]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].firstChild, 65535]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.firstChild, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.firstChild, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.firstChild, 8]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.firstChild, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.firstChild, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.firstChild, 8]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.firstChild, 9]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.documentElement, -1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.documentElement, 0]
@@ -2470,18 +2392,18 @@ PASS Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.docum
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.documentElement, 7]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 29 [document.head, 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 30 [document.body, 3]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.documentElement, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.documentElement, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.head, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.body, 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 35 [paras[0], 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 36 [paras[0], 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 37 [paras[0], 2]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 38 [paras[1], 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 39 [paras[1], 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 40 [paras[1], 2]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 41 [detachedPara1, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 42 [detachedPara1, 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 43 [testDiv, 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 44 [testDiv, 3]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 45 [document, -1]
@@ -2493,35 +2415,35 @@ PASS Range 52 [detachedComment, 5, detachedComment, 5], point 50 [comment, -1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 51 [comment, 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment, 2]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNode, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNode, 36]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInstruction, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInstruction, 5]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInstruction, 9]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 68 [detachedTextNode, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 69 [detachedTextNode, 8]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeignTextNode, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeignTextNode, 8]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTextNode, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTextNode, 8]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProcessingInstruction, 12]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 75 [detachedComment, 3]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 76 [detachedComment, 5]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeignComment, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeignComment, 4]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlComment, 2]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 80 [docfrag, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0]
FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2545,13 +2467,13 @@ PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [paras[1].firstChild, 9]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [paras[1].firstChild, 10]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [paras[1].firstChild, 65535]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [detachedPara1.firstChild, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [detachedPara1.firstChild, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [detachedPara1.firstChild, 8]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [foreignPara1.firstChild, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [foreignPara1.firstChild, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [foreignPara1.firstChild, 8]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [document.documentElement, -1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [document.documentElement, 0]
@@ -2560,18 +2482,18 @@ PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [document.documentElement, 7]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 29 [document.head, 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 30 [document.body, 3]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [foreignDoc.documentElement, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [foreignDoc.documentElement, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [foreignDoc.head, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [foreignDoc.body, 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 35 [paras[0], 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 36 [paras[0], 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 37 [paras[0], 2]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 38 [paras[1], 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 39 [paras[1], 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 40 [paras[1], 2]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 41 [detachedPara1, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 42 [detachedPara1, 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 43 [testDiv, 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 44 [testDiv, 3]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 45 [document, -1]
@@ -2583,35 +2505,35 @@ PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 50 [
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 51 [comment, 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [comment, 4]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [comment, 96]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [foreignDoc, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [foreignDoc, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [foreignComment, 2]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [foreignTextNode, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [foreignTextNode, 36]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [xmlDoc, -1]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [xmlDoc, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [xmlDoc, 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [xmlDoc, 5]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [xmlComment, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [xmlComment, 4]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [processingInstruction, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [processingInstruction, 5]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [processingInstruction, 9]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 68 [detachedTextNode, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 69 [detachedTextNode, 8]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [detachedForeignTextNode, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [detachedForeignTextNode, 8]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [detachedXmlTextNode, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [detachedXmlTextNode, 8]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [detachedProcessingInstruction, 12]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 75 [detachedComment, 3]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 76 [detachedComment, 5]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [detachedForeignComment, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [detachedForeignComment, 4]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [detachedXmlComment, 2]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 80 [docfrag, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [foreignDocfrag, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [xmlDocfrag, 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [doctype, 0]
FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2635,13 +2557,13 @@ PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [paras[1].firstChild, 9]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [paras[1].firstChild, 10]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [paras[1].firstChild, 65535]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [detachedPara1.firstChild, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [detachedPara1.firstChild, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [detachedPara1.firstChild, 8]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [foreignPara1.firstChild, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [foreignPara1.firstChild, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [foreignPara1.firstChild, 8]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [foreignPara1.firstChild, 9]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [document.documentElement, -1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [document.documentElement, 0]
@@ -2650,18 +2572,18 @@ PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [document.documentElement, 7]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 29 [document.head, 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 30 [document.body, 3]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [foreignDoc.documentElement, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [foreignDoc.documentElement, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [foreignDoc.head, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [foreignDoc.body, 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 35 [paras[0], 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 36 [paras[0], 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 37 [paras[0], 2]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 38 [paras[1], 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 39 [paras[1], 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 40 [paras[1], 2]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 41 [detachedPara1, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 42 [detachedPara1, 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 43 [testDiv, 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 44 [testDiv, 3]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 45 [document, -1]
@@ -2673,35 +2595,35 @@ PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 50 [
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 51 [comment, 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [comment, 4]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [comment, 96]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [foreignDoc, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [foreignDoc, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [foreignComment, 2]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [foreignTextNode, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [foreignTextNode, 36]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [xmlDoc, -1]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [xmlDoc, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [xmlDoc, 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [xmlDoc, 5]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [xmlComment, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [xmlComment, 4]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [processingInstruction, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [processingInstruction, 5]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [processingInstruction, 9]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 68 [detachedTextNode, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 69 [detachedTextNode, 8]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [detachedForeignTextNode, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [detachedForeignTextNode, 8]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [detachedXmlTextNode, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [detachedXmlTextNode, 8]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [detachedProcessingInstruction, 12]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 75 [detachedComment, 3]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 76 [detachedComment, 5]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [detachedForeignComment, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [detachedForeignComment, 4]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [detachedXmlComment, 2]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 80 [docfrag, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [foreignDocfrag, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [xmlDocfrag, 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [doctype, 0]
FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2725,13 +2647,13 @@ PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1].firstChild, 9]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1].firstChild, 10]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1].firstChild, 65535]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detachedPara1.firstChild, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detachedPara1.firstChild, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detachedPara1.firstChild, 8]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignPara1.firstChild, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignPara1.firstChild, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignPara1.firstChild, 8]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignPara1.firstChild, 9]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document.documentElement, -1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document.documentElement, 0]
@@ -2740,18 +2662,18 @@ PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document.documentElement, 7]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 29 [document.head, 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 30 [document.body, 3]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignDoc.documentElement, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignDoc.documentElement, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignDoc.head, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignDoc.body, 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 35 [paras[0], 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 36 [paras[0], 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 37 [paras[0], 2]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 38 [paras[1], 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 39 [paras[1], 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 40 [paras[1], 2]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 41 [detachedPara1, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 42 [detachedPara1, 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 43 [testDiv, 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 44 [testDiv, 3]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 45 [document, -1]
@@ -2763,35 +2685,35 @@ PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 50 [comment,
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 51 [comment, 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment, 4]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment, 96]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignDoc, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignDoc, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignComment, 2]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignTextNode, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignTextNode, 36]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc, -1]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc, 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc, 5]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComment, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComment, 4]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processingInstruction, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processingInstruction, 5]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processingInstruction, 9]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 68 [detachedTextNode, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 69 [detachedTextNode, 8]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detachedForeignTextNode, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detachedForeignTextNode, 8]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detachedXmlTextNode, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detachedXmlTextNode, 8]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detachedProcessingInstruction, 12]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 75 [detachedComment, 3]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 76 [detachedComment, 5]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detachedForeignComment, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detachedForeignComment, 4]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detachedXmlComment, 2]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 80 [docfrag, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignDocfrag, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfrag, 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype, 0]
FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2815,13 +2737,13 @@ PASS Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8]
PASS Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9]
PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10]
PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0]
@@ -2830,18 +2752,18 @@ PASS Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2]
PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7]
PASS Range 56 [docfrag, 0, docfrag, 0], point 29 [document.head, 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 30 [document.body, 3]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 35 [paras[0], 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 36 [paras[0], 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 37 [paras[0], 2]
PASS Range 56 [docfrag, 0, docfrag, 0], point 38 [paras[1], 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 39 [paras[1], 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 40 [paras[1], 2]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 41 [detachedPara1, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 42 [detachedPara1, 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 43 [testDiv, 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 44 [testDiv, 3]
PASS Range 56 [docfrag, 0, docfrag, 0], point 45 [document, -1]
@@ -2853,35 +2775,35 @@ PASS Range 56 [docfrag, 0, docfrag, 0], point 50 [comment, -1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 51 [comment, 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4]
PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36]
PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 68 [detachedTextNode, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 69 [detachedTextNode, 8]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 75 [detachedComment, 3]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 76 [detachedComment, 5]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 80 [docfrag, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0]
FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2905,13 +2827,13 @@ PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstChild, 9]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstChild, 10]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documentElement, -1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documentElement, 0]
@@ -2920,18 +2842,18 @@ PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documentElement, 7]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 29 [document.head, 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 30 [document.body, 3]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body, 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 35 [paras[0], 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 36 [paras[0], 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 37 [paras[0], 2]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 38 [paras[1], 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 39 [paras[1], 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 40 [paras[1], 2]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 41 [detachedPara1, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 42 [detachedPara1, 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 43 [testDiv, 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 44 [testDiv, 3]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 45 [document, -1]
@@ -2943,35 +2865,35 @@ PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 50 [comment, -1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 51 [comment, 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment, 2]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode, 36]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstruction, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstruction, 5]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstruction, 9]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 68 [detachedTextNode, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 69 [detachedTextNode, 8]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 75 [detachedComment, 3]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 76 [detachedComment, 5]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignComment, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignComment, 4]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComment, 2]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 80 [docfrag, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0]
FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);
@@ -2995,13 +2917,13 @@ PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 65535]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild, 8]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild, 9]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild, 8]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement, -1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement, 0]
@@ -3010,18 +2932,18 @@ PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement, 7]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 29 [document.head, 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 30 [document.body, 3]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentElement, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentElement, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 35 [paras[0], 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 36 [paras[0], 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 37 [paras[0], 2]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 38 [paras[1], 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 39 [paras[1], 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 40 [paras[1], 2]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 41 [detachedPara1, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 42 [detachedPara1, 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 43 [testDiv, 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 44 [testDiv, 3]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 45 [document, -1]
@@ -3033,35 +2955,35 @@ PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 50 [comment, -1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 51 [comment, 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 68 [detachedTextNode, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 69 [detachedTextNode, 8]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode, 8]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstruction, 12]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 75 [detachedComment, 3]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 76 [detachedComment, 5]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment, 4]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 80 [docfrag, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0]
FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
selection.collapse(point[0], point[1]);

Powered by Google App Engine
This is Rietveld 408576698