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

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

Issue 2697313005: Selection API: collapse() should recreate an internal Range. (Closed)
Patch Set: Add NeedsRebaseline for platform-dependent tests 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 86ef196942698d1a8d12fa7ad702d820b5a5d148..0f4e4b97c36b17503b992536de1b007b2c42fd03 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; 754 PASS, 1827 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 2581 tests; 1421 PASS, 1160 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]
@@ -383,23 +383,18 @@ PASS Set up range 57 [foreignDocfrag, 0, foreignDocfrag, 0]
PASS Set up range 58 [xmlDocfrag, 0, xmlDocfrag, 0]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 0 [paras[0].firstChild, -1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 1 [paras[0].firstChild, 0]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 2 [paras[0].firstChild, 1]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 3 [paras[0].firstChild, 2]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 4 [paras[0].firstChild, 8]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 5 [paras[0].firstChild, 9]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 6 [paras[0].firstChild, 10]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 7 [paras[0].firstChild, 65535]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 8 [paras[1].firstChild, -1]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 9 [paras[1].firstChild, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 10 [paras[1].firstChild, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 11 [paras[1].firstChild, 2]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChild, 8]
+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̈ḧ
@@ -417,20 +412,12 @@ FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
"
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]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.documentElement, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.documentElement, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.documentElement, 2]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.documentElement, 7]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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̈ḧ
@@ -439,37 +426,26 @@ FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head,
"
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̈ḧ
"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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̈ḧ
"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 46 [document, 0]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 47 [document, 1]
+PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 48 [document, 2]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 49 [document, 3]
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 50 [comment, -1]
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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̈ḧ
"
@@ -536,23 +512,18 @@ PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1]
PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2]
PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9]
PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10]
PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535]
PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2]
+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>
@@ -564,53 +535,34 @@ FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
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 23 [foreignPara1.firstChild, 9]
PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1]
+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]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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>
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 31 [testDiv, 2, paras[4], 1], point 46 [document, 0]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 47 [document, 1]
+PASS Range 31 [testDiv, 2, paras[4], 1], point 48 [document, 2]
PASS Range 31 [testDiv, 2, paras[4], 1], point 49 [document, 3]
PASS Range 31 [testDiv, 2, paras[4], 1], point 50 [comment, -1]
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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>
@@ -650,23 +602,18 @@ PASS Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0]
PASS Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild, -1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild, 0]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild, 1]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild, 2]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild, 8]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild, 9]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild, 10]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild, 65535]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild, -1]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChild, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChild, 2]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChild, 8]
+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"
@@ -678,53 +625,34 @@ FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
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 23 [foreignPara1.firstChild, 9]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentElement, -1]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentElement, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 26 [document.documentElement, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentElement, 2]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentElement, 7]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 46 [document, 0]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 47 [document, 1]
+PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 48 [document, 2]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 49 [document, 3]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 50 [comment, -1]
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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"
@@ -764,23 +692,18 @@ PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0].firstChild, -1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0].firstChild, 1]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0].firstChild, 2]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0].firstChild, 9]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0].firstChild, 10]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1].firstChild, 8]
+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̈ḧ
@@ -798,20 +721,12 @@ FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
</p><p id...
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]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 25 [document.documentElement, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 26 [document.documentElement, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 27 [document.documentElement, 2]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [document.documentElement, 7]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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̈ḧ
@@ -820,37 +735,26 @@ FAIL Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreign
</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...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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...
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 46 [document, 0]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 47 [document, 1]
+PASS Range 33 [document.documentElement, 1, document.body, 0], point 48 [document, 2]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 49 [document, 3]
PASS Range 33 [document.documentElement, 1, document.body, 0], point 50 [comment, -1]
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 33 [document.documentElement, 1, document.body, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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...
@@ -917,23 +821,18 @@ PASS Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
PASS Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoctype, 0]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [paras[0].firstChild, -1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [paras[0].firstChild, 1]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [paras[0].firstChild, 2]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [paras[0].firstChild, 9]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [paras[0].firstChild, 10]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [paras[1].firstChild, 8]
+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
@@ -945,53 +844,34 @@ FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
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 23 [foreignPara1.firstChild, 9]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [document.documentElement, -1]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [document.documentElement, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [document.documentElement, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [document.documentElement, 2]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [document.documentElement, 7]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 46 [document, 0]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 47 [document, 1]
+PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 48 [document, 2]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 49 [document, 3]
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 50 [comment, -1]
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1031,23 +911,18 @@ PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1]
PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1]
PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2]
PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9]
PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10]
PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2]
+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
@@ -1059,53 +934,34 @@ FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
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 23 [foreignPara1.firstChild, 9]
PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1]
-FAIL Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
+PASS Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1]
+PASS Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
-FAIL Range 35 [document, 0, document, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 35 [document, 0, document, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 35 [document, 0, document, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 35 [document, 0, document, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 35 [document, 0, document, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 35 [document, 0, document, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 35 [document, 0, document, 1], point 46 [document, 0]
+PASS Range 35 [document, 0, document, 1], point 47 [document, 1]
+PASS Range 35 [document, 0, document, 1], point 48 [document, 2]
PASS Range 35 [document, 0, document, 1], point 49 [document, 3]
PASS Range 35 [document, 0, document, 1], point 50 [comment, -1]
-FAIL Range 35 [document, 0, document, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 35 [document, 0, document, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1145,23 +1001,18 @@ PASS Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0]
PASS Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0]
PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1]
PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1]
PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2]
PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9]
PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10]
PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2]
+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
@@ -1173,53 +1024,34 @@ FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
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 23 [foreignPara1.firstChild, 9]
PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1]
-FAIL Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
+PASS Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1]
+PASS Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
-FAIL Range 36 [document, 0, document, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 36 [document, 0, document, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 36 [document, 0, document, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 36 [document, 0, document, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 36 [document, 0, document, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 36 [document, 0, document, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 36 [document, 0, document, 2], point 46 [document, 0]
+PASS Range 36 [document, 0, document, 2], point 47 [document, 1]
+PASS Range 36 [document, 0, document, 2], point 48 [document, 2]
PASS Range 36 [document, 0, document, 2], point 49 [document, 3]
PASS Range 36 [document, 0, document, 2], point 50 [comment, -1]
-FAIL Range 36 [document, 0, document, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 36 [document, 0, document, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1259,23 +1091,18 @@ PASS Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0]
PASS Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0]
PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1]
PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1]
PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2]
PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9]
PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10]
PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2]
+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
@@ -1287,53 +1114,34 @@ FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
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 23 [foreignPara1.firstChild, 9]
PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1]
-FAIL Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
+PASS Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1]
+PASS Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
-FAIL Range 37 [document, 1, document, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 37 [document, 1, document, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 37 [document, 1, document, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 37 [document, 1, document, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 37 [document, 1, document, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 37 [document, 1, document, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 37 [document, 1, document, 2], point 46 [document, 0]
+PASS Range 37 [document, 1, document, 2], point 47 [document, 1]
+PASS Range 37 [document, 1, document, 2], point 48 [document, 2]
PASS Range 37 [document, 1, document, 2], point 49 [document, 3]
PASS Range 37 [document, 1, document, 2], point 50 [comment, -1]
-FAIL Range 37 [document, 1, document, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 37 [document, 1, document, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1373,23 +1181,18 @@ PASS Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0]
PASS Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0]
PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1]
PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0]
-FAIL Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1]
PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2]
PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8]
-FAIL Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9]
PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10]
PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535]
PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1]
-FAIL Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2]
+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?-->
@@ -1401,53 +1204,34 @@ FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
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 23 [foreignPara1.firstChild, 9]
PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1]
-FAIL Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2]
PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7]
-FAIL Range 38 [testDiv, 0, comment, 5], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 38 [testDiv, 0, comment, 5], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 38 [testDiv, 0, comment, 5], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 38 [testDiv, 0, comment, 5], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 38 [testDiv, 0, comment, 5], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 38 [testDiv, 0, comment, 5], point 46 [document, 0]
+PASS Range 38 [testDiv, 0, comment, 5], point 47 [document, 1]
+PASS Range 38 [testDiv, 0, comment, 5], point 48 [document, 2]
PASS Range 38 [testDiv, 0, comment, 5], point 49 [document, 3]
PASS Range 38 [testDiv, 0, comment, 5], point 50 [comment, -1]
-FAIL Range 38 [testDiv, 0, comment, 5], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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?-->
@@ -1487,23 +1271,18 @@ PASS Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0]
PASS Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild, -1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild, 1]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild, 2]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild, 9]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild, 10]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChild, 2]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChild, 8]
+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?-->
@@ -1515,53 +1294,34 @@ FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
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 23 [foreignPara1.firstChild, 9]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentElement, -1]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentElement, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 26 [document.documentElement, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentElement, 2]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentElement, 7]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 46 [document, 0]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 47 [document, 1]
+PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 48 [document, 2]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 49 [document, 3]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 50 [comment, -1]
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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?-->
@@ -1601,23 +1361,18 @@ PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0]
PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1]
PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1]
PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2]
PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9]
PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10]
PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2]
+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?-->
@@ -1629,53 +1384,34 @@ FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
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 23 [foreignPara1.firstChild, 9]
PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
-FAIL Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1]
+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]
-FAIL Range 40 [paras[3], 1, comment, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 40 [paras[3], 1, comment, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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?-->
-FAIL Range 40 [paras[3], 1, comment, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 40 [paras[3], 1, comment, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 40 [paras[3], 1, comment, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 40 [paras[3], 1, comment, 8], point 46 [document, 0]
+PASS Range 40 [paras[3], 1, comment, 8], point 47 [document, 1]
+PASS Range 40 [paras[3], 1, comment, 8], point 48 [document, 2]
PASS Range 40 [paras[3], 1, comment, 8], point 49 [document, 3]
PASS Range 40 [paras[3], 1, comment, 8], point 50 [comment, -1]
-FAIL Range 40 [paras[3], 1, comment, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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?-->
@@ -1715,23 +1451,18 @@ PASS Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0]
PASS Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2]
+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
@@ -1743,53 +1474,34 @@ FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
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 23 [foreignPara1.firstChild, 9]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement, -1]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement, 2]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement, 7]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 46 [document, 0]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 47 [document, 1]
+PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 48 [document, 2]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 49 [document, 3]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 50 [comment, -1]
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1829,23 +1541,18 @@ PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0]
PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild, -1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild, 1]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild, 2]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild, 9]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild, 10]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild, 2]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild, 8]
+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
@@ -1857,53 +1564,34 @@ FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
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 23 [foreignPara1.firstChild, 9]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentElement, -1]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentElement, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentElement, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentElement, 2]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentElement, 7]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 46 [document, 0]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 47 [document, 1]
+PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 48 [document, 2]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 49 [document, 3]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 50 [comment, -1]
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -1943,23 +1631,18 @@ PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0]
PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].firstChild, -1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].firstChild, 0]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].firstChild, 1]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].firstChild, 2]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].firstChild, 8]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].firstChild, 9]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].firstChild, 10]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].firstChild, 65535]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].firstChild, -1]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].firstChild, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firstChild, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firstChild, 2]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firstChild, 8]
+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
@@ -1971,53 +1654,34 @@ FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
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 23 [foreignPara1.firstChild, 9]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.documentElement, -1]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.documentElement, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.documentElement, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.documentElement, 2]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.documentElement, 7]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 46 [document, 0]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 47 [document, 1]
+PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 48 [document, 2]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 49 [document, 3]
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 50 [comment, -1]
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2057,23 +1721,18 @@ PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2]
+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
@@ -2085,53 +1744,34 @@ FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
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 23 [foreignPara1.firstChild, 9]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 46 [document, 0]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 47 [document, 1]
+PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 48 [document, 2]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 49 [document, 3]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 50 [comment, -1]
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2171,23 +1811,18 @@ PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0]
PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2]
+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
@@ -2199,53 +1834,34 @@ FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
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 23 [foreignPara1.firstChild, 9]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 46 [document, 0]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 47 [document, 1]
+PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 48 [document, 2]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 49 [document, 3]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 50 [comment, -1]
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2285,23 +1901,18 @@ PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0]
PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firstChild, -1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firstChild, 1]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firstChild, 2]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firstChild, 9]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firstChild, 10]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].firstChild, 8]
+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
@@ -2313,53 +1924,34 @@ FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
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 23 [foreignPara1.firstChild, 9]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.documentElement, -1]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.documentElement, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.documentElement, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.documentElement, 2]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.documentElement, 7]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 46 [document, 0]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 47 [document, 1]
+PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 48 [document, 2]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 49 [document, 3]
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 50 [comment, -1]
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2399,23 +1991,18 @@ PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype, 0]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0 [paras[0].firstChild, -1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1 [paras[0].firstChild, 0]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2 [paras[0].firstChild, 1]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3 [paras[0].firstChild, 2]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4 [paras[0].firstChild, 8]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5 [paras[0].firstChild, 9]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6 [paras[0].firstChild, 10]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7 [paras[0].firstChild, 65535]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8 [paras[1].firstChild, -1]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9 [paras[1].firstChild, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10 [paras[1].firstChild, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11 [paras[1].firstChild, 2]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12 [paras[1].firstChild, 8]
+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
@@ -2427,53 +2014,34 @@ FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
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 23 [foreignPara1.firstChild, 9]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24 [document.documentElement, -1]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25 [document.documentElement, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26 [document.documentElement, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27 [document.documentElement, 2]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28 [document.documentElement, 7]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 46 [document, 0]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 47 [document, 1]
+PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 48 [document, 2]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 49 [document, 3]
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 50 [comment, -1]
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2513,23 +2081,18 @@ PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87 [xmlDoctype, 0]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0 [paras[0].firstChild, -1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2 [paras[0].firstChild, 1]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3 [paras[0].firstChild, 2]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5 [paras[0].firstChild, 9]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6 [paras[0].firstChild, 10]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12 [paras[1].firstChild, 8]
+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
@@ -2541,53 +2104,34 @@ FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
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 23 [foreignPara1.firstChild, 9]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24 [document.documentElement, -1]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25 [document.documentElement, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26 [document.documentElement, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27 [document.documentElement, 2]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28 [document.documentElement, 7]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 46 [document, 0]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 47 [document, 1]
+PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 48 [document, 2]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 49 [document, 3]
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 50 [comment, -1]
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2627,23 +2171,18 @@ PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87 [xmlDoctype, 0]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0].firstChild, -1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0].firstChild, 0]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0].firstChild, 1]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0].firstChild, 2]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0].firstChild, 8]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0].firstChild, 9]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0].firstChild, 10]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0].firstChild, 65535]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1].firstChild, -1]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1].firstChild, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[1].firstChild, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[1].firstChild, 2]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[1].firstChild, 8]
+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
@@ -2655,53 +2194,34 @@ FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
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 23 [foreignPara1.firstChild, 9]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [document.documentElement, -1]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [document.documentElement, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [document.documentElement, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [document.documentElement, 2]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [document.documentElement, 7]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 46 [document, 0]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 47 [document, 1]
+PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 48 [document, 2]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 49 [document, 3]
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 50 [comment, -1]
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2741,23 +2261,18 @@ PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoctype, 0]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0].firstChild, -1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0].firstChild, 1]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0].firstChild, 2]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0].firstChild, 9]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0].firstChild, 10]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[1].firstChild, 8]
+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
@@ -2769,53 +2284,34 @@ FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
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 23 [foreignPara1.firstChild, 9]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [document.documentElement, -1]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [document.documentElement, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [document.documentElement, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [document.documentElement, 2]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [document.documentElement, 7]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 46 [document, 0]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 47 [document, 1]
+PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 48 [document, 2]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 49 [document, 3]
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 50 [comment, -1]
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2855,23 +2351,18 @@ PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoctype, 0]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstChild, -1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstChild, 0]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstChild, 1]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstChild, 2]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstChild, 8]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstChild, 9]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstChild, 10]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstChild, 65535]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstChild, -1]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstChild, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].firstChild, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].firstChild, 2]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].firstChild, 8]
+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
@@ -2883,53 +2374,34 @@ FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
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 23 [foreignPara1.firstChild, 9]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.documentElement, -1]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.documentElement, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.documentElement, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.documentElement, 2]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.documentElement, 7]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 46 [document, 0]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 47 [document, 1]
+PASS Range 51 [detachedComment, 3, detachedComment, 4], point 48 [document, 2]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 49 [document, 3]
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 50 [comment, -1]
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -2969,23 +2441,18 @@ PASS Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
PASS Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstChild, -1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstChild, 0]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstChild, 1]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstChild, 2]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstChild, 8]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstChild, 9]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstChild, 10]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstChild, 65535]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstChild, -1]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstChild, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].firstChild, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].firstChild, 2]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].firstChild, 8]
+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
@@ -2997,53 +2464,34 @@ FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
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 23 [foreignPara1.firstChild, 9]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.documentElement, -1]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.documentElement, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.documentElement, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.documentElement, 2]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.documentElement, 7]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 46 [document, 0]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 47 [document, 1]
+PASS Range 52 [detachedComment, 5, detachedComment, 5], point 48 [document, 2]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 49 [document, 3]
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 50 [comment, -1]
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3083,23 +2531,18 @@ PASS Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
PASS Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [paras[0].firstChild, -1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [paras[0].firstChild, 1]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [paras[0].firstChild, 2]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [paras[0].firstChild, 9]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [paras[0].firstChild, 10]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [paras[1].firstChild, 8]
+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
@@ -3111,53 +2554,34 @@ FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
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 23 [foreignPara1.firstChild, 9]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [document.documentElement, -1]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [document.documentElement, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [document.documentElement, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [document.documentElement, 2]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [document.documentElement, 7]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 46 [document, 0]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 47 [document, 1]
+PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 48 [document, 2]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 49 [document, 3]
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 50 [comment, -1]
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3197,23 +2621,18 @@ PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [xmlDoctype, 0]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [paras[0].firstChild, -1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [paras[0].firstChild, 0]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [paras[0].firstChild, 1]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [paras[0].firstChild, 2]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [paras[0].firstChild, 8]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [paras[0].firstChild, 9]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [paras[0].firstChild, 10]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [paras[0].firstChild, 65535]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [paras[1].firstChild, -1]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [paras[1].firstChild, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [paras[1].firstChild, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [paras[1].firstChild, 2]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [paras[1].firstChild, 8]
+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
@@ -3225,53 +2644,34 @@ FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
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 23 [foreignPara1.firstChild, 9]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [document.documentElement, -1]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [document.documentElement, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [document.documentElement, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [document.documentElement, 2]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [document.documentElement, 7]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 46 [document, 0]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 47 [document, 1]
+PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 48 [document, 2]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 49 [document, 3]
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 50 [comment, -1]
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3311,23 +2711,18 @@ PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [xmlDoctype, 0]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].firstChild, -1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].firstChild, 0]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].firstChild, 1]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].firstChild, 2]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].firstChild, 8]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].firstChild, 9]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].firstChild, 10]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].firstChild, 65535]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].firstChild, -1]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].firstChild, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1].firstChild, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1].firstChild, 2]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1].firstChild, 8]
+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
@@ -3339,53 +2734,34 @@ FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
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 23 [foreignPara1.firstChild, 9]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document.documentElement, -1]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document.documentElement, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document.documentElement, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document.documentElement, 2]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document.documentElement, 7]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 46 [document, 0]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 47 [document, 1]
+PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 48 [document, 2]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 49 [document, 3]
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 50 [comment, -1]
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3425,23 +2801,18 @@ PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDoctype, 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1]
PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2]
PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9]
PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10]
PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2]
+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
@@ -3453,53 +2824,34 @@ FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
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 23 [foreignPara1.firstChild, 9]
PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2]
PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 56 [docfrag, 0, docfrag, 0], point 46 [document, 0]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 47 [document, 1]
+PASS Range 56 [docfrag, 0, docfrag, 0], point 48 [document, 2]
PASS Range 56 [docfrag, 0, docfrag, 0], point 49 [document, 3]
PASS Range 56 [docfrag, 0, docfrag, 0], point 50 [comment, -1]
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3539,23 +2891,18 @@ PASS Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0]
PASS Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChild, -1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChild, 1]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChild, 2]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChild, 9]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChild, 10]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstChild, 8]
+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
@@ -3567,53 +2914,34 @@ FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
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 23 [foreignPara1.firstChild, 9]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documentElement, -1]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documentElement, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documentElement, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documentElement, 2]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documentElement, 7]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 46 [document, 0]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 47 [document, 1]
+PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 48 [document, 2]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 49 [document, 3]
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 50 [comment, -1]
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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
@@ -3653,23 +2981,18 @@ PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
-" but got Text node "Qrstuvwx"
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2]
+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
@@ -3681,53 +3004,34 @@ FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
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 23 [foreignPara1.firstChild, 9]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement, -1]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
-<me... but got Text node "Qrstuvwx"
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement, 2]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement, 7]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title>Selection.collapse() tests</title>
-<meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id... but got Text node "Qrstuvwx"
+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
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
+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]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
-</p> but got Text node "Qrstuvwx"
+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
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
-</p><p id="b" s... but got Text node "Qrstuvwx"
+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]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
-"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 46 [document, 0]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 47 [document, 1]
+PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 48 [document, 2]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 49 [document, 3]
PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 50 [comment, -1]
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
-FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
+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

Powered by Google App Engine
This is Rietveld 408576698