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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-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-00-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
index 9cee5813fce9f35efa6095f7941691eea4cb6ec7..0d9cf776ec4740a116e004e7f8b7cae955d58fe4 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt
@@ -439,7 +439,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 2670 tests; 783 PASS, 1887 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 2670 tests; 1470 PASS, 1200 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Set up range 0 []
PASS Set up range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0]
PASS Set up range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1]
@@ -472,23 +472,18 @@ PASS Set up range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8]
PASS Set up range 29 [paras[0].firstChild, 3, paras[3], 1]
PASS Range 0 [], point 0 [paras[0].firstChild, -1]
PASS Range 0 [], point 1 [paras[0].firstChild, 0]
-FAIL Range 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 0 [], point 2 [paras[0].firstChild, 1]
PASS Range 0 [], point 3 [paras[0].firstChild, 2]
PASS Range 0 [], point 4 [paras[0].firstChild, 8]
-FAIL Range 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 0 [], point 5 [paras[0].firstChild, 9]
PASS Range 0 [], point 6 [paras[0].firstChild, 10]
PASS Range 0 [], point 7 [paras[0].firstChild, 65535]
PASS Range 0 [], point 8 [paras[1].firstChild, -1]
-FAIL Range 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 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 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 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 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 0 [], point 9 [paras[1].firstChild, 0]
+PASS Range 0 [], point 10 [paras[1].firstChild, 1]
+PASS Range 0 [], point 11 [paras[1].firstChild, 2]
+PASS Range 0 [], point 12 [paras[1].firstChild, 8]
+PASS Range 0 [], point 13 [paras[1].firstChild, 9]
PASS Range 0 [], point 14 [paras[1].firstChild, 10]
PASS Range 0 [], point 15 [paras[1].firstChild, 65535]
FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -500,53 +495,34 @@ FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 0 [], point 23 [foreignPara1.firstChild, 9]
PASS Range 0 [], point 24 [document.documentElement, -1]
-FAIL Range 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 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 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 0 [], point 25 [document.documentElement, 0]
+PASS Range 0 [], point 26 [document.documentElement, 1]
+PASS Range 0 [], point 27 [document.documentElement, 2]
PASS Range 0 [], point 28 [document.documentElement, 7]
-FAIL Range 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 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 0 [], point 29 [document.head, 1]
+PASS Range 0 [], point 30 [document.body, 3]
FAIL Range 0 [], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 0 [], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 0 [], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 0 [], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 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 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 0 [], point 35 [paras[0], 0]
+PASS Range 0 [], point 36 [paras[0], 1]
PASS Range 0 [], point 37 [paras[0], 2]
-FAIL Range 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 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 0 [], point 38 [paras[1], 0]
+PASS Range 0 [], point 39 [paras[1], 1]
PASS Range 0 [], point 40 [paras[1], 2]
FAIL Range 0 [], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 0 [], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 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 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 0 [], point 43 [testDiv, 0]
+PASS Range 0 [], point 44 [testDiv, 3]
PASS Range 0 [], point 45 [document, -1]
-FAIL Range 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 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 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 0 [], point 46 [document, 0]
+PASS Range 0 [], point 47 [document, 1]
+PASS Range 0 [], point 48 [document, 2]
PASS Range 0 [], point 49 [document, 3]
PASS Range 0 [], point 50 [comment, -1]
-FAIL Range 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 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 0 [], point 51 [comment, 0]
+PASS Range 0 [], point 52 [comment, 4]
PASS Range 0 [], point 53 [comment, 96]
FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -586,23 +562,18 @@ PASS Range 0 [], point 86 [foreignDoctype, 0]
PASS Range 0 [], point 87 [xmlDoctype, 0]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0].firstChild, -1]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 2 [paras[0].firstChild, 1]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0].firstChild, 2]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 5 [paras[0].firstChild, 9]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0].firstChild, 10]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 13 [paras[1].firstChild, 9]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1].firstChild, 10]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], 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̈ḧ
@@ -620,20 +591,12 @@ FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreign
"
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 25 [document.documentElement, 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 26 [document.documentElement, 1]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 27 [document.documentElement, 2]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 29 [document.head, 1]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 30 [document.body, 3]
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
@@ -642,37 +605,26 @@ FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreign
"
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 35 [paras[0], 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 36 [paras[0], 1]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 38 [paras[1], 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 39 [paras[1], 1]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 40 [paras[1], 2]
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 43 [testDiv, 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 44 [testDiv, 3]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 45 [document, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 46 [document, 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 47 [document, 1]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 48 [document, 2]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 49 [document, 3]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment, -1]
-FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 51 [comment, 0]
+PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 52 [comment, 4]
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 53 [comment, 96]
FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], 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̈ḧ
"
@@ -739,23 +691,18 @@ PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoctype, 0]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0].firstChild, -1]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 2 [paras[0].firstChild, 1]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0].firstChild, 2]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 5 [paras[0].firstChild, 9]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0].firstChild, 10]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 13 [paras[1].firstChild, 9]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1].firstChild, 10]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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̈ḧ
@@ -773,20 +720,12 @@ FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreign
"
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 25 [document.documentElement, 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 26 [document.documentElement, 1]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 27 [document.documentElement, 2]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 29 [document.head, 1]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 30 [document.body, 3]
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
@@ -795,37 +734,26 @@ FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 33 [foreign
"
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 35 [paras[0], 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 36 [paras[0], 1]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 38 [paras[1], 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 39 [paras[1], 1]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 40 [paras[1], 2]
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 43 [testDiv, 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 44 [testDiv, 3]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 45 [document, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 46 [document, 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 47 [document, 1]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 48 [document, 2]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 49 [document, 3]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment, -1]
-FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 51 [comment, 0]
+PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 52 [comment, 4]
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 53 [comment, 96]
FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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̈ḧ
"
@@ -892,23 +820,18 @@ PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoctype, 0]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0].firstChild, -1]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 2 [paras[0].firstChild, 1]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0].firstChild, 2]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 5 [paras[0].firstChild, 9]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0].firstChild, 10]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1].firstChild, 8]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 13 [paras[1].firstChild, 9]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1].firstChild, 10]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1].firstChild, 65535]
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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̈ḧ
@@ -926,20 +849,12 @@ FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreign
"
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 25 [document.documentElement, 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 26 [document.documentElement, 1]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 27 [document.documentElement, 2]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 29 [document.head, 1]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 30 [document.body, 3]
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
@@ -948,37 +863,26 @@ FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreign
"
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
"
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 35 [paras[0], 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 36 [paras[0], 1]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 38 [paras[1], 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 39 [paras[1], 1]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 40 [paras[1], 2]
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 43 [testDiv, 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 44 [testDiv, 3]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 45 [document, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 46 [document, 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 47 [document, 1]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 48 [document, 2]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 49 [document, 3]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment, -1]
-FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 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 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 51 [comment, 0]
+PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 52 [comment, 4]
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 53 [comment, 96]
FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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̈ḧ
"
@@ -1045,23 +949,18 @@ PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoctype, 0]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0].firstChild, -1]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0].firstChild, 0]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0].firstChild, 1]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0].firstChild, 2]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0].firstChild, 8]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0].firstChild, 9]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0].firstChild, 10]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0].firstChild, 65535]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1].firstChild, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 9 [paras[1].firstChild, 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 10 [paras[1].firstChild, 1]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 11 [paras[1].firstChild, 2]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1].firstChild, 8]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 13 [paras[1].firstChild, 9]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1].firstChild, 10]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1].firstChild, 65535]
FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ
@@ -1079,20 +978,12 @@ FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreign
"
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreignPara1.firstChild, 9]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [document.documentElement, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 25 [document.documentElement, 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 26 [document.documentElement, 1]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 27 [document.documentElement, 2]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [document.documentElement, 7]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 29 [document.head, 1]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 30 [document.body, 3]
FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ
@@ -1101,37 +992,26 @@ FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreign
"
FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 35 [paras[0], 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 36 [paras[0], 1]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 37 [paras[0], 2]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 38 [paras[1], 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 39 [paras[1], 1]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 40 [paras[1], 2]
FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 43 [testDiv, 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 44 [testDiv, 3]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 45 [document, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 46 [document, 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 47 [document, 1]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 48 [document, 2]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 49 [document, 3]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment, -1]
-FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 51 [comment, 0]
+PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 52 [comment, 4]
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 53 [comment, 96]
FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ
"
@@ -1198,22 +1078,18 @@ PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoctype, 0]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0].firstChild, -1]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0].firstChild, 1]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0].firstChild, 2]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0].firstChild, 9]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0].firstChild, 10]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1].firstChild, -1]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1].firstChild, 0]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1].firstChild, 9]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1].firstChild, 10]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -1231,20 +1107,12 @@ FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreign
"
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 26 [document.documentElement, 1]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 27 [document.documentElement, 2]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 29 [document.head, 1]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 30 [document.body, 3]
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
@@ -1253,37 +1121,26 @@ FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreign
"
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0], 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0], 1]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1], 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1], 1]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1], 2]
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv, 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv, 3]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 45 [document, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 46 [document, 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 47 [document, 1]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 48 [document, 2]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 49 [document, 3]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment, -1]
-FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 51 [comment, 0]
+PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 52 [comment, 4]
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment, 96]
FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
@@ -1350,23 +1207,18 @@ PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0].firstChild, -1]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0].firstChild, 1]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0].firstChild, 2]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0].firstChild, 9]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0].firstChild, 10]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1].firstChild, 9]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1].firstChild, 10]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -1384,20 +1236,12 @@ FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreign
"
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 25 [document.documentElement, 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 26 [document.documentElement, 1]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 27 [document.documentElement, 2]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 29 [document.head, 1]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 30 [document.body, 3]
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
@@ -1406,37 +1250,26 @@ FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 33 [foreign
"
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0], 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0], 1]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1], 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1], 1]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1], 2]
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 "Ijklmnop
"
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 "Ijklmnop
"
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv, 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv, 3]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 45 [document, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 46 [document, 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 47 [document, 1]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 48 [document, 2]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 49 [document, 3]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment, -1]
-FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 51 [comment, 0]
+PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 52 [comment, 4]
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment, 96]
FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 "Ijklmnop
"
@@ -1503,23 +1336,18 @@ PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoctype, 0]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0].firstChild, -1]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0].firstChild, 1]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0].firstChild, 2]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0].firstChild, 9]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0].firstChild, 10]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1].firstChild, 8]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1].firstChild, 9]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1].firstChild, 10]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1].firstChild, 65535]
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -1537,20 +1365,12 @@ FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreign
"
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 25 [document.documentElement, 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 26 [document.documentElement, 1]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 27 [document.documentElement, 2]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 29 [document.head, 1]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 30 [document.body, 3]
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 Text node "Ijklmnop
"
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 Text node "Ijklmnop
@@ -1559,37 +1379,26 @@ FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreign
"
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 Text node "Ijklmnop
"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0], 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0], 1]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1], 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1], 1]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1], 2]
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 "Ijklmnop
"
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 "Ijklmnop
"
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv, 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv, 3]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 45 [document, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 46 [document, 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 47 [document, 1]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 48 [document, 2]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 49 [document, 3]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment, -1]
-FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 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 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 51 [comment, 0]
+PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 52 [comment, 4]
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment, 96]
FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 "Ijklmnop
"
@@ -1656,23 +1465,18 @@ PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0].firstChild, -1]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0].firstChild, 0]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0].firstChild, 1]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0].firstChild, 2]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0].firstChild, 8]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0].firstChild, 9]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0].firstChild, 10]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0].firstChild, 65535]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1].firstChild, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1].firstChild, 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1].firstChild, 1]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1].firstChild, 2]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1].firstChild, 8]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1].firstChild, 9]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1].firstChild, 10]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1].firstChild, 65535]
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -1690,20 +1494,12 @@ FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreign
"
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreignPara1.firstChild, 9]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [document.documentElement, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 25 [document.documentElement, 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 26 [document.documentElement, 1]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 27 [document.documentElement, 2]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [document.documentElement, 7]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 29 [document.head, 1]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 30 [document.body, 3]
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
"
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
@@ -1712,37 +1508,26 @@ FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreign
"
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0], 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0], 1]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0], 2]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1], 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1], 1]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1], 2]
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
"
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
"
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv, 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv, 3]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 45 [document, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 46 [document, 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 47 [document, 1]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 48 [document, 2]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 49 [document, 3]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment, -1]
-FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 51 [comment, 0]
+PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 52 [comment, 4]
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment, 96]
FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 "Ijklmnop
"
@@ -1809,23 +1594,18 @@ PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoctype, 0]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0 [paras[0].firstChild, -1]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2 [paras[0].firstChild, 1]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3 [paras[0].firstChild, 2]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5 [paras[0].firstChild, 9]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6 [paras[0].firstChild, 10]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 13 [paras[1].firstChild, 9]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 14 [paras[1].firstChild, 10]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -1837,53 +1617,34 @@ FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 25 [document.documentElement, 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 26 [document.documentElement, 1]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 27 [document.documentElement, 2]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 29 [document.head, 1]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 30 [document.body, 3]
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 35 [paras[0], 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 36 [paras[0], 1]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 38 [paras[1], 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 39 [paras[1], 1]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 40 [paras[1], 2]
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 43 [testDiv, 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 44 [testDiv, 3]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 45 [document, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 46 [document, 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 47 [document, 1]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 48 [document, 2]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 49 [document, 3]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 50 [comment, -1]
-FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 51 [comment, 0]
+PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 52 [comment, 4]
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 53 [comment, 96]
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -1923,23 +1684,18 @@ PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 87 [xmlDoctype, 0]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 0 [paras[0].firstChild, -1]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 2 [paras[0].firstChild, 1]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 3 [paras[0].firstChild, 2]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 5 [paras[0].firstChild, 9]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 6 [paras[0].firstChild, 10]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 13 [paras[1].firstChild, 9]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 14 [paras[1].firstChild, 10]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -1951,53 +1707,34 @@ FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 25 [document.documentElement, 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 26 [document.documentElement, 1]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 27 [document.documentElement, 2]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 29 [document.head, 1]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 30 [document.body, 3]
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 35 [paras[0], 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 36 [paras[0], 1]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 38 [paras[1], 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 39 [paras[1], 1]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 40 [paras[1], 2]
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 43 [testDiv, 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 44 [testDiv, 3]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 45 [document, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 46 [document, 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 47 [document, 1]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 48 [document, 2]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 49 [document, 3]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 50 [comment, -1]
-FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 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 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 51 [comment, 0]
+PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 52 [comment, 4]
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 53 [comment, 96]
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2037,23 +1774,18 @@ PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 87 [xmlDoctype, 0]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 0 [paras[0].firstChild, -1]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 2 [paras[0].firstChild, 1]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 3 [paras[0].firstChild, 2]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 5 [paras[0].firstChild, 9]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 6 [paras[0].firstChild, 10]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 12 [paras[1].firstChild, 8]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 13 [paras[1].firstChild, 9]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 14 [paras[1].firstChild, 10]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 15 [paras[1].firstChild, 65535]
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2065,53 +1797,34 @@ FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 25 [document.documentElement, 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 26 [document.documentElement, 1]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 27 [document.documentElement, 2]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 29 [document.head, 1]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 30 [document.body, 3]
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 35 [paras[0], 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 36 [paras[0], 1]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 38 [paras[1], 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 39 [paras[1], 1]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 40 [paras[1], 2]
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 43 [testDiv, 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 44 [testDiv, 3]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 45 [document, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 46 [document, 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 47 [document, 1]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 48 [document, 2]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 49 [document, 3]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 50 [comment, -1]
-FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 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 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 51 [comment, 0]
+PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 52 [comment, 4]
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 53 [comment, 96]
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2151,23 +1864,18 @@ PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 87 [xmlDoctype, 0]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0 [paras[0].firstChild, -1]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 2 [paras[0].firstChild, 1]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3 [paras[0].firstChild, 2]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 5 [paras[0].firstChild, 9]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6 [paras[0].firstChild, 10]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 13 [paras[1].firstChild, 9]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14 [paras[1].firstChild, 10]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2179,53 +1887,34 @@ FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 25 [document.documentElement, 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 26 [document.documentElement, 1]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 27 [document.documentElement, 2]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 29 [document.head, 1]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 30 [document.body, 3]
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 35 [paras[0], 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 36 [paras[0], 1]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 38 [paras[1], 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 39 [paras[1], 1]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 40 [paras[1], 2]
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 43 [testDiv, 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 44 [testDiv, 3]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 45 [document, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 46 [document, 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 47 [document, 1]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 48 [document, 2]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 49 [document, 3]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50 [comment, -1]
-FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 51 [comment, 0]
+PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 52 [comment, 4]
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53 [comment, 96]
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2265,23 +1954,18 @@ PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87 [xmlDoctype, 0]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0 [paras[0].firstChild, -1]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 2 [paras[0].firstChild, 1]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3 [paras[0].firstChild, 2]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 5 [paras[0].firstChild, 9]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6 [paras[0].firstChild, 10]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 13 [paras[1].firstChild, 9]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14 [paras[1].firstChild, 10]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2293,53 +1977,34 @@ FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24 [document.documentElement, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 25 [document.documentElement, 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 26 [document.documentElement, 1]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 27 [document.documentElement, 2]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28 [document.documentElement, 7]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 29 [document.head, 1]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 30 [document.body, 3]
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 35 [paras[0], 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 36 [paras[0], 1]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 37 [paras[0], 2]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 38 [paras[1], 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 39 [paras[1], 1]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 40 [paras[1], 2]
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 43 [testDiv, 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 44 [testDiv, 3]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 45 [document, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 46 [document, 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 47 [document, 1]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 48 [document, 2]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 49 [document, 3]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50 [comment, -1]
-FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 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 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 51 [comment, 0]
+PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 52 [comment, 4]
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53 [comment, 96]
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2379,23 +2044,18 @@ PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87 [xmlDoctype, 0]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0 [paras[0].firstChild, -1]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 2 [paras[0].firstChild, 1]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3 [paras[0].firstChild, 2]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 5 [paras[0].firstChild, 9]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6 [paras[0].firstChild, 10]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12 [paras[1].firstChild, 8]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 13 [paras[1].firstChild, 9]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14 [paras[1].firstChild, 10]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15 [paras[1].firstChild, 65535]
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2407,53 +2067,34 @@ FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 25 [document.documentElement, 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 26 [document.documentElement, 1]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 27 [document.documentElement, 2]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 29 [document.head, 1]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 30 [document.body, 3]
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 35 [paras[0], 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 36 [paras[0], 1]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 38 [paras[1], 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 39 [paras[1], 1]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 40 [paras[1], 2]
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 43 [testDiv, 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 44 [testDiv, 3]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 45 [document, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 46 [document, 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 47 [document, 1]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 48 [document, 2]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 49 [document, 3]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50 [comment, -1]
-FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 51 [comment, 0]
+PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 52 [comment, 4]
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53 [comment, 96]
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -2493,23 +2134,18 @@ PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87 [xmlDoctype, 0]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 0 [paras[0].firstChild, -1]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 2 [paras[0].firstChild, 1]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 3 [paras[0].firstChild, 2]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 5 [paras[0].firstChild, 9]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 6 [paras[0].firstChild, 10]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 13 [paras[1].firstChild, 9]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 14 [paras[1].firstChild, 10]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
@@ -2527,20 +2163,12 @@ FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
<me...
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 24 [document.documentElement, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 25 [document.documentElement, 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 26 [document.documentElement, 1]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 27 [document.documentElement, 2]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 28 [document.documentElement, 7]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 29 [document.head, 1]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 30 [document.body, 3]
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
@@ -2549,37 +2177,26 @@ FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
<me...
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 35 [paras[0], 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 36 [paras[0], 1]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 37 [paras[0], 2]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 38 [paras[1], 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 39 [paras[1], 1]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 40 [paras[1], 2]
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 43 [testDiv, 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 44 [testDiv, 3]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 45 [document, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 46 [document, 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 47 [document, 1]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 48 [document, 2]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 49 [document, 3]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 50 [comment, -1]
-FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 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 15 [document.documentElement, 0, document.documentElement, 1], point 51 [comment, 0]
+PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 52 [comment, 4]
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 53 [comment, 96]
FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
<me...
@@ -2646,23 +2263,18 @@ PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 87 [xmlDoctype, 0]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 0 [paras[0].firstChild, -1]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 2 [paras[0].firstChild, 1]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 3 [paras[0].firstChild, 2]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 5 [paras[0].firstChild, 9]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 6 [paras[0].firstChild, 10]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 11 [paras[1].firstChild, 2]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 12 [paras[1].firstChild, 8]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 13 [paras[1].firstChild, 9]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 14 [paras[1].firstChild, 10]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 15 [paras[1].firstChild, 65535]
FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
@@ -2680,20 +2292,12 @@ FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
<me...
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 24 [document.documentElement, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 25 [document.documentElement, 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 26 [document.documentElement, 1]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 27 [document.documentElement, 2]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 28 [document.documentElement, 7]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 29 [document.head, 1]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 30 [document.body, 3]
FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
@@ -2702,37 +2306,26 @@ FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
<me...
FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 35 [paras[0], 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 36 [paras[0], 1]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 37 [paras[0], 2]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 38 [paras[1], 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 39 [paras[1], 1]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 40 [paras[1], 2]
FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 43 [testDiv, 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 44 [testDiv, 3]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 45 [document, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 46 [document, 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 47 [document, 1]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 48 [document, 2]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 49 [document, 3]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 50 [comment, -1]
-FAIL Range 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 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 16 [document.documentElement, 0, document.documentElement, 2], point 51 [comment, 0]
+PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 52 [comment, 4]
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 53 [comment, 96]
FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
@@ -2799,23 +2392,18 @@ PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 87 [xmlDoctype, 0]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 0 [paras[0].firstChild, -1]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 1 [paras[0].firstChild, 0]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 2 [paras[0].firstChild, 1]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 3 [paras[0].firstChild, 2]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 4 [paras[0].firstChild, 8]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 5 [paras[0].firstChild, 9]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 6 [paras[0].firstChild, 10]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 7 [paras[0].firstChild, 65535]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 8 [paras[1].firstChild, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 9 [paras[1].firstChild, 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 10 [paras[1].firstChild, 1]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 11 [paras[1].firstChild, 2]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 12 [paras[1].firstChild, 8]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 13 [paras[1].firstChild, 9]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 14 [paras[1].firstChild, 10]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 15 [paras[1].firstChild, 65535]
FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
@@ -2833,20 +2421,12 @@ FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
<me...
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 23 [foreignPara1.firstChild, 9]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 24 [document.documentElement, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 25 [document.documentElement, 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 26 [document.documentElement, 1]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 27 [document.documentElement, 2]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 28 [document.documentElement, 7]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 29 [document.head, 1]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 30 [document.body, 3]
FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
@@ -2855,37 +2435,26 @@ FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
<me...
FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 Element node <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 35 [paras[0], 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 36 [paras[0], 1]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 37 [paras[0], 2]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 38 [paras[1], 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 39 [paras[1], 1]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 40 [paras[1], 2]
FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 43 [testDiv, 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 44 [testDiv, 3]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 45 [document, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 46 [document, 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 47 [document, 1]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 48 [document, 2]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 49 [document, 3]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 50 [comment, -1]
-FAIL Range 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 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 17 [document.documentElement, 1, document.documentElement, 2], point 51 [comment, 0]
+PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 52 [comment, 4]
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 53 [comment, 96]
FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
<me...
@@ -2952,23 +2521,18 @@ PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 87 [xmlDoctype, 0]
PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild, -1]
PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild, 1]
PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild, 2]
PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild, 9]
PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild, 10]
PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 18 [document.head, 1, document.head, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 18 [document.head, 1, document.head, 1], point 13 [paras[1].firstChild, 9]
PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChild, 10]
PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
@@ -2986,18 +2550,12 @@ FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first
<meta nam...
PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentElement, -1]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 25 [document.documentElement, 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 26 [document.documentElement, 1]
+PASS Range 18 [document.head, 1, document.head, 1], point 27 [document.documentElement, 2]
PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentElement, 7]
PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 30 [document.body, 3]
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
<meta nam...
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
@@ -3006,37 +2564,26 @@ FAIL Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0
<meta nam...
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1]
PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1]
PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2]
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
<meta nam...
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
<meta nam...
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3]
PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 46 [document, 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 47 [document, 1]
+PASS Range 18 [document.head, 1, document.head, 1], point 48 [document, 2]
PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3]
PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1]
-FAIL Range 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 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 18 [document.head, 1, document.head, 1], point 51 [comment, 0]
+PASS Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4]
PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96]
FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
<meta nam...
@@ -3103,23 +2650,18 @@ PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0]
PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild, -1]
PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 2 [paras[0].firstChild, 1]
PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild, 2]
PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 5 [paras[0].firstChild, 9]
PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild, 10]
PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 19 [document.body, 0, document.body, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 19 [document.body, 0, document.body, 1], point 13 [paras[1].firstChild, 9]
PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChild, 10]
PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3137,20 +2679,12 @@ FAIL Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.first
</p><p id...
PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentElement, -1]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 25 [document.documentElement, 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 26 [document.documentElement, 1]
+PASS Range 19 [document.body, 0, document.body, 1], point 27 [document.documentElement, 2]
PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentElement, 7]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 29 [document.head, 1]
+PASS Range 19 [document.body, 0, document.body, 1], point 30 [document.body, 3]
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p><p id...
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3159,37 +2693,26 @@ FAIL Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0
</p><p id...
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 35 [paras[0], 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 36 [paras[0], 1]
PASS Range 19 [document.body, 0, document.body, 1], point 37 [paras[0], 2]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 38 [paras[1], 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 39 [paras[1], 1]
PASS Range 19 [document.body, 0, document.body, 1], point 40 [paras[1], 2]
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p><p id...
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p><p id...
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 43 [testDiv, 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 44 [testDiv, 3]
PASS Range 19 [document.body, 0, document.body, 1], point 45 [document, -1]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 46 [document, 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 47 [document, 1]
+PASS Range 19 [document.body, 0, document.body, 1], point 48 [document, 2]
PASS Range 19 [document.body, 0, document.body, 1], point 49 [document, 3]
PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1]
-FAIL Range 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 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 19 [document.body, 0, document.body, 1], point 51 [comment, 0]
+PASS Range 19 [document.body, 0, document.body, 1], point 52 [comment, 4]
PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96]
FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p><p id...
@@ -3256,23 +2779,18 @@ PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 0 [paras[0].firstChild, -1]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 2 [paras[0].firstChild, 1]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 3 [paras[0].firstChild, 2]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 5 [paras[0].firstChild, 9]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 6 [paras[0].firstChild, 10]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 13 [paras[1].firstChild, 9]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 14 [paras[1].firstChild, 10]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3284,53 +2802,34 @@ FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 24 [document.documentElement, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 25 [document.documentElement, 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 26 [document.documentElement, 1]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 27 [document.documentElement, 2]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 28 [document.documentElement, 7]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 29 [document.head, 1]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 30 [document.body, 3]
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 35 [paras[0], 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 36 [paras[0], 1]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 37 [paras[0], 2]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 38 [paras[1], 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 39 [paras[1], 1]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 40 [paras[1], 2]
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 43 [testDiv, 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 44 [testDiv, 3]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 45 [document, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 46 [document, 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 47 [document, 1]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 48 [document, 2]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 49 [document, 3]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 50 [comment, -1]
-FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 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 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 51 [comment, 0]
+PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 52 [comment, 4]
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 53 [comment, 96]
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3370,23 +2869,18 @@ PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 87 [xmlDoctype, 0]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstChild, -1]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 2 [paras[0].firstChild, 1]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstChild, 2]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 5 [paras[0].firstChild, 9]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstChild, 10]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 13 [paras[1].firstChild, 9]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].firstChild, 10]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3398,53 +2892,34 @@ FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.f
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.documentElement, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 25 [document.documentElement, 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 26 [document.documentElement, 1]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 27 [document.documentElement, 2]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.documentElement, 7]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 29 [document.head, 1]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 30 [document.body, 3]
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 35 [paras[0], 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 36 [paras[0], 1]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 37 [paras[0], 2]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 38 [paras[1], 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 39 [paras[1], 1]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 40 [paras[1], 2]
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 43 [testDiv, 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 44 [testDiv, 3]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 45 [document, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 46 [document, 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 47 [document, 1]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 48 [document, 2]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 49 [document, 3]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1]
-FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 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 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 51 [comment, 0]
+PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 52 [comment, 4]
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96]
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3484,23 +2959,18 @@ PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstChild, -1]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 2 [paras[0].firstChild, 1]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstChild, 2]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 5 [paras[0].firstChild, 9]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstChild, 10]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 13 [paras[1].firstChild, 9]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].firstChild, 10]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3512,53 +2982,34 @@ FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.f
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.documentElement, -1]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 25 [document.documentElement, 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 26 [document.documentElement, 1]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 27 [document.documentElement, 2]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.documentElement, 7]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 29 [document.head, 1]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 30 [document.body, 3]
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 35 [paras[0], 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 36 [paras[0], 1]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 37 [paras[0], 2]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 38 [paras[1], 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 39 [paras[1], 1]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 40 [paras[1], 2]
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 43 [testDiv, 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 44 [testDiv, 3]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 45 [document, -1]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 46 [document, 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 47 [document, 1]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 48 [document, 2]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 49 [document, 3]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1]
-FAIL Range 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, 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 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 51 [comment, 0]
+PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 52 [comment, 4]
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96]
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3598,23 +3049,18 @@ PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1]
PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1]
PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2]
PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9]
PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10]
PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535]
PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 11 [paras[1].firstChild, 2]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 12 [paras[1].firstChild, 8]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 13 [paras[1].firstChild, 9]
PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10]
PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3632,20 +3078,12 @@ FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]
</p>
PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2]
PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3]
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3655,34 +3093,25 @@ FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1]
PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1]
PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2]
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3]
PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 46 [document, 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2]
PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3]
PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1]
-FAIL Range 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 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 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0]
+PASS Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4]
PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96]
FAIL Range 23 [paras[0], 0, paras[0], 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 <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
@@ -3749,23 +3178,18 @@ PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0]
PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0]
PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1]
PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 2 [paras[0].firstChild, 1]
PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2]
PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 5 [paras[0].firstChild, 9]
PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10]
PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535]
PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 9 [paras[1].firstChild, 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 10 [paras[1].firstChild, 1]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 11 [paras[1].firstChild, 2]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 12 [paras[1].firstChild, 8]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 13 [paras[1].firstChild, 9]
PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10]
PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3783,20 +3207,12 @@ FAIL Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]
</p>
PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 26 [document.documentElement, 1]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 27 [document.documentElement, 2]
PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 29 [document.head, 1]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 30 [document.body, 3]
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
@@ -3805,37 +3221,26 @@ FAIL Range 24 [paras[0], 0, paras[0], 1], point 33 [foreignDoc.head, 0] assert_e
</p>
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 35 [paras[0], 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 36 [paras[0], 1]
PASS Range 24 [paras[0], 0, paras[0], 1], point 37 [paras[0], 2]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 38 [paras[1], 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 39 [paras[1], 1]
PASS Range 24 [paras[0], 0, paras[0], 1], point 40 [paras[1], 2]
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 43 [testDiv, 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 44 [testDiv, 3]
PASS Range 24 [paras[0], 0, paras[0], 1], point 45 [document, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 46 [document, 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 47 [document, 1]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 48 [document, 2]
PASS Range 24 [paras[0], 0, paras[0], 1], point 49 [document, 3]
PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1]
-FAIL Range 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 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 24 [paras[0], 0, paras[0], 1], point 51 [comment, 0]
+PASS Range 24 [paras[0], 0, paras[0], 1], point 52 [comment, 4]
PASS Range 24 [paras[0], 0, paras[0], 1], point 53 [comment, 96]
FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
</p>
@@ -3902,23 +3307,18 @@ PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0]
PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild, -1]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 2 [paras[0].firstChild, 1]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild, 2]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 5 [paras[0].firstChild, 9]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild, 10]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 13 [paras[1].firstChild, 9]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChild, 10]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -3930,53 +3330,34 @@ FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.first
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentElement, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 25 [document.documentElement, 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 26 [document.documentElement, 1]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 27 [document.documentElement, 2]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentElement, 7]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 29 [document.head, 1]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 30 [document.body, 3]
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 35 [paras[0], 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 36 [paras[0], 1]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 37 [paras[0], 2]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 38 [paras[1], 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 39 [paras[1], 1]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 40 [paras[1], 2]
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 43 [testDiv, 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 44 [testDiv, 3]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 45 [document, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 46 [document, 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 47 [document, 1]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 48 [document, 2]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 49 [document, 3]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1]
-FAIL Range 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 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 25 [detachedPara1, 0, detachedPara1, 0], point 51 [comment, 0]
+PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 52 [comment, 4]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96]
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -4016,23 +3397,18 @@ PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild, -1]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 2 [paras[0].firstChild, 1]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild, 2]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 5 [paras[0].firstChild, 9]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild, 10]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild, 65535]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 9 [paras[1].firstChild, 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 10 [paras[1].firstChild, 1]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 11 [paras[1].firstChild, 2]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChild, 8]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 13 [paras[1].firstChild, 9]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChild, 10]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -4044,53 +3420,34 @@ FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.first
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentElement, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentElement, 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 26 [document.documentElement, 1]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentElement, 2]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentElement, 7]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 29 [document.head, 1]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 30 [document.body, 3]
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 35 [paras[0], 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 36 [paras[0], 1]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 37 [paras[0], 2]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 38 [paras[1], 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 39 [paras[1], 1]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 40 [paras[1], 2]
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 43 [testDiv, 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 44 [testDiv, 3]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 45 [document, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 46 [document, 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 47 [document, 1]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 48 [document, 2]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 49 [document, 3]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1]
-FAIL Range 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 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 26 [detachedPara1, 0, detachedPara1, 1], point 51 [comment, 0]
+PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 52 [comment, 4]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96]
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
@@ -4130,23 +3487,18 @@ PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0].firstChild, -1]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0].firstChild, 0]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0].firstChild, 1]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0].firstChild, 2]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0].firstChild, 8]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0].firstChild, 9]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0].firstChild, 10]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0].firstChild, 65535]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1].firstChild, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1].firstChild, 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1].firstChild, 1]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1].firstChild, 2]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1].firstChild, 8]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1].firstChild, 9]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1].firstChild, 10]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1].firstChild, 65535]
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -4164,20 +3516,12 @@ FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreig
"
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreignPara1.firstChild, 9]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [document.documentElement, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 26 [document.documentElement, 1]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 27 [document.documentElement, 2]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 29 [document.head, 1]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 30 [document.body, 3]
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
@@ -4186,37 +3530,26 @@ FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreig
"
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0], 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0], 1]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0], 2]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1], 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1], 1]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1], 2]
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv, 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv, 3]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 45 [document, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 46 [document, 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 47 [document, 1]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 48 [document, 2]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 49 [document, 3]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [comment, -1]
-FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 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 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 51 [comment, 0]
+PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 52 [comment, 4]
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [comment, 96]
FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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 "Ijklmnop
"
@@ -4283,23 +3616,18 @@ PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoctype, 0]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0].firstChild, -1]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0].firstChild, 0]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 2 [paras[0].firstChild, 1]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0].firstChild, 2]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0].firstChild, 8]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 5 [paras[0].firstChild, 9]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0].firstChild, 10]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0].firstChild, 65535]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1].firstChild, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 9 [paras[1].firstChild, 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 10 [paras[1].firstChild, 1]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 11 [paras[1].firstChild, 2]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[1].firstChild, 8]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 13 [paras[1].firstChild, 9]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[1].firstChild, 10]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[1].firstChild, 65535]
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
@@ -4317,20 +3645,12 @@ FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreig
"
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreignPara1.firstChild, 9]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [document.documentElement, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 25 [document.documentElement, 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 26 [document.documentElement, 1]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 27 [document.documentElement, 2]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 29 [document.head, 1]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 30 [document.body, 3]
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
@@ -4339,37 +3659,26 @@ FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreig
"
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 35 [paras[0], 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 36 [paras[0], 1]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 37 [paras[0], 2]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 38 [paras[1], 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 39 [paras[1], 1]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 40 [paras[1], 2]
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], 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 "Ijklmnop
"
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], 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 "Ijklmnop
"
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 43 [testDiv, 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 44 [testDiv, 3]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 45 [document, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 46 [document, 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 47 [document, 1]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 48 [document, 2]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 49 [document, 3]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [comment, -1]
-FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 51 [comment, 0]
+PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 52 [comment, 4]
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [comment, 96]
FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], 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 "Ijklmnop
"
@@ -4436,23 +3745,18 @@ PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoctype, 0]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChild, -1]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChild, 0]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 2 [paras[0].firstChild, 1]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChild, 2]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChild, 8]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 5 [paras[0].firstChild, 9]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChild, 10]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChild, 65535]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChild, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 9 [paras[1].firstChild, 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 10 [paras[1].firstChild, 1]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 11 [paras[1].firstChild, 2]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChild, 8]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 13 [paras[1].firstChild, 9]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChild, 10]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChild, 65535]
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
@@ -4464,53 +3768,34 @@ FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firs
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firstChild, 9]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.documentElement, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 25 [document.documentElement, 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 26 [document.documentElement, 1]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 27 [document.documentElement, 2]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.documentElement, 7]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 29 [document.head, 1]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 30 [document.body, 3]
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 35 [paras[0], 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 36 [paras[0], 1]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 37 [paras[0], 2]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 38 [paras[1], 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 39 [paras[1], 1]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 40 [paras[1], 2]
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 43 [testDiv, 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 44 [testDiv, 3]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 45 [document, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 46 [document, 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 47 [document, 1]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 48 [document, 2]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 49 [document, 3]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1]
-FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 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 29 [paras[0].firstChild, 3, paras[3], 1], point 51 [comment, 0]
+PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 52 [comment, 4]
PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96]
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>
FAIL Range 29 [paras[0].firstChild, 3, paras[3], 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="d" style="display:none">Yzabcdef</p>

Powered by Google App Engine
This is Rietveld 408576698