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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt

Issue 2680943004: Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2017-02-14T18:34:24 Update test expectation for crrev.com/2694043004 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 8: The given range isn't in document. 1 CONSOLE ERROR: line 8: The given range isn't in document.
2 CONSOLE ERROR: line 8: The given range isn't in document. 2 CONSOLE ERROR: line 8: The given range isn't in document.
3 CONSOLE ERROR: line 8: The given range isn't in document. 3 CONSOLE ERROR: line 8: The given range isn't in document.
4 CONSOLE ERROR: line 8: The given range isn't in document. 4 CONSOLE ERROR: line 8: The given range isn't in document.
5 CONSOLE ERROR: line 8: The given range isn't in document. 5 CONSOLE ERROR: line 8: The given range isn't in document.
6 CONSOLE ERROR: line 8: The given range isn't in document. 6 CONSOLE ERROR: line 8: The given range isn't in document.
7 CONSOLE ERROR: line 8: The given range isn't in document. 7 CONSOLE ERROR: line 8: The given range isn't in document.
8 CONSOLE ERROR: line 8: The given range isn't in document. 8 CONSOLE ERROR: line 8: The given range isn't in document.
9 CONSOLE ERROR: line 8: The given range isn't in document. 9 CONSOLE ERROR: line 8: The given range isn't in document.
10 CONSOLE ERROR: line 8: The given range isn't in document. 10 CONSOLE ERROR: line 8: The given range isn't in document.
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0] .firstChild, -1] 1198 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0] .firstChild, -1]
1199 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0] .firstChild, 0] 1199 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0] .firstChild, 0]
1200 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 1200 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
1201 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0] .firstChild, 2] 1201 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0] .firstChild, 2]
1202 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0] .firstChild, 8] 1202 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0] .firstChild, 8]
1203 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 1203 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
1204 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0] .firstChild, 10] 1204 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0] .firstChild, 10]
1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0] .firstChild, 65535] 1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0] .firstChild, 65535]
1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1] .firstChild, -1] 1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1] .firstChild, -1]
1207 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1] .firstChild, 0] 1207 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1] .firstChild, 0]
1208 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1 ].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 0 1208 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1 ].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1209 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1 ].firstChild, 2] assert_equals: focusOffset must equal the offset we collapse()d to expected 2 but got 0 1209 " but got Text node "Qrstuvwx"
1210 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1 ].firstChild, 8] assert_equals: focusOffset must equal the offset we collapse()d to expected 8 but got 0 1210 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1 ].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1211 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1 ].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 0 1211 " but got Text node "Qrstuvwx"
1212 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1 ].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1213 " but got Text node "Qrstuvwx"
1214 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1 ].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1215 " but got Text node "Qrstuvwx"
1212 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1 ].firstChild, 10] 1216 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1 ].firstChild, 10]
1213 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1 ].firstChild, 65535] 1217 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1 ].firstChild, 65535]
1214 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1218 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1215 " 1219 "
1216 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1220 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1217 " 1221 "
1218 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1222 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1219 " 1223 "
1220 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache dPara1.firstChild, 9] 1224 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache dPara1.firstChild, 9]
1221 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop 1225 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
(...skipping 27 matching lines...) Expand all
1249 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop 1253 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop
1250 " 1254 "
1251 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1255 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1252 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1256 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1253 " 1257 "
1254 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1258 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1255 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1259 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1256 " 1260 "
1257 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0 ], 2] 1261 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0 ], 2]
1258 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1262 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1259 </p> but got Text node "Ijklmnop 1263 </p> but got Text node "Qrstuvwx"
1260 "
1261 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1264 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1262 </p> but got Text node "Ijklmnop 1265 </p> but got Text node "Qrstuvwx"
1263 "
1264 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1 ], 2] 1266 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1 ], 2]
1265 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1267 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1266 " 1268 "
1267 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1269 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1268 " 1270 "
1269 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1271 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1270 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1272 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1271 " 1273 "
1272 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1274 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1273 </p><p id="b" s... but got Text node "Qrstuvwx" 1275 </p><p id="b" s... but got Text node "Qrstuvwx"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct ype, 0] 1349 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct ype, 0]
1348 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0] .firstChild, -1] 1350 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0] .firstChild, -1]
1349 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0] .firstChild, 0] 1351 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0] .firstChild, 0]
1350 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 1352 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
1351 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0] .firstChild, 2] 1353 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0] .firstChild, 2]
1352 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0] .firstChild, 8] 1354 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0] .firstChild, 8]
1353 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 1355 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
1354 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0] .firstChild, 10] 1356 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0] .firstChild, 10]
1355 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0] .firstChild, 65535] 1357 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0] .firstChild, 65535]
1356 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1] .firstChild, -1] 1358 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1] .firstChild, -1]
1357 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1] .firstChild, 0] assert_equals: focusOffset must equal the offset we collapse()d to expected 0 but got 1 1359 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1] .firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Text node "Ijklmnop
1358 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1 ].firstChild, 1] assert_equals: focusOffset and anchorOffset must be equal after collapse() expected 0 but got 1 1360 " but got Text node "Qrstuvwx"
1359 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1 ].firstChild, 2] assert_equals: focusOffset must equal the offset we collapse()d to expected 2 but got 1 1361 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1 ].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1360 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1 ].firstChild, 8] assert_equals: focusOffset must equal the offset we collapse()d to expected 8 but got 1 1362 " but got Text node "Qrstuvwx"
1361 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1 ].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1 1363 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1 ].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1364 " but got Text node "Qrstuvwx"
1365 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1 ].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1366 " but got Text node "Qrstuvwx"
1367 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1 ].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1368 " but got Text node "Qrstuvwx"
1362 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1 ].firstChild, 10] 1369 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1 ].firstChild, 10]
1363 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1 ].firstChild, 65535] 1370 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1 ].firstChild, 65535]
1364 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1371 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1365 " 1372 "
1366 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1373 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1367 " 1374 "
1368 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1375 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1369 " 1376 "
1370 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache dPara1.firstChild, 9] 1377 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache dPara1.firstChild, 9]
1371 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop 1378 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
(...skipping 27 matching lines...) Expand all
1399 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop 1406 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop
1400 " 1407 "
1401 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1408 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1402 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1409 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1403 " 1410 "
1404 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1411 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1405 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1412 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1406 " 1413 "
1407 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0 ], 2] 1414 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0 ], 2]
1408 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1415 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1409 </p> but got Text node "Ijklmnop 1416 </p> but got Text node "Qrstuvwx"
1410 "
1411 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1417 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1412 </p> but got Text node "Ijklmnop 1418 </p> but got Text node "Qrstuvwx"
1413 "
1414 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1 ], 2] 1419 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1 ], 2]
1415 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1420 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1416 " 1421 "
1417 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1422 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1418 " 1423 "
1419 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1424 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1420 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1425 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1421 " 1426 "
1422 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1427 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1423 </p><p id="b" s... but got Text node "Qrstuvwx" 1428 </p><p id="b" s... but got Text node "Qrstuvwx"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct ype, 0] 1502 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct ype, 0]
1498 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0] .firstChild, -1] 1503 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0] .firstChild, -1]
1499 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0] .firstChild, 0] 1504 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0] .firstChild, 0]
1500 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 1505 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
1501 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0] .firstChild, 2] 1506 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0] .firstChild, 2]
1502 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0] .firstChild, 8] 1507 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0] .firstChild, 8]
1503 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 1508 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
1504 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0] .firstChild, 10] 1509 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0] .firstChild, 10]
1505 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0] .firstChild, 65535] 1510 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0] .firstChild, 65535]
1506 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1] .firstChild, -1] 1511 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1] .firstChild, -1]
1507 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1] .firstChild, 0] assert_equals: focusOffset must equal the offset we collapse()d to expected 0 but got 8 1512 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1] .firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Text node "Ijklmnop
1508 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1 ].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 8 1513 " but got Text node "Qrstuvwx"
1509 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1 ].firstChild, 2] assert_equals: focusOffset must equal the offset we collapse()d to expected 2 but got 8 1514 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1 ].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1510 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1 ].firstChild, 8] assert_equals: focusOffset and anchorOffset must be equal after collapse() expected 2 but got 8 1515 " but got Text node "Qrstuvwx"
1511 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1 ].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 8 1516 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1 ].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1517 " but got Text node "Qrstuvwx"
1518 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1 ].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1519 " but got Text node "Qrstuvwx"
1520 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1 ].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1521 " but got Text node "Qrstuvwx"
1512 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1 ].firstChild, 10] 1522 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1 ].firstChild, 10]
1513 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1 ].firstChild, 65535] 1523 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1 ].firstChild, 65535]
1514 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1524 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1515 " 1525 "
1516 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1526 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1517 " 1527 "
1518 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1528 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1519 " 1529 "
1520 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache dPara1.firstChild, 9] 1530 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache dPara1.firstChild, 9]
1521 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop 1531 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
(...skipping 27 matching lines...) Expand all
1549 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop 1559 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop
1550 " 1560 "
1551 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1561 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1552 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1562 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1553 " 1563 "
1554 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1564 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1555 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1565 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1556 " 1566 "
1557 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0 ], 2] 1567 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0 ], 2]
1558 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1568 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1559 </p> but got Text node "Ijklmnop 1569 </p> but got Text node "Qrstuvwx"
1560 "
1561 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1570 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1562 </p> but got Text node "Ijklmnop 1571 </p> but got Text node "Qrstuvwx"
1563 "
1564 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1 ], 2] 1572 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1 ], 2]
1565 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1573 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1566 " 1574 "
1567 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1575 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1568 " 1576 "
1569 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1577 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1570 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1578 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1571 " 1579 "
1572 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1580 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1573 </p><p id="b" s... but got Text node "Qrstuvwx" 1581 </p><p id="b" s... but got Text node "Qrstuvwx"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct ype, 0] 1655 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct ype, 0]
1648 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0] .firstChild, -1] 1656 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0] .firstChild, -1]
1649 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0] .firstChild, 0] 1657 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0] .firstChild, 0]
1650 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 1658 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0] .firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
1651 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0] .firstChild, 2] 1659 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0] .firstChild, 2]
1652 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0] .firstChild, 8] 1660 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0] .firstChild, 8]
1653 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 1661 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0] .firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
1654 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0] .firstChild, 10] 1662 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0] .firstChild, 10]
1655 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0] .firstChild, 65535] 1663 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0] .firstChild, 65535]
1656 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1] .firstChild, -1] 1664 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1] .firstChild, -1]
1657 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1] .firstChild, 0] assert_equals: focusOffset must equal the offset we collapse()d to expected 0 but got 9 1665 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1] .firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Text node "Ijklmnop
1658 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1 ].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 9 1666 " but got Text node "Qrstuvwx"
1659 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1 ].firstChild, 2] assert_equals: focusOffset must equal the offset we collapse()d to expected 2 but got 9 1667 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1 ].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1660 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1 ].firstChild, 8] assert_equals: focusOffset must equal the offset we collapse()d to expected 8 but got 9 1668 " but got Text node "Qrstuvwx"
1661 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1 ].firstChild, 9] assert_equals: focusOffset and anchorOffset must be equal after collapse() expected 2 but got 9 1669 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1 ].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1670 " but got Text node "Qrstuvwx"
1671 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1 ].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1672 " but got Text node "Qrstuvwx"
1673 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1 ].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Ijklmnop
1674 " but got Text node "Qrstuvwx"
1662 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1 ].firstChild, 10] 1675 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1 ].firstChild, 10]
1663 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1 ].firstChild, 65535] 1676 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1 ].firstChild, 65535]
1664 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1677 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detache dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1665 " 1678 "
1666 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1679 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detache dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1667 " 1680 "
1668 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop 1681 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detache dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse() d to expected Text node "Opqrstuv" but got Text node "Ijklmnop
1669 " 1682 "
1670 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache dPara1.firstChild, 9] 1683 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache dPara1.firstChild, 9]
1671 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop 1684 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreign Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to expected Text node "Efghijkl" but got Text node "Ijklmnop
(...skipping 27 matching lines...) Expand all
1699 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop 1712 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreign Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b ut got Text node "Ijklmnop
1700 " 1713 "
1701 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1714 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1702 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1715 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1703 " 1716 "
1704 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1717 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1705 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1718 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1706 " 1719 "
1707 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0 ], 2] 1720 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0 ], 2]
1708 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1721 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1 ], 0] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1709 </p> but got Text node "Ijklmnop 1722 </p> but got Text node "Qrstuvwx"
1710 "
1711 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop 1723 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1 ], 1] assert_equals: focusNode must equal the node we collapse()d to expected El ement node <p id="b" style="display:none">Ijklmnop
1712 </p> but got Text node "Ijklmnop 1724 </p> but got Text node "Qrstuvwx"
1713 "
1714 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1 ], 2] 1725 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1 ], 2]
1715 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1726 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detache dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1716 " 1727 "
1717 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop 1728 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detache dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop
1718 " 1729 "
1719 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1730 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv , 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1720 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1731 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1721 " 1732 "
1722 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1733 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv , 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1723 </p><p id="b" s... but got Text node "Qrstuvwx" 1734 </p><p id="b" s... but got Text node "Qrstuvwx"
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
2473 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll apse() expected 1 but got 0 2484 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll apse() expected 1 but got 0
2474 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 2485 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
2475 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83 [doctype, 0] 2486 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83 [doctype, 0]
2476 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i ng if the node is a DocumentType function "function () { 2487 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i ng if the node is a DocumentType function "function () {
2477 selection.collapse(point[0], point[1]); 2488 selection.collapse(point[0], point[1]);
2478 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24 2489 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24
2479 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85 [doctype, 1] 2490 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85 [doctype, 1]
2480 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86 [foreignDoctype, 0] 2491 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86 [foreignDoctype, 0]
2481 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87 [xmlDoctype, 0] 2492 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87 [xmlDoctype, 0]
2482 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 0 [paras[0].firstChild, -1] 2493 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 0 [paras[0].firstChild, -1]
2483 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 1 [paras[0].firstChild, 0] assert_equals: focusNode must equal the node we colla pse()d to expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 2494 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 1 [paras[0].firstChild, 0]
2484 " but got Element node <html><head><title>Selection.collapse() tests</title>
2485 <me...
2486 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c ollapse()d to expected 1 but got 2 2495 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c ollapse()d to expected 1 but got 2
2487 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 3 [paras[0].firstChild, 2] 2496 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 3 [paras[0].firstChild, 2]
2488 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 4 [paras[0].firstChild, 8] 2497 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 4 [paras[0].firstChild, 8]
2489 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c ollapse()d to expected 9 but got 10 2498 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c ollapse()d to expected 9 but got 10
2490 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 6 [paras[0].firstChild, 10] 2499 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 6 [paras[0].firstChild, 10]
2491 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 7 [paras[0].firstChild, 65535] 2500 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 7 [paras[0].firstChild, 65535]
2492 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 8 [paras[1].firstChild, -1] 2501 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 8 [paras[1].firstChild, -1]
2493 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla pse()d to expected Text node "Ijklmnop 2502 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla pse()d to expected Text node "Ijklmnop
2494 " but got Text node "Qrstuvwx" 2503 " but got Text node "Qrstuvwx"
2495 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll apse()d to expected Text node "Ijklmnop 2504 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll apse()d to expected Text node "Ijklmnop
(...skipping 14 matching lines...) Expand all
2510 <me... 2519 <me...
2511 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 19 [detachedPara1.firstChild, 9] 2520 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 19 [detachedPara1.firstChild, 9]
2512 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><t itle>Selection.collapse() tests</title> 2521 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><t itle>Selection.collapse() tests</title>
2513 <me... 2522 <me...
2514 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><t itle>Selection.collapse() tests</title> 2523 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><t itle>Selection.collapse() tests</title>
2515 <me... 2524 <me...
2516 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><t itle>Selection.collapse() tests</title> 2525 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><t itle>Selection.collapse() tests</title>
2517 <me... 2526 <me...
2518 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 23 [foreignPara1.firstChild, 9] 2527 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 23 [foreignPara1.firstChild, 9]
2519 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 24 [document.documentElement, -1] 2528 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 24 [document.documentElement, -1]
2520 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 25 [document.documentElement, 0] assert_equals: focusOffset must equal the offse t we collapse()d to expected 0 but got 1 2529 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() te sts</title>
2521 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 26 [document.documentElement, 1] assert_equals: focusOffset and anchorOffset mus t be equal after collapse() expected 0 but got 1 2530 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2531 "
2532 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() te sts</title>
2533 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2534 "
2522 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() te sts</title> 2535 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() te sts</title>
2523 <me... but got Text node "Qrstuvwx" 2536 <me... but got Text node "Qrstuvwx"
2524 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 28 [document.documentElement, 7] 2537 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 28 [document.documentElement, 7]
2525 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse() d to expected Element node <head><title>Selection.collapse() tests</title> 2538 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 29 [document.head, 1] assert_equals: focusNode must equal the node we collapse() d to expected Element node <head><title>Selection.collapse() tests</title>
2526 <meta nam... but got Element node <html><head><title>Selection.collapse() tests< /title> 2539 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2527 <me... 2540 "
2528 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse() d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2541 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse() d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2529 </p><p id... but got Text node "Qrstuvwx" 2542 </p><p id... but got Text node "Qrstuvwx"
2530 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> 2543 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>
2531 <me... 2544 <me...
2532 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> 2545 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>
2533 <me... 2546 <me...
2534 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> 2547 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>
2535 <me... 2548 <me...
2536 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</ti tle> 2549 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</ti tle>
2537 <me... 2550 <me...
2538 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2551 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2539 </p> but got Element node <html><head><title>Selection.collapse() tests</title> 2552 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2540 <me... 2553 "
2541 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2554 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2542 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2555 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2543 " 2556 "
2544 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 37 [paras[0], 2] 2557 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 37 [paras[0], 2]
2545 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 2558 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
2546 </p> but got Text node "Qrstuvwx" 2559 </p> but got Text node "Qrstuvwx"
2547 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 2560 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
2548 </p> but got Text node "Qrstuvwx" 2561 </p> but got Text node "Qrstuvwx"
2549 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 40 [paras[1], 2] 2562 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 40 [paras[1], 2]
2550 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><tit le>Selection.collapse() tests</title> 2563 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><tit le>Selection.collapse() tests</title>
2551 <me... 2564 <me...
2552 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><tit le>Selection.collapse() tests</title> 2565 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><tit le>Selection.collapse() tests</title>
2553 <me... 2566 <me...
2554 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2567 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2555 </p><p id="b" s... but got Element node <html><head><title>Selection.collapse() tests</title> 2568 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2556 <me... 2569 "
2557 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2570 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2558 </p><p id="b" s... but got Text node "Qrstuvwx" 2571 </p><p id="b" s... but got Text node "Qrstuvwx"
2559 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 45 [document, -1] 2572 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 45 [document, -1]
2560 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Element node <html><head><title>S election.collapse() tests</title> 2573 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2561 <me... 2574 "
2562 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Element node <html><head><title>S election.collapse() tests</title> 2575 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2563 <me... 2576 "
2564 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx" 2577 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
2565 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 49 [document, 3] 2578 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 49 [document, 3]
2566 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 50 [comment, -1] 2579 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 50 [comment, -1]
2567 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 2580 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
2568 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 2581 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
2569 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 53 [comment, 96] 2582 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point 53 [comment, 96]
2570 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t o expected Document node with 3 children but got Element node <html><head><title >Selection.collapse() tests</title> 2583 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t o expected Document node with 3 children but got Element node <html><head><title >Selection.collapse() tests</title>
2571 <me... 2584 <me...
2572 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t o expected Document node with 3 children but got Element node <html><head><title >Selection.collapse() tests</title> 2585 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point 55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t o expected Document node with 3 children but got Element node <html><head><title >Selection.collapse() tests</title>
2573 <me... 2586 <me...
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
2930 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t o expected DocumentFragment node with 0 children but got Element node <html><hea d><title>Selection.collapse() tests</title> 2943 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point 82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t o expected DocumentFragment node with 0 children but got Element node <html><hea d><title>Selection.collapse() tests</title>
2931 <me... 2944 <me...
2932 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 83 [doctype, 0] 2945 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 83 [doctype, 0]
2933 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 () { 2946 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 () {
2934 selection.collapse(point[0], point[1]); 2947 selection.collapse(point[0], point[1]);
2935 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24 2948 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24
2936 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 85 [doctype, 1] 2949 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 85 [doctype, 1]
2937 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 86 [foreignDoctype, 0] 2950 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 86 [foreignDoctype, 0]
2938 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 87 [xmlDoctype, 0] 2951 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point 87 [xmlDoctype, 0]
2939 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild , -1] 2952 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild , -1]
2940 FAIL Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild , 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex t node "Äb̈c̈d̈ëf̈g̈ḧ 2953 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild , 0]
2941 " but got Element node <head><title>Selection.collapse() tests</title>
2942 <meta nam...
2943 FAIL Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild , 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 2954 FAIL Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild , 1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
2944 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild , 2] 2955 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild , 2]
2945 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild , 8] 2956 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild , 8]
2946 FAIL Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild , 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 2957 FAIL Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild , 9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
2947 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild , 10] 2958 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild , 10]
2948 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild , 65535] 2959 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild , 65535]
2949 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild , -1] 2960 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild , -1]
2950 FAIL Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild , 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex t node "Ijklmnop 2961 FAIL Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild , 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex t node "Ijklmnop
2951 " but got Text node "Qrstuvwx" 2962 " but got Text node "Qrstuvwx"
2952 FAIL Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChil d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te xt node "Ijklmnop 2963 FAIL Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChil d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te xt node "Ijklmnop
(...skipping 15 matching lines...) Expand all
2968 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs tChild, 9] 2979 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs tChild, 9]
2969 FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.first Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title> 2980 FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.first Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title>
2970 <meta nam... 2981 <meta nam...
2971 FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.first Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title> 2982 FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.first Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title>
2972 <meta nam... 2983 <meta nam...
2973 FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title> 2984 FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te sts</title>
2974 <meta nam... 2985 <meta nam...
2975 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first Child, 9] 2986 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first Child, 9]
2976 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE lement, -1] 2987 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE lement, -1]
2977 FAIL Range 18 [document.head, 1, document.head, 1], point 25 [document.documentE lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title> 2988 FAIL Range 18 [document.head, 1, document.head, 1], point 25 [document.documentE lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title>
2978 <me... but got Element node <head><title>Selection.collapse() tests</title> 2989 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2979 <meta nam... 2990 "
2980 FAIL Range 18 [document.head, 1, document.head, 1], point 26 [document.documentE lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title> 2991 FAIL Range 18 [document.head, 1, document.head, 1], point 26 [document.documentE lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title>
2981 <me... but got Element node <head><title>Selection.collapse() tests</title> 2992 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2982 <meta nam... 2993 "
2983 FAIL Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title> 2994 FAIL Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect ed Element node <html><head><title>Selection.collapse() tests</title>
2984 <me... but got Text node "Qrstuvwx" 2995 <me... but got Text node "Qrstuvwx"
2985 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE lement, 7] 2996 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE lement, 7]
2986 PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1] 2997 PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1]
2987 FAIL Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2998 FAIL Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2988 </p><p id... but got Text node "Qrstuvwx" 2999 </p><p id... but got Text node "Qrstuvwx"
2989 FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documen tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b ut got Element node <head><title>Selection.collapse() tests</title> 3000 FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documen tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b ut got Element node <head><title>Selection.collapse() tests</title>
2990 <meta nam... 3001 <meta nam...
2991 FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documen tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b ut got Element node <head><title>Selection.collapse() tests</title> 3002 FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documen tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b ut got Element node <head><title>Selection.collapse() tests</title>
2992 <meta nam... 3003 <meta nam...
2993 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 Elemen t node <head><title></title></head> but got Element node <head><title>Selection. collapse() tests</title> 3004 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 Elemen t node <head><title></title></head> but got Element node <head><title>Selection. collapse() tests</title>
2994 <meta nam... 3005 <meta nam...
2995 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 Elemen t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem ent node <head><title>Selection.collapse() tests</title> 3006 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 Elemen t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem ent node <head><title>Selection.collapse() tests</title>
2996 <meta nam... 3007 <meta nam...
2997 FAIL Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3008 FAIL Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2998 </p> but got Element node <head><title>Selection.collapse() tests</title> 3009 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2999 <meta nam... 3010 "
3000 FAIL Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3011 FAIL Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3001 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3012 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3002 " 3013 "
3003 PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2] 3014 PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2]
3004 FAIL Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 3015 FAIL Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
3005 </p> but got Text node "Qrstuvwx" 3016 </p> but got Text node "Qrstuvwx"
3006 FAIL Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 3017 FAIL Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] asser t_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
3007 </p> but got Text node "Qrstuvwx" 3018 </p> but got Text node "Qrstuvwx"
3008 PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2] 3019 PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2]
3009 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() test s</title> 3020 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() test s</title>
3010 <meta nam... 3021 <meta nam...
3011 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() test s</title> 3022 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() test s</title>
3012 <meta nam... 3023 <meta nam...
3013 FAIL Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] assert _equals: focusNode must equal the node we collapse()d to expected Element node < div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3024 FAIL Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] assert _equals: focusNode must equal the node we collapse()d to expected Element node < div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3014 </p><p id="b" s... but got Element node <head><title>Selection.collapse() tests< /title> 3025 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3015 <meta nam... 3026 "
3016 FAIL Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] assert _equals: focusNode must equal the node we collapse()d to expected Element node < div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3027 FAIL Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] assert _equals: focusNode must equal the node we collapse()d to expected Element node < div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3017 </p><p id="b" s... but got Text node "Qrstuvwx" 3028 </p><p id="b" s... but got Text node "Qrstuvwx"
3018 PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1] 3029 PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1]
3019 FAIL Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Element node <head><title>Selection.collapse() tests</t itle> 3030 FAIL Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3020 <meta nam... 3031 "
3021 FAIL Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Element node <head><title>Selection.collapse() tests</t itle> 3032 FAIL Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3022 <meta nam... 3033 "
3023 FAIL Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx" 3034 FAIL Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] asser t_equals: focusNode must equal the node we collapse()d to expected Document node with 2 children but got Text node "Qrstuvwx"
3024 PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3] 3035 PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3]
3025 PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1] 3036 PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1]
3026 FAIL Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] assert _equals: focusNode must equal the node we collapse()d to expected Comment node < !--Alphabet soup?--> but got Text node "Qrstuvwx" 3037 FAIL Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] assert _equals: focusNode must equal the node we collapse()d to expected Comment node < !--Alphabet soup?--> but got Text node "Qrstuvwx"
3027 FAIL Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] assert _equals: focusNode must equal the node we collapse()d to expected Comment node < !--Alphabet soup?--> but got Text node "Qrstuvwx" 3038 FAIL Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] assert _equals: focusNode must equal the node we collapse()d to expected Comment node < !--Alphabet soup?--> but got Text node "Qrstuvwx"
3028 PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96] 3039 PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96]
3029 FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] ass ert_equals: focusNode must equal the node we collapse()d to expected Document no de with 3 children but got Element node <head><title>Selection.collapse() tests< /title> 3040 FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] ass ert_equals: focusNode must equal the node we collapse()d to expected Document no de with 3 children but got Element node <head><title>Selection.collapse() tests< /title>
3030 <meta nam... 3041 <meta nam...
3031 FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] ass ert_equals: focusNode must equal the node we collapse()d to expected Document no de with 3 children but got Element node <head><title>Selection.collapse() tests< /title> 3042 FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] ass ert_equals: focusNode must equal the node we collapse()d to expected Document no de with 3 children but got Element node <head><title>Selection.collapse() tests< /title>
3032 <meta nam... 3043 <meta nam...
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
3578 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 3589 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
3579 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu t got 0 3590 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu t got 0
3580 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] 3591 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0]
3581 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 i s a DocumentType function "function () { 3592 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 i s a DocumentType function "function () {
3582 selection.collapse(point[0], point[1]); 3593 selection.collapse(point[0], point[1]);
3583 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24 3594 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24
3584 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] 3595 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1]
3585 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype , 0] 3596 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype , 0]
3586 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0] 3597 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
3587 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] 3598 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1]
3588 FAIL Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] asser t_equals: focusNode must equal the node we collapse()d to expected Text node "Ä b̈c̈d̈ëf̈g̈ḧ 3599 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0]
3589 " but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3590 </p>
3591 FAIL Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] asser t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 3600 FAIL Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] asser t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2
3592 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] 3601 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2]
3593 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] 3602 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8]
3594 FAIL Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] asser t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 3603 FAIL Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] asser t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got 10
3595 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] 3604 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10]
3596 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] 3605 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535]
3597 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] 3606 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1]
3598 FAIL Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] asser t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij klmnop 3607 FAIL Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] asser t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij klmnop
3599 " but got Text node "Qrstuvwx" 3608 " but got Text node "Qrstuvwx"
3600 FAIL Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] asse rt_equals: focusNode must equal the node we collapse()d to expected Text node "I jklmnop 3609 FAIL Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] asse rt_equals: focusNode must equal the node we collapse()d to expected Text node "I jklmnop
(...skipping 15 matching lines...) Expand all
3616 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9] 3625 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
3617 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3626 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3618 </p> 3627 </p>
3619 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3628 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3620 </p> 3629 </p>
3621 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3630 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 nod e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3622 </p> 3631 </p>
3623 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9] 3632 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9]
3624 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1 ] 3633 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1 ]
3625 FAIL Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title> 3634 FAIL Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
3626 <me... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3635 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3627 </p> 3636 "
3628 FAIL Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title> 3637 FAIL Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
3629 <me... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3638 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3630 </p> 3639 "
3631 FAIL Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title> 3640 FAIL Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d to expected Element node <html><head><title>Selection.collapse() tests</title>
3632 <me... but got Text node "Qrstuvwx" 3641 <me... but got Text node "Qrstuvwx"
3633 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7] 3642 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
3634 FAIL Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <head ><title>Selection.collapse() tests</title> 3643 FAIL Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <head ><title>Selection.collapse() tests</title>
3635 <meta nam... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3644 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3636 </p> 3645 "
3637 FAIL Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <body ><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3646 FAIL Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <body ><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3638 </p><p id... but got Text node "Qrstuvwx" 3647 </p><p id... but got Text node "Qrstuvwx"
3639 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 Eleme nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3648 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 Eleme nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3640 </p> 3649 </p>
3641 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 Eleme nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3650 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 Eleme nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3642 </p> 3651 </p>
3643 FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e quals: focusNode must equal the node we collapse()d to expected Element node <he ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3652 FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e quals: focusNode must equal the node we collapse()d to expected Element node <he ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3644 </p> 3653 </p>
3645 FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_e quals: focusNode must equal the node we collapse()d to expected Element node <bo dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node < p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3654 FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_e quals: focusNode must equal the node we collapse()d to expected Element node <bo dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node < p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3646 </p> 3655 </p>
3647 PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0] 3656 PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0]
3648 FAIL Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a"> Äb̈c̈d̈ëf̈g̈ḧ 3657 FAIL Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="a"> Äb̈c̈d̈ëf̈g̈ḧ
3649 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3658 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3650 " 3659 "
3651 PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2] 3660 PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2]
3652 FAIL Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 3661 FAIL Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
3653 </p> but got Text node "Qrstuvwx" 3662 </p> but got Text node "Qrstuvwx"
3654 FAIL Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop 3663 FAIL Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expected Element node <p id="b" style="display:none">Ijklmnop
3655 </p> but got Text node "Qrstuvwx" 3664 </p> but got Text node "Qrstuvwx"
3656 PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2] 3665 PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2]
3657 FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <p>Op qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3666 FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <p>Op qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3658 </p> 3667 </p>
3659 FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <p>Op qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3668 FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equ als: focusNode must equal the node we collapse()d to expected Element node <p>Op qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3660 </p> 3669 </p>
3661 FAIL Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] assert_equals: f ocusNode must equal the node we collapse()d to expected Element node <div id="te st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3670 FAIL Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] assert_equals: f ocusNode must equal the node we collapse()d to expected Element node <div id="te st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3662 </p><p id="b" s... but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3671 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3663 </p> 3672 "
3664 FAIL Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] assert_equals: f ocusNode must equal the node we collapse()d to expected Element node <div id="te st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3673 FAIL Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] assert_equals: f ocusNode must equal the node we collapse()d to expected Element node <div id="te st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3665 </p><p id="b" s... but got Text node "Qrstuvwx" 3674 </p><p id="b" s... but got Text node "Qrstuvwx"
3666 PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1] 3675 PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1]
3667 FAIL Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3676 FAIL Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3668 </p> 3677 "
3669 FAIL Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3678 FAIL Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3670 </p> 3679 "
3671 FAIL Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Text node "Qrstuvwx" 3680 FAIL Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to expected Document node with 2 ch ildren but got Text node "Qrstuvwx"
3672 PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3] 3681 PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3]
3673 PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1] 3682 PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1]
3674 FAIL Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] assert_equals: f ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe t soup?--> but got Text node "Qrstuvwx" 3683 FAIL Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] assert_equals: f ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe t soup?--> but got Text node "Qrstuvwx"
3675 FAIL Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] assert_equals: f ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe t soup?--> but got Text node "Qrstuvwx" 3684 FAIL Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] assert_equals: f ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe t soup?--> but got Text node "Qrstuvwx"
3676 PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96] 3685 PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96]
3677 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̈ḧ 3686 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̈ḧ
3678 </p> 3687 </p>
3679 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̈ḧ 3688 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̈ḧ
3680 </p> 3689 </p>
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
4533 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] as sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr agment node with 0 children but got Element node <p id="d" style="display:none"> Yzabcdef</p> 4542 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] as sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr agment node with 0 children but got Element node <p id="d" style="display:none"> Yzabcdef</p>
4534 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] 4543 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0]
4535 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] ass ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () { 4544 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] ass ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "function () {
4536 selection.collapse(point[0], point[1]); 4545 selection.collapse(point[0], point[1]);
4537 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24 4546 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E RR: property "code" is equal to 1, expected 24
4538 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] 4547 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1]
4539 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0 ] 4548 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0 ]
4540 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] 4549 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0]
4541 Harness: the test ran to completion. 4550 Harness: the test ran to completion.
4542 4551
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698