| 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 0d9cf776ec4740a116e004e7f8b7cae955d58fe4..aa947fb835fbebd3741488249e0b465726e0e5cc 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; 1470 PASS, 1200 FAIL, 0 TIMEOUT, 0 NOTRUN.
|
| +Found 2670 tests; 2640 PASS, 30 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]
|
| @@ -486,13 +486,13 @@ 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
|
| -FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 0 [], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 0 [], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 0 [], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 0 [], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 0 [], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 0 [], point 22 [foreignPara1.firstChild, 8]
|
| PASS Range 0 [], point 23 [foreignPara1.firstChild, 9]
|
| PASS Range 0 [], point 24 [document.documentElement, -1]
|
| PASS Range 0 [], point 25 [document.documentElement, 0]
|
| @@ -501,18 +501,18 @@ PASS Range 0 [], point 27 [document.documentElement, 2]
|
| PASS Range 0 [], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 0 [], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 0 [], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 0 [], point 33 [foreignDoc.head, 0]
|
| +PASS Range 0 [], point 34 [foreignDoc.body, 1]
|
| PASS Range 0 [], point 35 [paras[0], 0]
|
| PASS Range 0 [], point 36 [paras[0], 1]
|
| PASS Range 0 [], point 37 [paras[0], 2]
|
| 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
|
| +PASS Range 0 [], point 41 [detachedPara1, 0]
|
| +PASS Range 0 [], point 42 [detachedPara1, 1]
|
| PASS Range 0 [], point 43 [testDiv, 0]
|
| PASS Range 0 [], point 44 [testDiv, 3]
|
| PASS Range 0 [], point 45 [document, -1]
|
| @@ -524,35 +524,35 @@ PASS Range 0 [], point 50 [comment, -1]
|
| 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
|
| -FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 0 [], point 54 [foreignDoc, 0]
|
| +PASS Range 0 [], point 55 [foreignDoc, 1]
|
| +PASS Range 0 [], point 56 [foreignComment, 2]
|
| +PASS Range 0 [], point 57 [foreignTextNode, 0]
|
| +PASS Range 0 [], point 58 [foreignTextNode, 36]
|
| PASS Range 0 [], point 59 [xmlDoc, -1]
|
| -FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 0 [], point 60 [xmlDoc, 0]
|
| +PASS Range 0 [], point 61 [xmlDoc, 1]
|
| PASS Range 0 [], point 62 [xmlDoc, 5]
|
| -FAIL Range 0 [], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 0 [], point 63 [xmlComment, 0]
|
| +PASS Range 0 [], point 64 [xmlComment, 4]
|
| +PASS Range 0 [], point 65 [processingInstruction, 0]
|
| +PASS Range 0 [], point 66 [processingInstruction, 5]
|
| +PASS Range 0 [], point 67 [processingInstruction, 9]
|
| +PASS Range 0 [], point 68 [detachedTextNode, 0]
|
| +PASS Range 0 [], point 69 [detachedTextNode, 8]
|
| +PASS Range 0 [], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 0 [], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 0 [], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 0 [], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 0 [], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 0 [], point 75 [detachedComment, 3]
|
| +PASS Range 0 [], point 76 [detachedComment, 5]
|
| +PASS Range 0 [], point 77 [detachedForeignComment, 0]
|
| +PASS Range 0 [], point 78 [detachedForeignComment, 4]
|
| +PASS Range 0 [], point 79 [detachedXmlComment, 2]
|
| +PASS Range 0 [], point 80 [docfrag, 0]
|
| +PASS Range 0 [], point 81 [foreignDocfrag, 0]
|
| +PASS Range 0 [], point 82 [xmlDocfrag, 0]
|
| PASS Range 0 [], point 83 [doctype, 0]
|
| FAIL Range 0 [], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -576,19 +576,13 @@ PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 25 [document.documentElement, 0]
|
| @@ -597,24 +591,18 @@ PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 27 [documen
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [document.documentElement, 7]
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -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̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -626,62 +614,35 @@ PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 56 [foreignComment, 2]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc, 1]
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComment, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComment, 4]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 75 [detachedComment, 3]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 76 [detachedComment, 5]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 80 [docfrag, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype, 0]
|
| FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -705,19 +666,13 @@ PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 25 [document.documentElement, 0]
|
| @@ -726,24 +681,18 @@ PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 27 [documen
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [document.documentElement, 7]
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -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̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -755,62 +704,35 @@ PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 56 [foreignComment, 2]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc, 1]
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComment, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComment, 4]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 75 [detachedComment, 3]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 76 [detachedComment, 5]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 80 [docfrag, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype, 0]
|
| FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -834,19 +756,13 @@ PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 25 [document.documentElement, 0]
|
| @@ -855,24 +771,18 @@ PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 27 [documen
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [document.documentElement, 7]
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -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̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreignDoc.head, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 41 [detachedPara1, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -884,62 +794,35 @@ PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreignDoc, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreignDoc, 1]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 56 [foreignComment, 2]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 57 [foreignTextNode, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 58 [foreignTextNode, 36]
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc, -1]
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc, 1]
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc, 5]
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComment, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComment, 4]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [processingInstruction, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [processingInstruction, 5]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [processingInstruction, 9]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 68 [detachedTextNode, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 69 [detachedTextNode, 8]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 75 [detachedComment, 3]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 76 [detachedComment, 5]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 77 [detachedForeignComment, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 78 [detachedForeignComment, 4]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 79 [detachedXmlComment, 2]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 80 [docfrag, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreignDocfrag, 0]
|
| +PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocfrag, 0]
|
| PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype, 0]
|
| FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -963,19 +846,13 @@ PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 25 [document.documentElement, 0]
|
| @@ -984,24 +861,18 @@ PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 27 [documen
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [document.documentElement, 7]
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 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̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreignDoc.head, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 41 [detachedPara1, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1013,62 +884,35 @@ PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment
|
| 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̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreignDoc, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreignDoc, 1]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 56 [foreignComment, 2]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 57 [foreignTextNode, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 58 [foreignTextNode, 36]
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc, -1]
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc, 1]
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc, 5]
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| -FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
|
| -"
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComment, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComment, 4]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [processingInstruction, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [processingInstruction, 5]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [processingInstruction, 9]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 68 [detachedTextNode, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 69 [detachedTextNode, 8]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 75 [detachedComment, 3]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 76 [detachedComment, 5]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 77 [detachedForeignComment, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 78 [detachedForeignComment, 4]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 79 [detachedXmlComment, 2]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 80 [docfrag, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreignDocfrag, 0]
|
| +PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocfrag, 0]
|
| PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype, 0]
|
| FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1092,19 +936,13 @@ PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1
|
| 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
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0]
|
| @@ -1113,24 +951,18 @@ PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 27 [documen
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1142,62 +974,35 @@ PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment
|
| 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
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1]
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype, 0]
|
| FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1221,19 +1026,13 @@ PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1
|
| 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
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 25 [document.documentElement, 0]
|
| @@ -1242,24 +1041,18 @@ PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 27 [documen
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1271,62 +1064,35 @@ PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment
|
| 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
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 56 [foreignComment, 2]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc, 1]
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComment, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComment, 4]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detachedComment, 3]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detachedComment, 5]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype, 0]
|
| FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1350,19 +1116,13 @@ PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1
|
| 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
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 25 [document.documentElement, 0]
|
| @@ -1371,24 +1131,18 @@ PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 27 [documen
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detachedPara1, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1400,62 +1154,35 @@ PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment
|
| 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
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreignDoc, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreignDoc, 1]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 56 [foreignComment, 2]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 57 [foreignTextNode, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 58 [foreignTextNode, 36]
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc, -1]
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc, 1]
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc, 5]
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComment, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComment, 4]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [processingInstruction, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [processingInstruction, 5]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [processingInstruction, 9]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detachedTextNode, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detachedTextNode, 8]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detachedComment, 3]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detachedComment, 5]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0]
|
| +PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0]
|
| PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype, 0]
|
| FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1479,19 +1206,13 @@ PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1
|
| 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
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 25 [document.documentElement, 0]
|
| @@ -1500,24 +1221,18 @@ PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 27 [documen
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreignDoc.head, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detachedPara1, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1529,62 +1244,35 @@ PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment
|
| 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
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreignDoc, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreignDoc, 1]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 56 [foreignComment, 2]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 57 [foreignTextNode, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 58 [foreignTextNode, 36]
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc, -1]
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc, 1]
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc, 5]
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComment, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComment, 4]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [processingInstruction, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [processingInstruction, 5]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [processingInstruction, 9]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detachedTextNode, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detachedTextNode, 8]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detachedComment, 3]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detachedComment, 5]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detachedForeignComment, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detachedForeignComment, 4]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detachedXmlComment, 2]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreignDocfrag, 0]
|
| +PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocfrag, 0]
|
| PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype, 0]
|
| FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1608,13 +1296,13 @@ PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
|
| 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
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 25 [document.documentElement, 0]
|
| @@ -1623,18 +1311,18 @@ PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1646,35 +1334,35 @@ PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
|
| 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
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 56 [foreignComment, 2]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 61 [xmlDoc, 1]
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 63 [xmlComment, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 64 [xmlComment, 4]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 75 [detachedComment, 3]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 76 [detachedComment, 5]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 80 [docfrag, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 83 [doctype, 0]
|
| FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1698,13 +1386,13 @@ PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
|
| 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
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 25 [document.documentElement, 0]
|
| @@ -1713,18 +1401,18 @@ PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1736,35 +1424,35 @@ PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
|
| 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
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 56 [foreignComment, 2]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 61 [xmlDoc, 1]
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 63 [xmlComment, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 64 [xmlComment, 4]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 75 [detachedComment, 3]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 76 [detachedComment, 5]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 80 [docfrag, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 83 [doctype, 0]
|
| FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1788,13 +1476,13 @@ PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
|
| 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
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 25 [document.documentElement, 0]
|
| @@ -1803,18 +1491,18 @@ PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 33 [foreignDoc.head, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 41 [detachedPara1, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1826,35 +1514,35 @@ PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
|
| 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
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 54 [foreignDoc, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 55 [foreignDoc, 1]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 56 [foreignComment, 2]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 57 [foreignTextNode, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 58 [foreignTextNode, 36]
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 59 [xmlDoc, -1]
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 60 [xmlDoc, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 61 [xmlDoc, 1]
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 62 [xmlDoc, 5]
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 63 [xmlComment, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 64 [xmlComment, 4]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 65 [processingInstruction, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 66 [processingInstruction, 5]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 67 [processingInstruction, 9]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 68 [detachedTextNode, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 69 [detachedTextNode, 8]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 75 [detachedComment, 3]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 76 [detachedComment, 5]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 77 [detachedForeignComment, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 78 [detachedForeignComment, 4]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 79 [detachedXmlComment, 2]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 80 [docfrag, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 81 [foreignDocfrag, 0]
|
| +PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 82 [xmlDocfrag, 0]
|
| PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 83 [doctype, 0]
|
| FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1878,13 +1566,13 @@ PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12
|
| 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
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 25 [document.documentElement, 0]
|
| @@ -1893,18 +1581,18 @@ PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 27
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -1916,35 +1604,35 @@ PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50
|
| 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
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56 [foreignComment, 2]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61 [xmlDoc, 1]
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63 [xmlComment, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64 [xmlComment, 4]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75 [detachedComment, 3]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76 [detachedComment, 5]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80 [docfrag, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83 [doctype, 0]
|
| FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -1968,13 +1656,13 @@ PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12
|
| 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
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 25 [document.documentElement, 0]
|
| @@ -1983,18 +1671,18 @@ PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 27
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2006,35 +1694,35 @@ PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50
|
| 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
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56 [foreignComment, 2]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61 [xmlDoc, 1]
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63 [xmlComment, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64 [xmlComment, 4]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75 [detachedComment, 3]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76 [detachedComment, 5]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80 [docfrag, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83 [doctype, 0]
|
| FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2058,13 +1746,13 @@ PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12
|
| 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
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 25 [document.documentElement, 0]
|
| @@ -2073,18 +1761,18 @@ PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 27
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33 [foreignDoc.head, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41 [detachedPara1, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2096,35 +1784,35 @@ PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50
|
| 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
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54 [foreignDoc, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55 [foreignDoc, 1]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56 [foreignComment, 2]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57 [foreignTextNode, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58 [foreignTextNode, 36]
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59 [xmlDoc, -1]
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60 [xmlDoc, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61 [xmlDoc, 1]
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62 [xmlDoc, 5]
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63 [xmlComment, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64 [xmlComment, 4]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65 [processingInstruction, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66 [processingInstruction, 5]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67 [processingInstruction, 9]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68 [detachedTextNode, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 69 [detachedTextNode, 8]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75 [detachedComment, 3]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76 [detachedComment, 5]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77 [detachedForeignComment, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78 [detachedForeignComment, 4]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79 [detachedXmlComment, 2]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80 [docfrag, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81 [foreignDocfrag, 0]
|
| +PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82 [xmlDocfrag, 0]
|
| PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83 [doctype, 0]
|
| FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2148,19 +1836,13 @@ PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
|
| 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>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 25 [document.documentElement, 0]
|
| @@ -2169,24 +1851,18 @@ PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 28 [document.documentElement, 7]
|
| 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>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
|
| -<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...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2198,62 +1874,35 @@ PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
|
| 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...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 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 <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 56 [foreignComment, 2]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 61 [xmlDoc, 1]
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 63 [xmlComment, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 64 [xmlComment, 4]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 75 [detachedComment, 3]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 76 [detachedComment, 5]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 80 [docfrag, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 83 [doctype, 0]
|
| FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2277,19 +1926,13 @@ PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
|
| 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>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1] 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>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8] 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>
|
| -<me...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 25 [document.documentElement, 0]
|
| @@ -2298,24 +1941,18 @@ PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 28 [document.documentElement, 7]
|
| 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>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<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...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 33 [foreignDoc.head, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 41 [detachedPara1, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2327,62 +1964,35 @@ PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
|
| 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...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 54 [foreignDoc, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 55 [foreignDoc, 1]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 56 [foreignComment, 2]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 57 [foreignTextNode, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 58 [foreignTextNode, 36]
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 59 [xmlDoc, -1]
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 60 [xmlDoc, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 61 [xmlDoc, 1]
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 62 [xmlDoc, 5]
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 63 [xmlComment, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 64 [xmlComment, 4]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 65 [processingInstruction, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 66 [processingInstruction, 5]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 67 [processingInstruction, 9]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 68 [detachedTextNode, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 69 [detachedTextNode, 8]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 75 [detachedComment, 3]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 76 [detachedComment, 5]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 77 [detachedForeignComment, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 78 [detachedForeignComment, 4]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 79 [detachedXmlComment, 2]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 80 [docfrag, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 81 [foreignDocfrag, 0]
|
| +PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 82 [xmlDocfrag, 0]
|
| PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point 83 [doctype, 0]
|
| FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2406,19 +2016,13 @@ PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
|
| 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>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1] 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>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8] 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>
|
| -<me...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 25 [document.documentElement, 0]
|
| @@ -2427,24 +2031,18 @@ PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 28 [document.documentElement, 7]
|
| 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>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<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...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 33 [foreignDoc.head, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 41 [detachedPara1, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2456,62 +2054,35 @@ PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
|
| 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...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], 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 <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 54 [foreignDoc, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 55 [foreignDoc, 1]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 56 [foreignComment, 2]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 57 [foreignTextNode, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 58 [foreignTextNode, 36]
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 59 [xmlDoc, -1]
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 60 [xmlDoc, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 61 [xmlDoc, 1]
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 62 [xmlDoc, 5]
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| -FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <html><head><title>Selection.collapse() tests</title>
|
| -<me...
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 63 [xmlComment, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 64 [xmlComment, 4]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 65 [processingInstruction, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 66 [processingInstruction, 5]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 67 [processingInstruction, 9]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 68 [detachedTextNode, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 69 [detachedTextNode, 8]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 75 [detachedComment, 3]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 76 [detachedComment, 5]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 77 [detachedForeignComment, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 78 [detachedForeignComment, 4]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 79 [detachedXmlComment, 2]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 80 [docfrag, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 81 [foreignDocfrag, 0]
|
| +PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0]
|
| PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 83 [doctype, 0]
|
| FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2535,19 +2106,13 @@ PASS Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChil
|
| 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>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 18 [document.head, 1, document.head, 1], point 25 [document.documentElement, 0]
|
| @@ -2556,24 +2121,18 @@ PASS Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE
|
| 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]
|
| 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>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
|
| -<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...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2585,62 +2144,35 @@ PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1]
|
| 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...
|
| -FAIL Range 18 [document.head, 1, document.head, 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 <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1]
|
| PASS Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| -FAIL Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <head><title>Selection.collapse() tests</title>
|
| -<meta nam...
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 75 [detachedComment, 3]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 76 [detachedComment, 5]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 80 [docfrag, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0]
|
| FAIL Range 18 [document.head, 1, document.head, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2664,19 +2196,13 @@ PASS Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChil
|
| 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̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <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 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <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 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 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 <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 19 [document.body, 0, document.body, 1], point 25 [document.documentElement, 0]
|
| @@ -2685,24 +2211,18 @@ PASS Range 19 [document.body, 0, document.body, 1], point 27 [document.documentE
|
| PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentElement, 7]
|
| 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̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 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 <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 34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2714,62 +2234,35 @@ PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1]
|
| 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...
|
| -FAIL Range 19 [document.body, 0, document.body, 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 <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 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <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 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <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 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1]
|
| PASS Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <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 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <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 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <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 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <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 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <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 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| -FAIL Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p><p id...
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 75 [detachedComment, 3]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0]
|
| FAIL Range 19 [document.body, 0, document.body, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2793,13 +2286,13 @@ PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
|
| 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
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 25 [document.documentElement, 0]
|
| @@ -2808,18 +2301,18 @@ PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2831,35 +2324,35 @@ PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
|
| 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
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 56 [foreignComment, 2]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 61 [xmlDoc, 1]
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 63 [xmlComment, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 64 [xmlComment, 4]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 75 [detachedComment, 3]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 76 [detachedComment, 5]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 80 [docfrag, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 83 [doctype, 0]
|
| FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2883,13 +2376,13 @@ PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].first
|
| 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
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 25 [document.documentElement, 0]
|
| @@ -2898,18 +2391,18 @@ PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 27 [document.docum
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -2921,35 +2414,35 @@ PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1]
|
| 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
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment, 2]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1]
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedComment, 3]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 76 [detachedComment, 5]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0]
|
| FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -2973,13 +2466,13 @@ PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].first
|
| 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
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.firstChild, 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 18 [detachedPara1.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 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.firstChild, 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 21 [foreignPara1.firstChild, 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 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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 25 [document.documentElement, 0]
|
| @@ -2988,18 +2481,18 @@ PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 27 [document.docum
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3011,35 +2504,35 @@ PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1]
|
| 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
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNode, 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 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment, 2]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 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 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1]
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 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 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInstruction, 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 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNode, 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 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 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 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 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 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeignComment, 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 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 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 81 [foreignDocfrag, 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 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedComment, 3]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedComment, 5]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0]
|
| FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3063,19 +2556,13 @@ 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̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0]
|
| @@ -3084,24 +2571,18 @@ 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]
|
| 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̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -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 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0]
|
| 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]
|
| 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>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3113,62 +2594,35 @@ PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1]
|
| 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>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 56 [foreignComment, 2]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 75 [detachedComment, 3]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 76 [detachedComment, 5]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 80 [docfrag, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0]
|
| FAIL Range 23 [paras[0], 0, paras[0], 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3192,19 +2646,13 @@ 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̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0]
|
| @@ -3213,24 +2661,18 @@ 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]
|
| 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̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</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>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 41 [detachedPara1, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3242,62 +2684,35 @@ PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1]
|
| 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>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 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="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 56 [foreignComment, 2]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36]
|
| PASS Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1]
|
| PASS Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| -FAIL Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
|
| -</p>
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 75 [detachedComment, 3]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 76 [detachedComment, 5]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 80 [docfrag, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0]
|
| FAIL Range 24 [paras[0], 0, paras[0], 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3321,13 +2736,13 @@ PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChil
|
| 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
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.firstChild, 8]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.firstChild, 9]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentElement, -1]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 25 [document.documentElement, 0]
|
| @@ -3336,18 +2751,18 @@ PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 27 [document.documentE
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3359,35 +2774,35 @@ PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1]
|
| 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
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0]
|
| FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3411,13 +2826,13 @@ PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChil
|
| 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
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.firstChild, 8]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.firstChild, 9]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentElement, -1]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentElement, 0]
|
| @@ -3426,18 +2841,18 @@ PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentE
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentElement, 7]
|
| 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
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3449,35 +2864,35 @@ PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1]
|
| 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
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 36]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| -FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruction, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruction, 5]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruction, 9]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0]
|
| FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3501,19 +2916,13 @@ PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[
|
| 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
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 25 [document.documentElement, 0]
|
| @@ -3522,24 +2931,18 @@ PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 27 [docume
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreignDoc.head, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 41 [detachedPara1, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3551,62 +2954,35 @@ PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [commen
|
| 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
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreignDoc, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreignDoc, 1]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreignComment, 2]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreignTextNode, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreignTextNode, 36]
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc, -1]
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc, 1]
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc, 5]
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComment, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComment, 4]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [processingInstruction, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [processingInstruction, 5]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [processingInstruction, 9]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detachedTextNode, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detachedTextNode, 8]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detachedComment, 3]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detachedComment, 5]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detachedForeignComment, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detachedForeignComment, 4]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detachedXmlComment, 2]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreignDocfrag, 0]
|
| +PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocfrag, 0]
|
| PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype, 0]
|
| FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3630,19 +3006,13 @@ PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[
|
| 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
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 25 [document.documentElement, 0]
|
| @@ -3651,24 +3021,18 @@ PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 27 [docume
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [document.documentElement, 7]
|
| 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
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <head><title></title></head> but got Text node "Ijklmnop
|
| -"
|
| -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
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreignDoc.head, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 41 [detachedPara1, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3680,62 +3044,35 @@ PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [commen
|
| 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
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 3 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreignDoc, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreignDoc, 1]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreignComment, 2]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreignTextNode, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreignTextNode, 36]
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc, -1]
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc, 1]
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc, 5]
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| -FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Text node "Ijklmnop
|
| -"
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlComment, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlComment, 4]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [processingInstruction, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [processingInstruction, 5]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [processingInstruction, 9]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detachedTextNode, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detachedTextNode, 8]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detachedComment, 3]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detachedComment, 5]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detachedForeignComment, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detachedForeignComment, 4]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detachedXmlComment, 2]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfrag, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreignDocfrag, 0]
|
| +PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDocfrag, 0]
|
| PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctype, 0]
|
| FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
| @@ -3759,13 +3096,13 @@ PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChi
|
| 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>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 16 [detachedPara1.firstChild, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.firstChild, 1]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.firstChild, 8]
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.firstChild, 9]
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -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 20 [foreignPara1.firstChild, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firstChild, 1]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firstChild, 8]
|
| 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]
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 25 [document.documentElement, 0]
|
| @@ -3774,18 +3111,18 @@ PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 27 [document.document
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.documentElement, 7]
|
| 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>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 31 [foreignDoc.documentElement, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 32 [foreignDoc.documentElement, 1]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body, 1]
|
| 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]
|
| 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>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 41 [detachedPara1, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 42 [detachedPara1, 1]
|
| 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]
|
| @@ -3797,35 +3134,35 @@ PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1]
|
| 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>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--"Commenter" and "commentator" mean different things. I'v...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to expected Text node "I admit that I harbor doubts about whether we really need..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 54 [foreignDoc, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 55 [foreignDoc, 1]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode, 36]
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1]
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1]
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5]
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--I maliciously created a comment that will break incautiou...--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to expected ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp" but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--×ריה יהודה--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| -FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expected DocumentFragment node with 0 children but got Element node <p id="d" style="display:none">Yzabcdef</p>
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruction, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruction, 5]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruction, 9]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode, 8]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTextNode, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTextNode, 8]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNode, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNode, 8]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessingInstruction, 12]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment, 3]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment, 5]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignComment, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignComment, 4]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlComment, 2]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0]
|
| +PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0]
|
| PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0]
|
| FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
|
| selection.collapse(point[0], point[1]);
|
|
|