| OLD | NEW |
| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 CONSOLE ERROR: line 8: The given range isn't in document. | 344 CONSOLE ERROR: line 8: The given range isn't in document. |
| 345 CONSOLE ERROR: line 8: The given range isn't in document. | 345 CONSOLE ERROR: line 8: The given range isn't in document. |
| 346 CONSOLE ERROR: line 8: The given range isn't in document. | 346 CONSOLE ERROR: line 8: The given range isn't in document. |
| 347 CONSOLE ERROR: line 8: The given range isn't in document. | 347 CONSOLE ERROR: line 8: The given range isn't in document. |
| 348 CONSOLE ERROR: line 8: The given range isn't in document. | 348 CONSOLE ERROR: line 8: The given range isn't in document. |
| 349 CONSOLE ERROR: line 8: The given range isn't in document. | 349 CONSOLE ERROR: line 8: The given range isn't in document. |
| 350 CONSOLE ERROR: line 8: The given range isn't in document. | 350 CONSOLE ERROR: line 8: The given range isn't in document. |
| 351 CONSOLE ERROR: line 8: The given range isn't in document. | 351 CONSOLE ERROR: line 8: The given range isn't in document. |
| 352 CONSOLE ERROR: line 8: The given range isn't in document. | 352 CONSOLE ERROR: line 8: The given range isn't in document. |
| 353 This is a testharness.js-based test. | 353 This is a testharness.js-based test. |
| 354 Found 2581 tests; 754 PASS, 1827 FAIL, 0 TIMEOUT, 0 NOTRUN. | 354 Found 2581 tests; 1421 PASS, 1160 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| 355 PASS Set up range 30 [paras[0], 0, paras[0].firstChild, 7] | 355 PASS Set up range 30 [paras[0], 0, paras[0].firstChild, 7] |
| 356 PASS Set up range 31 [testDiv, 2, paras[4], 1] | 356 PASS Set up range 31 [testDiv, 2, paras[4], 1] |
| 357 PASS Set up range 32 [testDiv, 1, paras[2].firstChild, 5] | 357 PASS Set up range 32 [testDiv, 1, paras[2].firstChild, 5] |
| 358 PASS Set up range 33 [document.documentElement, 1, document.body, 0] | 358 PASS Set up range 33 [document.documentElement, 1, document.body, 0] |
| 359 PASS Set up range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] | 359 PASS Set up range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] |
| 360 PASS Set up range 35 [document, 0, document, 1] | 360 PASS Set up range 35 [document, 0, document, 1] |
| 361 PASS Set up range 36 [document, 0, document, 2] | 361 PASS Set up range 36 [document, 0, document, 2] |
| 362 PASS Set up range 37 [document, 1, document, 2] | 362 PASS Set up range 37 [document, 1, document, 2] |
| 363 PASS Set up range 38 [testDiv, 0, comment, 5] | 363 PASS Set up range 38 [testDiv, 0, comment, 5] |
| 364 PASS Set up range 39 [paras[2].firstChild, 4, comment, 2] | 364 PASS Set up range 39 [paras[2].firstChild, 4, comment, 2] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 376 PASS Set up range 51 [detachedComment, 3, detachedComment, 4] | 376 PASS Set up range 51 [detachedComment, 3, detachedComment, 4] |
| 377 PASS Set up range 52 [detachedComment, 5, detachedComment, 5] | 377 PASS Set up range 52 [detachedComment, 5, detachedComment, 5] |
| 378 PASS Set up range 53 [detachedForeignComment, 0, detachedForeignComment, 1] | 378 PASS Set up range 53 [detachedForeignComment, 0, detachedForeignComment, 1] |
| 379 PASS Set up range 54 [detachedForeignComment, 4, detachedForeignComment, 4] | 379 PASS Set up range 54 [detachedForeignComment, 4, detachedForeignComment, 4] |
| 380 PASS Set up range 55 [detachedXmlComment, 2, detachedXmlComment, 6] | 380 PASS Set up range 55 [detachedXmlComment, 2, detachedXmlComment, 6] |
| 381 PASS Set up range 56 [docfrag, 0, docfrag, 0] | 381 PASS Set up range 56 [docfrag, 0, docfrag, 0] |
| 382 PASS Set up range 57 [foreignDocfrag, 0, foreignDocfrag, 0] | 382 PASS Set up range 57 [foreignDocfrag, 0, foreignDocfrag, 0] |
| 383 PASS Set up range 58 [xmlDocfrag, 0, xmlDocfrag, 0] | 383 PASS Set up range 58 [xmlDocfrag, 0, xmlDocfrag, 0] |
| 384 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 0 [paras[0].firstChil
d, -1] | 384 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 0 [paras[0].firstChil
d, -1] |
| 385 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 1 [paras[0].firstChil
d, 0] | 385 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 1 [paras[0].firstChil
d, 0] |
| 386 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 2 [paras[0].firstChil
d, 1] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 1 but got 2 | 386 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 2 [paras[0].firstChil
d, 1] |
| 387 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 3 [paras[0].firstChil
d, 2] | 387 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 3 [paras[0].firstChil
d, 2] |
| 388 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 4 [paras[0].firstChil
d, 8] | 388 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 4 [paras[0].firstChil
d, 8] |
| 389 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 5 [paras[0].firstChil
d, 9] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 9 but got 10 | 389 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 5 [paras[0].firstChil
d, 9] |
| 390 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 6 [paras[0].firstChil
d, 10] | 390 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 6 [paras[0].firstChil
d, 10] |
| 391 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 7 [paras[0].firstChil
d, 65535] | 391 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 7 [paras[0].firstChil
d, 65535] |
| 392 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 8 [paras[1].firstChil
d, -1] | 392 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 8 [paras[1].firstChil
d, -1] |
| 393 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 9 [paras[1].firstChil
d, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 393 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 9 [paras[1].firstChil
d, 0] |
| 394 " but got Text node "Qrstuvwx" | 394 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 10 [paras[1].firstChi
ld, 1] |
| 395 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 10 [paras[1].firstChi
ld, 1] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 395 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 11 [paras[1].firstChi
ld, 2] |
| 396 " but got Text node "Qrstuvwx" | 396 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChi
ld, 8] |
| 397 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 11 [paras[1].firstChi
ld, 2] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 397 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChi
ld, 9] |
| 398 " but got Text node "Qrstuvwx" | |
| 399 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChi
ld, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 400 " but got Text node "Qrstuvwx" | |
| 401 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 402 " but got Text node "Qrstuvwx" | |
| 403 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChi
ld, 10] | 398 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChi
ld, 10] |
| 404 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChi
ld, 65535] | 399 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChi
ld, 65535] |
| 405 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 400 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 406 " | 401 " |
| 407 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 402 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 408 " | 403 " |
| 409 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 404 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 410 " | 405 " |
| 411 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.fir
stChild, 9] | 406 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.fir
stChild, 9] |
| 412 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 407 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 413 " | 408 " |
| 414 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 409 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 415 " | 410 " |
| 416 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 411 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 417 " | 412 " |
| 418 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firs
tChild, 9] | 413 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firs
tChild, 9] |
| 419 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.document
Element, -1] | 414 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.document
Element, -1] |
| 420 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.document
Element, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | 415 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 25 [document.document
Element, 0] |
| 421 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 416 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.document
Element, 1] |
| 422 " | 417 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.document
Element, 2] |
| 423 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 26 [document.document
Element, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | |
| 424 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 425 " | |
| 426 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 27 [document.document
Element, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | |
| 427 <me... but got Text node "Qrstuvwx" | |
| 428 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.document
Element, 7] | 418 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.document
Element, 7] |
| 429 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 419 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 29 [document.head, 1]
|
| 430 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 420 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 30 [document.body, 3]
|
| 431 " | |
| 432 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 433 </p><p id... but got Text node "Qrstuvwx" | |
| 434 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 31 [foreignDoc.docume
ntElement, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 421 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 31 [foreignDoc.docume
ntElement, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 435 " | 422 " |
| 436 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 32 [foreignDoc.docume
ntElement, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 423 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 32 [foreignDoc.docume
ntElement, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 437 " | 424 " |
| 438 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 425 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 33 [foreignDoc.head,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 439 " | 426 " |
| 440 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 34 [foreignDoc.body,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ | 427 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 34 [foreignDoc.body,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ |
| 441 " | 428 " |
| 442 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 35 [paras[0], 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 429 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 35 [paras[0], 0] |
| 443 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 430 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 36 [paras[0], 1] |
| 444 " | |
| 445 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 36 [paras[0], 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 446 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 447 " | |
| 448 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 37 [paras[0], 2] | 431 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 37 [paras[0], 2] |
| 449 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 38 [paras[1], 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | 432 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 38 [paras[1], 0] |
| 450 </p> but got Text node "Qrstuvwx" | 433 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 39 [paras[1], 1] |
| 451 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 39 [paras[1], 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 452 </p> but got Text node "Qrstuvwx" | |
| 453 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 40 [paras[1], 2] | 434 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 40 [paras[1], 2] |
| 454 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 435 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 455 " | 436 " |
| 456 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 437 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 457 " | 438 " |
| 458 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 43 [testDiv, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 439 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 43 [testDiv, 0] |
| 459 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 440 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 44 [testDiv, 3] |
| 460 " | |
| 461 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 44 [testDiv, 3] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 462 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 463 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 45 [document, -1] | 441 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 45 [document, -1] |
| 464 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 46 [document, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 442 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 46 [document, 0] |
| 465 " | 443 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 47 [document, 1] |
| 466 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 47 [document, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 444 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 48 [document, 2] |
| 467 " | |
| 468 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 48 [document, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Qrstuvwx" | |
| 469 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 49 [document, 3] | 445 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 49 [document, 3] |
| 470 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 50 [comment, -1] | 446 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 50 [comment, -1] |
| 471 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 51 [comment, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | 447 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 51 [comment, 0] |
| 472 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 52 [comment, 4] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | 448 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 52 [comment, 4] |
| 473 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 53 [comment, 96] | 449 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 53 [comment, 96] |
| 474 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 54 [foreignDoc, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 450 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 54 [foreignDoc, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 475 " | 451 " |
| 476 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 55 [foreignDoc, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 452 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 55 [foreignDoc, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 477 " | 453 " |
| 478 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 56 [foreignComment, 2
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--"Commenter" and "commentator" mean different things. I'v...--> but g
ot Text node "Äb̈c̈d̈ëf̈g̈ḧ | 454 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 56 [foreignComment, 2
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--"Commenter" and "commentator" mean different things. I'v...--> but g
ot Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 479 " | 455 " |
| 480 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Äb̈c̈d̈ëf̈g̈ḧ | 456 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Äb̈c̈d̈ëf̈g̈ḧ |
| 481 " | 457 " |
| 482 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ | 458 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 " | 505 " |
| 530 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0] | 506 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0] |
| 531 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 507 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 532 selection.collapse(point[0], point[1]); | 508 selection.collapse(point[0], point[1]); |
| 533 }" 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 | 509 }" 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 |
| 534 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 85 [doctype, 1] | 510 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 85 [doctype, 1] |
| 535 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
] | 511 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
] |
| 536 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0] | 512 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0] |
| 537 PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1] | 513 PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1] |
| 538 PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0] | 514 PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0] |
| 539 FAIL Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 515 PASS Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] |
| 540 PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2] | 516 PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2] |
| 541 PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8] | 517 PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8] |
| 542 FAIL Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 518 PASS Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] |
| 543 PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10] | 519 PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10] |
| 544 PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535] | 520 PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535] |
| 545 PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1] | 521 PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1] |
| 546 FAIL Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 522 PASS Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] |
| 547 " but got Text node "Qrstuvwx" | 523 PASS Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] |
| 548 FAIL Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 524 PASS Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] |
| 549 " but got Text node "Qrstuvwx" | 525 PASS Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] |
| 550 FAIL Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 526 PASS Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] |
| 551 " but got Text node "Qrstuvwx" | |
| 552 FAIL Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 553 " but got Text node "Qrstuvwx" | |
| 554 FAIL Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 555 " but got Text node "Qrstuvwx" | |
| 556 PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10] | 527 PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10] |
| 557 PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535] | 528 PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535] |
| 558 FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 529 FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 559 FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 530 FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 560 FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 531 FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 561 PASS Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9] | 532 PASS Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9] |
| 562 FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 533 FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 563 FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 534 FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 564 FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | 535 FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 565 PASS Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9] | 536 PASS Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9] |
| 566 PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
| 537 PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
|
| 567 FAIL Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 538 PASS Range 31 [testDiv, 2, paras[4], 1], point 25 [document.documentElement, 0] |
| 568 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 539 PASS Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1] |
| 569 " | 540 PASS Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2] |
| 570 FAIL Range 31 [testDiv, 2, paras[4], 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 571 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 572 " | |
| 573 FAIL Range 31 [testDiv, 2, paras[4], 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 574 <me... but got Text node "Qrstuvwx" | |
| 575 PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7] | 541 PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7] |
| 576 FAIL Range 31 [testDiv, 2, paras[4], 1], point 29 [document.head, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <head>
<title>Selection.collapse() tests</title> | 542 PASS Range 31 [testDiv, 2, paras[4], 1], point 29 [document.head, 1] |
| 577 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 543 PASS Range 31 [testDiv, 2, paras[4], 1], point 30 [document.body, 3] |
| 578 " | |
| 579 FAIL Range 31 [testDiv, 2, paras[4], 1], point 30 [document.body, 3] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 580 </p><p id... but got Text node "Qrstuvwx" | |
| 581 FAIL Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> | 544 FAIL Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> |
| 582 FAIL Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> | 545 FAIL Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> |
| 583 FAIL Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Element node <p id="e" style="display:none">Ghi
jklmn</p> | 546 FAIL Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Element node <p id="e" style="display:none">Ghi
jklmn</p> |
| 584 FAIL Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p
id="e" style="display:none">Ghijklmn</p> | 547 FAIL Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p
id="e" style="display:none">Ghijklmn</p> |
| 585 FAIL Range 31 [testDiv, 2, paras[4], 1], point 35 [paras[0], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | 548 PASS Range 31 [testDiv, 2, paras[4], 1], point 35 [paras[0], 0] |
| 586 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 549 PASS Range 31 [testDiv, 2, paras[4], 1], point 36 [paras[0], 1] |
| 587 " | |
| 588 FAIL Range 31 [testDiv, 2, paras[4], 1], point 36 [paras[0], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 589 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 590 " | |
| 591 PASS Range 31 [testDiv, 2, paras[4], 1], point 37 [paras[0], 2] | 550 PASS Range 31 [testDiv, 2, paras[4], 1], point 37 [paras[0], 2] |
| 592 FAIL Range 31 [testDiv, 2, paras[4], 1], point 38 [paras[1], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | 551 PASS Range 31 [testDiv, 2, paras[4], 1], point 38 [paras[1], 0] |
| 593 </p> but got Text node "Qrstuvwx" | 552 PASS Range 31 [testDiv, 2, paras[4], 1], point 39 [paras[1], 1] |
| 594 FAIL Range 31 [testDiv, 2, paras[4], 1], point 39 [paras[1], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 595 </p> but got Text node "Qrstuvwx" | |
| 596 PASS Range 31 [testDiv, 2, paras[4], 1], point 40 [paras[1], 2] | 553 PASS Range 31 [testDiv, 2, paras[4], 1], point 40 [paras[1], 2] |
| 597 FAIL Range 31 [testDiv, 2, paras[4], 1], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> | 554 FAIL Range 31 [testDiv, 2, paras[4], 1], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 598 FAIL Range 31 [testDiv, 2, paras[4], 1], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> | 555 FAIL Range 31 [testDiv, 2, paras[4], 1], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 599 FAIL Range 31 [testDiv, 2, paras[4], 1], point 43 [testDiv, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 556 PASS Range 31 [testDiv, 2, paras[4], 1], point 43 [testDiv, 0] |
| 600 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 557 PASS Range 31 [testDiv, 2, paras[4], 1], point 44 [testDiv, 3] |
| 601 " | |
| 602 FAIL Range 31 [testDiv, 2, paras[4], 1], point 44 [testDiv, 3] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 603 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 604 PASS Range 31 [testDiv, 2, paras[4], 1], point 45 [document, -1] | 558 PASS Range 31 [testDiv, 2, paras[4], 1], point 45 [document, -1] |
| 605 FAIL Range 31 [testDiv, 2, paras[4], 1], point 46 [document, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 559 PASS Range 31 [testDiv, 2, paras[4], 1], point 46 [document, 0] |
| 606 " | 560 PASS Range 31 [testDiv, 2, paras[4], 1], point 47 [document, 1] |
| 607 FAIL Range 31 [testDiv, 2, paras[4], 1], point 47 [document, 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 561 PASS Range 31 [testDiv, 2, paras[4], 1], point 48 [document, 2] |
| 608 " | |
| 609 FAIL Range 31 [testDiv, 2, paras[4], 1], point 48 [document, 2] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Qrstuvwx" | |
| 610 PASS Range 31 [testDiv, 2, paras[4], 1], point 49 [document, 3] | 562 PASS Range 31 [testDiv, 2, paras[4], 1], point 49 [document, 3] |
| 611 PASS Range 31 [testDiv, 2, paras[4], 1], point 50 [comment, -1] | 563 PASS Range 31 [testDiv, 2, paras[4], 1], point 50 [comment, -1] |
| 612 FAIL Range 31 [testDiv, 2, paras[4], 1], point 51 [comment, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 564 PASS Range 31 [testDiv, 2, paras[4], 1], point 51 [comment, 0] |
| 613 FAIL Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 565 PASS Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] |
| 614 PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96] | 566 PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96] |
| 615 FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> | 567 FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 616 FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> | 568 FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 617 FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Element n
ode <p id="e" style="display:none">Ghijklmn</p> | 569 FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Element n
ode <p id="e" style="display:none">Ghijklmn</p> |
| 618 FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Element node <p
id="e" style="display:none">Ghijklmn</p> | 570 FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Element node <p
id="e" style="display:none">Ghijklmn</p> |
| 619 FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Element node <p
id="e" style="display:none">Ghijklmn</p> | 571 FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Element node <p
id="e" style="display:none">Ghijklmn</p> |
| 620 PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1] | 572 PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1] |
| 621 FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> | 573 FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 622 FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> | 574 FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 623 PASS Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5] | 575 PASS Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 643 FAIL Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p> | 595 FAIL Range 31 [testDiv, 2, paras[4], 1], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p> |
| 644 PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0] | 596 PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0] |
| 645 FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | 597 FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { |
| 646 selection.collapse(point[0], point[1]); | 598 selection.collapse(point[0], point[1]); |
| 647 }" 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 | 599 }" 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 |
| 648 PASS Range 31 [testDiv, 2, paras[4], 1], point 85 [doctype, 1] | 600 PASS Range 31 [testDiv, 2, paras[4], 1], point 85 [doctype, 1] |
| 649 PASS Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0] | 601 PASS Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0] |
| 650 PASS Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0] | 602 PASS Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0] |
| 651 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild
, -1] | 603 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild
, -1] |
| 652 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild
, 0] | 604 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild
, 0] |
| 653 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 605 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild
, 1] |
| 654 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild
, 2] | 606 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild
, 2] |
| 655 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild
, 8] | 607 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild
, 8] |
| 656 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 608 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild
, 9] |
| 657 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild
, 10] | 609 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild
, 10] |
| 658 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild
, 65535] | 610 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild
, 65535] |
| 659 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild
, -1] | 611 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild
, -1] |
| 660 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 612 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild
, 0] |
| 661 " but got Text node "Qrstuvwx" | 613 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChil
d, 1] |
| 662 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 614 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChil
d, 2] |
| 663 " but got Text node "Qrstuvwx" | 615 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
d, 8] |
| 664 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 616 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChil
d, 9] |
| 665 " but got Text node "Qrstuvwx" | |
| 666 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 667 " but got Text node "Qrstuvwx" | |
| 668 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 669 " but got Text node "Qrstuvwx" | |
| 670 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChil
d, 10] | 617 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChil
d, 10] |
| 671 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChil
d, 65535] | 618 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChil
d, 65535] |
| 672 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 619 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
| 673 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 620 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
| 674 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | 621 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" |
| 675 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firs
tChild, 9] | 622 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firs
tChild, 9] |
| 676 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 623 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
| 677 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 624 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
| 678 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | 625 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" |
| 679 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.first
Child, 9] | 626 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.first
Child, 9] |
| 680 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentE
lement, -1] | 627 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentE
lement, -1] |
| 681 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | 628 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 25 [document.documentE
lement, 0] |
| 682 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 629 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 26 [document.documentE
lement, 1] |
| 683 " | 630 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 27 [document.documentE
lement, 2] |
| 684 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 685 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 686 " | |
| 687 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 688 <me... but got Text node "Qrstuvwx" | |
| 689 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentE
lement, 7] | 631 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentE
lement, 7] |
| 690 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 632 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 29 [document.head, 1] |
| 691 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 633 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 30 [document.body, 3] |
| 692 " | |
| 693 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 694 </p><p id... but got Text node "Qrstuvwx" | |
| 695 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | 634 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" |
| 696 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | 635 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" |
| 697 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Text node "Qrstuvwx" | 636 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Text node "Qrstuvwx" |
| 698 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text
node "Qrstuvwx" | 637 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Text
node "Qrstuvwx" |
| 699 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | 638 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 35 [paras[0], 0] |
| 700 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 639 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 36 [paras[0], 1] |
| 701 " | |
| 702 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 703 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 704 " | |
| 705 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 37 [paras[0], 2] | 640 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 37 [paras[0], 2] |
| 706 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 | 641 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 38 [paras[1], 0] |
| 707 </p> but got Text node "Qrstuvwx" | 642 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 39 [paras[1], 1] |
| 708 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 | |
| 709 </p> but got Text node "Qrstuvwx" | |
| 710 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 40 [paras[1], 2] | 643 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 40 [paras[1], 2] |
| 711 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" | 644 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" |
| 712 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" | 645 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" |
| 713 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 646 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 43 [testDiv, 0] |
| 714 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 647 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 44 [testDiv, 3] |
| 715 " | |
| 716 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 717 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 718 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 45 [document, -1] | 648 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 45 [document, -1] |
| 719 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | 649 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 46 [document, 0] |
| 720 " | 650 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 47 [document, 1] |
| 721 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | 651 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 48 [document, 2] |
| 722 " | |
| 723 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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" | |
| 724 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 49 [document, 3] | 652 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 49 [document, 3] |
| 725 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 50 [comment, -1] | 653 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 50 [comment, -1] |
| 726 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 654 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 51 [comment, 0] |
| 727 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 655 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 52 [comment, 4] |
| 728 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96] | 656 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96] |
| 729 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | 657 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" |
| 730 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | 658 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" |
| 731 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" | 659 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Text node "Qrstuvwx" |
| 732 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 660 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
| 733 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" | 661 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Text
node "Qrstuvwx" |
| 734 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1] | 662 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1] |
| 735 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 663 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
| 736 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 664 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
| 737 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5] | 665 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 757 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" | 685 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" |
| 758 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0] | 686 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0] |
| 759 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 687 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 760 selection.collapse(point[0], point[1]); | 688 selection.collapse(point[0], point[1]); |
| 761 }" 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 | 689 }" 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 |
| 762 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 85 [doctype, 1] | 690 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 85 [doctype, 1] |
| 763 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
| 691 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
|
| 764 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0] | 692 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0] |
| 765 PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0]
.firstChild, -1] | 693 PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0]
.firstChild, -1] |
| 766 PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0]
.firstChild, 0] | 694 PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0]
.firstChild, 0] |
| 767 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 695 PASS Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0]
.firstChild, 1] |
| 768 PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0]
.firstChild, 2] | 696 PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0]
.firstChild, 2] |
| 769 PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0]
.firstChild, 8] | 697 PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0]
.firstChild, 8] |
| 770 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 698 PASS Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0]
.firstChild, 9] |
| 771 PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0]
.firstChild, 10] | 699 PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0]
.firstChild, 10] |
| 772 PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0]
.firstChild, 65535] | 700 PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0]
.firstChild, 65535] |
| 773 PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1]
.firstChild, -1] | 701 PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1]
.firstChild, -1] |
| 774 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 702 PASS Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1]
.firstChild, 0] |
| 775 " but got Text node "Qrstuvwx" | 703 PASS Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1
].firstChild, 1] |
| 776 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 704 PASS Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1
].firstChild, 2] |
| 777 " but got Text node "Qrstuvwx" | 705 PASS Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
].firstChild, 8] |
| 778 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 706 PASS Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1
].firstChild, 9] |
| 779 " but got Text node "Qrstuvwx" | |
| 780 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 781 " but got Text node "Qrstuvwx" | |
| 782 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 783 " but got Text node "Qrstuvwx" | |
| 784 PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1
].firstChild, 10] | 707 PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1
].firstChild, 10] |
| 785 PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1
].firstChild, 65535] | 708 PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1
].firstChild, 65535] |
| 786 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 709 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 787 </p><p id... | 710 </p><p id... |
| 788 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 711 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 789 </p><p id... | 712 </p><p id... |
| 790 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 713 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 791 </p><p id... | 714 </p><p id... |
| 792 PASS Range 33 [document.documentElement, 1, document.body, 0], point 19 [detache
dPara1.firstChild, 9] | 715 PASS Range 33 [document.documentElement, 1, document.body, 0], point 19 [detache
dPara1.firstChild, 9] |
| 793 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | 716 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 794 </p><p id... | 717 </p><p id... |
| 795 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | 718 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 796 </p><p id... | 719 </p><p id... |
| 797 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | 720 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 798 </p><p id... | 721 </p><p id... |
| 799 PASS Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreign
Para1.firstChild, 9] | 722 PASS Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreign
Para1.firstChild, 9] |
| 800 PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [documen
t.documentElement, -1] | 723 PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [documen
t.documentElement, -1] |
| 801 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | 724 PASS Range 33 [document.documentElement, 1, document.body, 0], point 25 [documen
t.documentElement, 0] |
| 802 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 725 PASS Range 33 [document.documentElement, 1, document.body, 0], point 26 [documen
t.documentElement, 1] |
| 803 " | 726 PASS Range 33 [document.documentElement, 1, document.body, 0], point 27 [documen
t.documentElement, 2] |
| 804 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 805 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 806 " | |
| 807 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 808 <me... but got Text node "Qrstuvwx" | |
| 809 PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [documen
t.documentElement, 7] | 727 PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [documen
t.documentElement, 7] |
| 810 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | 728 PASS Range 33 [document.documentElement, 1, document.body, 0], point 29 [documen
t.head, 1] |
| 811 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 729 PASS Range 33 [document.documentElement, 1, document.body, 0], point 30 [documen
t.body, 3] |
| 812 " | |
| 813 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 814 </p><p id... but got Text node "Qrstuvwx" | |
| 815 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 730 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 816 </p><p id... | 731 </p><p id... |
| 817 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 732 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 818 </p><p id... | 733 </p><p id... |
| 819 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Element node <body><div i
d="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 734 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Element node <body><div i
d="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 820 </p><p id... | 735 </p><p id... |
| 821 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 736 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 822 </p><p id... | 737 </p><p id... |
| 823 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 738 PASS Range 33 [document.documentElement, 1, document.body, 0], point 35 [paras[0
], 0] |
| 824 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 739 PASS Range 33 [document.documentElement, 1, document.body, 0], point 36 [paras[0
], 1] |
| 825 " | |
| 826 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 827 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 828 " | |
| 829 PASS Range 33 [document.documentElement, 1, document.body, 0], point 37 [paras[0
], 2] | 740 PASS Range 33 [document.documentElement, 1, document.body, 0], point 37 [paras[0
], 2] |
| 830 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 741 PASS Range 33 [document.documentElement, 1, document.body, 0], point 38 [paras[1
], 0] |
| 831 </p> but got Text node "Qrstuvwx" | 742 PASS Range 33 [document.documentElement, 1, document.body, 0], point 39 [paras[1
], 1] |
| 832 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 833 </p> but got Text node "Qrstuvwx" | |
| 834 PASS Range 33 [document.documentElement, 1, document.body, 0], point 40 [paras[1
], 2] | 743 PASS Range 33 [document.documentElement, 1, document.body, 0], point 40 [paras[1
], 2] |
| 835 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | 744 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ |
| 836 </p><p id... | 745 </p><p id... |
| 837 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | 746 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ |
| 838 </p><p id... | 747 </p><p id... |
| 839 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 748 PASS Range 33 [document.documentElement, 1, document.body, 0], point 43 [testDiv
, 0] |
| 840 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 749 PASS Range 33 [document.documentElement, 1, document.body, 0], point 44 [testDiv
, 3] |
| 841 " | |
| 842 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 843 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 844 PASS Range 33 [document.documentElement, 1, document.body, 0], point 45 [documen
t, -1] | 750 PASS Range 33 [document.documentElement, 1, document.body, 0], point 45 [documen
t, -1] |
| 845 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 751 PASS Range 33 [document.documentElement, 1, document.body, 0], point 46 [documen
t, 0] |
| 846 " | 752 PASS Range 33 [document.documentElement, 1, document.body, 0], point 47 [documen
t, 1] |
| 847 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 753 PASS Range 33 [document.documentElement, 1, document.body, 0], point 48 [documen
t, 2] |
| 848 " | |
| 849 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 850 PASS Range 33 [document.documentElement, 1, document.body, 0], point 49 [documen
t, 3] | 754 PASS Range 33 [document.documentElement, 1, document.body, 0], point 49 [documen
t, 3] |
| 851 PASS Range 33 [document.documentElement, 1, document.body, 0], point 50 [comment
, -1] | 755 PASS Range 33 [document.documentElement, 1, document.body, 0], point 50 [comment
, -1] |
| 852 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 756 PASS Range 33 [document.documentElement, 1, document.body, 0], point 51 [comment
, 0] |
| 853 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 757 PASS Range 33 [document.documentElement, 1, document.body, 0], point 52 [comment
, 4] |
| 854 PASS Range 33 [document.documentElement, 1, document.body, 0], point 53 [comment
, 96] | 758 PASS Range 33 [document.documentElement, 1, document.body, 0], point 53 [comment
, 96] |
| 855 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | 759 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ |
| 856 </p><p id... | 760 </p><p id... |
| 857 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | 761 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ |
| 858 </p><p id... | 762 </p><p id... |
| 859 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 763 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 860 </p><p id... | 764 </p><p id... |
| 861 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 765 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 862 </p><p id... | 766 </p><p id... |
| 863 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 767 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 </p><p id... | 814 </p><p id... |
| 911 PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype
, 0] | 815 PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype
, 0] |
| 912 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 816 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 913 selection.collapse(point[0], point[1]); | 817 selection.collapse(point[0], point[1]); |
| 914 }" 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 | 818 }" 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 |
| 915 PASS Range 33 [document.documentElement, 1, document.body, 0], point 85 [doctype
, 1] | 819 PASS Range 33 [document.documentElement, 1, document.body, 0], point 85 [doctype
, 1] |
| 916 PASS Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
Doctype, 0] | 820 PASS Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
Doctype, 0] |
| 917 PASS Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoct
ype, 0] | 821 PASS Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoct
ype, 0] |
| 918 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [para
s[0].firstChild, -1] | 822 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [para
s[0].firstChild, -1] |
| 919 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [para
s[0].firstChild, 0] | 823 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [para
s[0].firstChild, 0] |
| 920 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [para
s[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse
()d to expected 1 but got 2 | 824 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [para
s[0].firstChild, 1] |
| 921 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [para
s[0].firstChild, 2] | 825 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [para
s[0].firstChild, 2] |
| 922 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [para
s[0].firstChild, 8] | 826 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [para
s[0].firstChild, 8] |
| 923 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [para
s[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse
()d to expected 9 but got 10 | 827 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [para
s[0].firstChild, 9] |
| 924 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [para
s[0].firstChild, 10] | 828 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [para
s[0].firstChild, 10] |
| 925 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [para
s[0].firstChild, 65535] | 829 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [para
s[0].firstChild, 65535] |
| 926 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [para
s[1].firstChild, -1] | 830 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [para
s[1].firstChild, -1] |
| 927 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [para
s[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 831 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [para
s[1].firstChild, 0] |
| 928 " but got Text node "Qrstuvwx" | 832 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [par
as[1].firstChild, 1] |
| 929 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [par
as[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 833 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [par
as[1].firstChild, 2] |
| 930 " but got Text node "Qrstuvwx" | 834 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
as[1].firstChild, 8] |
| 931 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [par
as[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | 835 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [par
as[1].firstChild, 9] |
| 932 " but got Text node "Qrstuvwx" | |
| 933 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
as[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 934 " but got Text node "Qrstuvwx" | |
| 935 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [par
as[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 936 " but got Text node "Qrstuvwx" | |
| 937 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [par
as[1].firstChild, 10] | 836 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [par
as[1].firstChild, 10] |
| 938 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [par
as[1].firstChild, 65535] | 837 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [par
as[1].firstChild, 65535] |
| 939 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [det
achedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 838 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [det
achedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 940 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [det
achedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 839 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [det
achedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 941 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [det
achedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 840 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [det
achedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 942 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [det
achedPara1.firstChild, 9] | 841 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [det
achedPara1.firstChild, 9] |
| 943 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [for
eignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 842 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [for
eignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 944 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
eignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 843 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
eignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 945 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [for
eignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 844 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [for
eignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 946 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [for
eignPara1.firstChild, 9] | 845 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [for
eignPara1.firstChild, 9] |
| 947 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [doc
ument.documentElement, -1] | 846 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [doc
ument.documentElement, -1] |
| 948 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [doc
ument.documentElement, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | 847 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [doc
ument.documentElement, 0] |
| 949 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 848 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [doc
ument.documentElement, 1] |
| 950 " | 849 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
ument.documentElement, 2] |
| 951 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [doc
ument.documentElement, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 952 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 953 " | |
| 954 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
ument.documentElement, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 955 <me... but got Text node "Qrstuvwx" | |
| 956 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [doc
ument.documentElement, 7] | 850 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [doc
ument.documentElement, 7] |
| 957 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 29 [doc
ument.head, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <head><title>Selection.collapse() tests</title> | 851 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 29 [doc
ument.head, 1] |
| 958 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 852 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 30 [doc
ument.body, 3] |
| 959 " | |
| 960 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 30 [doc
ument.body, 3] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 961 </p><p id... but got Text node "Qrstuvwx" | |
| 962 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [for
eignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 853 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [for
eignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 963 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [for
eignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 854 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [for
eignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 964 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [for
eignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 855 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [for
eignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 965 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [for
eignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 856 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [for
eignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 966 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 35 [par
as[0], 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 857 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 35 [par
as[0], 0] |
| 967 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 858 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 36 [par
as[0], 1] |
| 968 " | |
| 969 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 36 [par
as[0], 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 970 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 971 " | |
| 972 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 37 [par
as[0], 2] | 859 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 37 [par
as[0], 2] |
| 973 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 38 [par
as[1], 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="b" style="display:none">Ijklmnop | 860 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 38 [par
as[1], 0] |
| 974 </p> but got Text node "Qrstuvwx" | 861 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 39 [par
as[1], 1] |
| 975 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 39 [par
as[1], 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="b" style="display:none">Ijklmnop | |
| 976 </p> but got Text node "Qrstuvwx" | |
| 977 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 40 [par
as[1], 2] | 862 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 40 [par
as[1], 2] |
| 978 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 41 [det
achedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 863 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 41 [det
achedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 979 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 42 [det
achedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 864 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 42 [det
achedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 980 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 43 [tes
tDiv, 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̈ḧ | 865 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 43 [tes
tDiv, 0] |
| 981 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 866 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 44 [tes
tDiv, 3] |
| 982 " | |
| 983 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 44 [tes
tDiv, 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̈ḧ | |
| 984 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 985 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 45 [doc
ument, -1] | 867 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 45 [doc
ument, -1] |
| 986 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 46 [doc
ument, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 868 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 46 [doc
ument, 0] |
| 987 " | 869 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 47 [doc
ument, 1] |
| 988 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 47 [doc
ument, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 870 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 48 [doc
ument, 2] |
| 989 " | |
| 990 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 48 [doc
ument, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Qrstuvwx" | |
| 991 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 49 [doc
ument, 3] | 871 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 49 [doc
ument, 3] |
| 992 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 50 [com
ment, -1] | 872 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 50 [com
ment, -1] |
| 993 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 51 [com
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 873 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 51 [com
ment, 0] |
| 994 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [com
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 874 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [com
ment, 4] |
| 995 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [com
ment, 96] | 875 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [com
ment, 96] |
| 996 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [for
eignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 876 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [for
eignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 997 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [for
eignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 877 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [for
eignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 998 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [for
eignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 878 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [for
eignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 999 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [for
eignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 879 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [for
eignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 1000 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [for
eignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 880 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [for
eignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1001 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xml
Doc, -1] | 881 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xml
Doc, -1] |
| 1002 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xml
Doc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 882 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xml
Doc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 1003 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xml
Doc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 883 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xml
Doc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 1004 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xml
Doc, 5] | 884 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xml
Doc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1024 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xml
Docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 904 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xml
Docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 1025 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doc
type, 0] | 905 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doc
type, 0] |
| 1026 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doc
type, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { | 906 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doc
type, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { |
| 1027 selection.collapse(point[0], point[1]); | 907 selection.collapse(point[0], point[1]); |
| 1028 }" 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 | 908 }" 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 |
| 1029 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 85 [doc
type, 1] | 909 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 85 [doc
type, 1] |
| 1030 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
eignDoctype, 0] | 910 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
eignDoctype, 0] |
| 1031 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xml
Doctype, 0] | 911 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xml
Doctype, 0] |
| 1032 PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1] | 912 PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1] |
| 1033 PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0] | 913 PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0] |
| 1034 FAIL Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 914 PASS Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] |
| 1035 PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2] | 915 PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2] |
| 1036 PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8] | 916 PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8] |
| 1037 FAIL Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 917 PASS Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] |
| 1038 PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10] | 918 PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10] |
| 1039 PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535] | 919 PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535] |
| 1040 PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1] | 920 PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1] |
| 1041 FAIL Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 921 PASS Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] |
| 1042 " but got Text node "Qrstuvwx" | 922 PASS Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] |
| 1043 FAIL Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 923 PASS Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] |
| 1044 " but got Text node "Qrstuvwx" | 924 PASS Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] |
| 1045 FAIL Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 925 PASS Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] |
| 1046 " but got Text node "Qrstuvwx" | |
| 1047 FAIL Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1048 " but got Text node "Qrstuvwx" | |
| 1049 FAIL Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1050 " but got Text node "Qrstuvwx" | |
| 1051 PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10] | 926 PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10] |
| 1052 PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535] | 927 PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535] |
| 1053 FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 928 FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1054 FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 929 FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1055 FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 930 FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1056 PASS Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
| 931 PASS Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
|
| 1057 FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 932 FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1058 FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 933 FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1059 FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 934 FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1060 PASS Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9] | 935 PASS Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9] |
| 1061 PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1
] | 936 PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1
] |
| 1062 FAIL Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 937 PASS Range 35 [document, 0, document, 1], point 25 [document.documentElement, 0]
|
| 1063 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 938 PASS Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1]
|
| 1064 " | 939 PASS Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
|
| 1065 FAIL Range 35 [document, 0, document, 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1066 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1067 " | |
| 1068 FAIL Range 35 [document, 0, document, 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1069 <me... but got Text node "Qrstuvwx" | |
| 1070 PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
| 940 PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
|
| 1071 FAIL Range 35 [document, 0, document, 1], 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> | 941 PASS Range 35 [document, 0, document, 1], point 29 [document.head, 1] |
| 1072 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 942 PASS Range 35 [document, 0, document, 1], point 30 [document.body, 3] |
| 1073 " | |
| 1074 FAIL Range 35 [document, 0, document, 1], 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̈ḧ | |
| 1075 </p><p id... but got Text node "Qrstuvwx" | |
| 1076 FAIL Range 35 [document, 0, document, 1], 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 Doc
ument node with 2 children | 943 FAIL Range 35 [document, 0, document, 1], 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 Doc
ument node with 2 children |
| 1077 FAIL Range 35 [document, 0, document, 1], 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 Doc
ument node with 2 children | 944 FAIL Range 35 [document, 0, document, 1], 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 Doc
ument node with 2 children |
| 1078 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children | 945 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children |
| 1079 FAIL Range 35 [document, 0, document, 1], 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 Document node
with 2 children | 946 FAIL Range 35 [document, 0, document, 1], 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 Document node
with 2 children |
| 1080 FAIL Range 35 [document, 0, document, 1], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 947 PASS Range 35 [document, 0, document, 1], point 35 [paras[0], 0] |
| 1081 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 948 PASS Range 35 [document, 0, document, 1], point 36 [paras[0], 1] |
| 1082 " | |
| 1083 FAIL Range 35 [document, 0, document, 1], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 1084 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1085 " | |
| 1086 PASS Range 35 [document, 0, document, 1], point 37 [paras[0], 2] | 949 PASS Range 35 [document, 0, document, 1], point 37 [paras[0], 2] |
| 1087 FAIL Range 35 [document, 0, document, 1], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 950 PASS Range 35 [document, 0, document, 1], point 38 [paras[1], 0] |
| 1088 </p> but got Text node "Qrstuvwx" | 951 PASS Range 35 [document, 0, document, 1], point 39 [paras[1], 1] |
| 1089 FAIL Range 35 [document, 0, document, 1], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 1090 </p> but got Text node "Qrstuvwx" | |
| 1091 PASS Range 35 [document, 0, document, 1], point 40 [paras[1], 2] | 952 PASS Range 35 [document, 0, document, 1], point 40 [paras[1], 2] |
| 1092 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children | 953 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children |
| 1093 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children | 954 FAIL Range 35 [document, 0, document, 1], 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 Document node with 2 children |
| 1094 FAIL Range 35 [document, 0, document, 1], 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̈ḧ | 955 PASS Range 35 [document, 0, document, 1], point 43 [testDiv, 0] |
| 1095 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 956 PASS Range 35 [document, 0, document, 1], point 44 [testDiv, 3] |
| 1096 " | |
| 1097 FAIL Range 35 [document, 0, document, 1], 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̈ḧ | |
| 1098 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1099 PASS Range 35 [document, 0, document, 1], point 45 [document, -1] | 957 PASS Range 35 [document, 0, document, 1], point 45 [document, -1] |
| 1100 FAIL Range 35 [document, 0, document, 1], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 958 PASS Range 35 [document, 0, document, 1], point 46 [document, 0] |
| 1101 " | 959 PASS Range 35 [document, 0, document, 1], point 47 [document, 1] |
| 1102 FAIL Range 35 [document, 0, document, 1], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 960 PASS Range 35 [document, 0, document, 1], point 48 [document, 2] |
| 1103 " | |
| 1104 FAIL Range 35 [document, 0, document, 1], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 1105 PASS Range 35 [document, 0, document, 1], point 49 [document, 3] | 961 PASS Range 35 [document, 0, document, 1], point 49 [document, 3] |
| 1106 PASS Range 35 [document, 0, document, 1], point 50 [comment, -1] | 962 PASS Range 35 [document, 0, document, 1], point 50 [comment, -1] |
| 1107 FAIL Range 35 [document, 0, document, 1], 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" | 963 PASS Range 35 [document, 0, document, 1], point 51 [comment, 0] |
| 1108 FAIL Range 35 [document, 0, document, 1], 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" | 964 PASS Range 35 [document, 0, document, 1], point 52 [comment, 4] |
| 1109 PASS Range 35 [document, 0, document, 1], point 53 [comment, 96] | 965 PASS Range 35 [document, 0, document, 1], point 53 [comment, 96] |
| 1110 FAIL Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 966 FAIL Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1111 FAIL Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 967 FAIL Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1112 FAIL Range 35 [document, 0, document, 1], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children | 968 FAIL Range 35 [document, 0, document, 1], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children |
| 1113 FAIL Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children | 969 FAIL Range 35 [document, 0, document, 1], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children |
| 1114 FAIL Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children | 970 FAIL Range 35 [document, 0, document, 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children |
| 1115 PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1] | 971 PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1] |
| 1116 FAIL Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 972 FAIL Range 35 [document, 0, document, 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1117 FAIL Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 973 FAIL Range 35 [document, 0, document, 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1118 PASS Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5] | 974 PASS Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1138 FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | 994 FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children |
| 1139 PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0] | 995 PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0] |
| 1140 FAIL Range 35 [document, 0, document, 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 996 FAIL Range 35 [document, 0, document, 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 1141 selection.collapse(point[0], point[1]); | 997 selection.collapse(point[0], point[1]); |
| 1142 }" 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 | 998 }" 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 |
| 1143 PASS Range 35 [document, 0, document, 1], point 85 [doctype, 1] | 999 PASS Range 35 [document, 0, document, 1], point 85 [doctype, 1] |
| 1144 PASS Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0] | 1000 PASS Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0] |
| 1145 PASS Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0] | 1001 PASS Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0] |
| 1146 PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1] | 1002 PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1] |
| 1147 PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0] | 1003 PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0] |
| 1148 FAIL Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1004 PASS Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] |
| 1149 PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2] | 1005 PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2] |
| 1150 PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8] | 1006 PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8] |
| 1151 FAIL Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1007 PASS Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] |
| 1152 PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10] | 1008 PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10] |
| 1153 PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535] | 1009 PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535] |
| 1154 PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1] | 1010 PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1] |
| 1155 FAIL Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1011 PASS Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] |
| 1156 " but got Text node "Qrstuvwx" | 1012 PASS Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] |
| 1157 FAIL Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1013 PASS Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] |
| 1158 " but got Text node "Qrstuvwx" | 1014 PASS Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] |
| 1159 FAIL Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1015 PASS Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] |
| 1160 " but got Text node "Qrstuvwx" | |
| 1161 FAIL Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1162 " but got Text node "Qrstuvwx" | |
| 1163 FAIL Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1164 " but got Text node "Qrstuvwx" | |
| 1165 PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10] | 1016 PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10] |
| 1166 PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535] | 1017 PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535] |
| 1167 FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1018 FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1168 FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1019 FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1169 FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1020 FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1170 PASS Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
| 1021 PASS Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
|
| 1171 FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1022 FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1172 FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1023 FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1173 FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1024 FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1174 PASS Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9] | 1025 PASS Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9] |
| 1175 PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1
] | 1026 PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1
] |
| 1176 FAIL Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1027 PASS Range 36 [document, 0, document, 2], point 25 [document.documentElement, 0]
|
| 1177 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1028 PASS Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1]
|
| 1178 " | 1029 PASS Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
|
| 1179 FAIL Range 36 [document, 0, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1180 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1181 " | |
| 1182 FAIL Range 36 [document, 0, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1183 <me... but got Text node "Qrstuvwx" | |
| 1184 PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
| 1030 PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
|
| 1185 FAIL Range 36 [document, 0, document, 2], 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> | 1031 PASS Range 36 [document, 0, document, 2], point 29 [document.head, 1] |
| 1186 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1032 PASS Range 36 [document, 0, document, 2], point 30 [document.body, 3] |
| 1187 " | |
| 1188 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1189 </p><p id... but got Text node "Qrstuvwx" | |
| 1190 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children | 1033 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children |
| 1191 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children | 1034 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children |
| 1192 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | 1035 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children |
| 1193 FAIL Range 36 [document, 0, document, 2], 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 Document node
with 2 children | 1036 FAIL Range 36 [document, 0, document, 2], 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 Document node
with 2 children |
| 1194 FAIL Range 36 [document, 0, document, 2], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 1037 PASS Range 36 [document, 0, document, 2], point 35 [paras[0], 0] |
| 1195 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1038 PASS Range 36 [document, 0, document, 2], point 36 [paras[0], 1] |
| 1196 " | |
| 1197 FAIL Range 36 [document, 0, document, 2], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 1198 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1199 " | |
| 1200 PASS Range 36 [document, 0, document, 2], point 37 [paras[0], 2] | 1039 PASS Range 36 [document, 0, document, 2], point 37 [paras[0], 2] |
| 1201 FAIL Range 36 [document, 0, document, 2], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 1040 PASS Range 36 [document, 0, document, 2], point 38 [paras[1], 0] |
| 1202 </p> but got Text node "Qrstuvwx" | 1041 PASS Range 36 [document, 0, document, 2], point 39 [paras[1], 1] |
| 1203 FAIL Range 36 [document, 0, document, 2], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 1204 </p> but got Text node "Qrstuvwx" | |
| 1205 PASS Range 36 [document, 0, document, 2], point 40 [paras[1], 2] | 1042 PASS Range 36 [document, 0, document, 2], point 40 [paras[1], 2] |
| 1206 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | 1043 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children |
| 1207 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | 1044 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children |
| 1208 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | 1045 PASS Range 36 [document, 0, document, 2], point 43 [testDiv, 0] |
| 1209 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1046 PASS Range 36 [document, 0, document, 2], point 44 [testDiv, 3] |
| 1210 " | |
| 1211 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1212 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1213 PASS Range 36 [document, 0, document, 2], point 45 [document, -1] | 1047 PASS Range 36 [document, 0, document, 2], point 45 [document, -1] |
| 1214 FAIL Range 36 [document, 0, document, 2], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1048 PASS Range 36 [document, 0, document, 2], point 46 [document, 0] |
| 1215 " | 1049 PASS Range 36 [document, 0, document, 2], point 47 [document, 1] |
| 1216 FAIL Range 36 [document, 0, document, 2], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1050 PASS Range 36 [document, 0, document, 2], point 48 [document, 2] |
| 1217 " | |
| 1218 FAIL Range 36 [document, 0, document, 2], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 1219 PASS Range 36 [document, 0, document, 2], point 49 [document, 3] | 1051 PASS Range 36 [document, 0, document, 2], point 49 [document, 3] |
| 1220 PASS Range 36 [document, 0, document, 2], point 50 [comment, -1] | 1052 PASS Range 36 [document, 0, document, 2], point 50 [comment, -1] |
| 1221 FAIL Range 36 [document, 0, document, 2], 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" | 1053 PASS Range 36 [document, 0, document, 2], point 51 [comment, 0] |
| 1222 FAIL Range 36 [document, 0, document, 2], 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" | 1054 PASS Range 36 [document, 0, document, 2], point 52 [comment, 4] |
| 1223 PASS Range 36 [document, 0, document, 2], point 53 [comment, 96] | 1055 PASS Range 36 [document, 0, document, 2], point 53 [comment, 96] |
| 1224 FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 1056 FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1225 FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 1057 FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1226 FAIL Range 36 [document, 0, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children | 1058 FAIL Range 36 [document, 0, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children |
| 1227 FAIL Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children | 1059 FAIL Range 36 [document, 0, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children |
| 1228 FAIL Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children | 1060 FAIL Range 36 [document, 0, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children |
| 1229 PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1] | 1061 PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1] |
| 1230 FAIL Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 1062 FAIL Range 36 [document, 0, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1231 FAIL Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 1063 FAIL Range 36 [document, 0, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1232 PASS Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5] | 1064 PASS Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1252 FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | 1084 FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children |
| 1253 PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0] | 1085 PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0] |
| 1254 FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1086 FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 1255 selection.collapse(point[0], point[1]); | 1087 selection.collapse(point[0], point[1]); |
| 1256 }" 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 | 1088 }" 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 |
| 1257 PASS Range 36 [document, 0, document, 2], point 85 [doctype, 1] | 1089 PASS Range 36 [document, 0, document, 2], point 85 [doctype, 1] |
| 1258 PASS Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0] | 1090 PASS Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0] |
| 1259 PASS Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0] | 1091 PASS Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0] |
| 1260 PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1] | 1092 PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1] |
| 1261 PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0] | 1093 PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0] |
| 1262 FAIL Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1094 PASS Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] |
| 1263 PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2] | 1095 PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2] |
| 1264 PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8] | 1096 PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8] |
| 1265 FAIL Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1097 PASS Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] |
| 1266 PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10] | 1098 PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10] |
| 1267 PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535] | 1099 PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535] |
| 1268 PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1] | 1100 PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1] |
| 1269 FAIL Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1101 PASS Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] |
| 1270 " but got Text node "Qrstuvwx" | 1102 PASS Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] |
| 1271 FAIL Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1103 PASS Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] |
| 1272 " but got Text node "Qrstuvwx" | 1104 PASS Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] |
| 1273 FAIL Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1105 PASS Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] |
| 1274 " but got Text node "Qrstuvwx" | |
| 1275 FAIL Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1276 " but got Text node "Qrstuvwx" | |
| 1277 FAIL Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1278 " but got Text node "Qrstuvwx" | |
| 1279 PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10] | 1106 PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10] |
| 1280 PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535] | 1107 PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535] |
| 1281 FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1108 FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1282 FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1109 FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1283 FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | 1110 FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children |
| 1284 PASS Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
| 1111 PASS Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
|
| 1285 FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1112 FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1286 FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1113 FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1287 FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | 1114 FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children |
| 1288 PASS Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9] | 1115 PASS Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9] |
| 1289 PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1
] | 1116 PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1
] |
| 1290 FAIL Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1117 PASS Range 37 [document, 1, document, 2], point 25 [document.documentElement, 0]
|
| 1291 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1118 PASS Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1]
|
| 1292 " | 1119 PASS Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
|
| 1293 FAIL Range 37 [document, 1, document, 2], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1294 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1295 " | |
| 1296 FAIL Range 37 [document, 1, document, 2], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1297 <me... but got Text node "Qrstuvwx" | |
| 1298 PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
| 1120 PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
|
| 1299 FAIL Range 37 [document, 1, document, 2], 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> | 1121 PASS Range 37 [document, 1, document, 2], point 29 [document.head, 1] |
| 1300 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1122 PASS Range 37 [document, 1, document, 2], point 30 [document.body, 3] |
| 1301 " | |
| 1302 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1303 </p><p id... but got Text node "Qrstuvwx" | |
| 1304 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children | 1123 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children |
| 1305 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children | 1124 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children |
| 1306 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | 1125 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children |
| 1307 FAIL Range 37 [document, 1, document, 2], 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 Document node
with 2 children | 1126 FAIL Range 37 [document, 1, document, 2], 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 Document node
with 2 children |
| 1308 FAIL Range 37 [document, 1, document, 2], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 1127 PASS Range 37 [document, 1, document, 2], point 35 [paras[0], 0] |
| 1309 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1128 PASS Range 37 [document, 1, document, 2], point 36 [paras[0], 1] |
| 1310 " | |
| 1311 FAIL Range 37 [document, 1, document, 2], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 1312 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1313 " | |
| 1314 PASS Range 37 [document, 1, document, 2], point 37 [paras[0], 2] | 1129 PASS Range 37 [document, 1, document, 2], point 37 [paras[0], 2] |
| 1315 FAIL Range 37 [document, 1, document, 2], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 1130 PASS Range 37 [document, 1, document, 2], point 38 [paras[1], 0] |
| 1316 </p> but got Text node "Qrstuvwx" | 1131 PASS Range 37 [document, 1, document, 2], point 39 [paras[1], 1] |
| 1317 FAIL Range 37 [document, 1, document, 2], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 1318 </p> but got Text node "Qrstuvwx" | |
| 1319 PASS Range 37 [document, 1, document, 2], point 40 [paras[1], 2] | 1132 PASS Range 37 [document, 1, document, 2], point 40 [paras[1], 2] |
| 1320 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | 1133 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children |
| 1321 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | 1134 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children |
| 1322 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | 1135 PASS Range 37 [document, 1, document, 2], point 43 [testDiv, 0] |
| 1323 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1136 PASS Range 37 [document, 1, document, 2], point 44 [testDiv, 3] |
| 1324 " | |
| 1325 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1326 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1327 PASS Range 37 [document, 1, document, 2], point 45 [document, -1] | 1137 PASS Range 37 [document, 1, document, 2], point 45 [document, -1] |
| 1328 FAIL Range 37 [document, 1, document, 2], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1138 PASS Range 37 [document, 1, document, 2], point 46 [document, 0] |
| 1329 " | 1139 PASS Range 37 [document, 1, document, 2], point 47 [document, 1] |
| 1330 FAIL Range 37 [document, 1, document, 2], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1140 PASS Range 37 [document, 1, document, 2], point 48 [document, 2] |
| 1331 " | |
| 1332 FAIL Range 37 [document, 1, document, 2], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 1333 PASS Range 37 [document, 1, document, 2], point 49 [document, 3] | 1141 PASS Range 37 [document, 1, document, 2], point 49 [document, 3] |
| 1334 PASS Range 37 [document, 1, document, 2], point 50 [comment, -1] | 1142 PASS Range 37 [document, 1, document, 2], point 50 [comment, -1] |
| 1335 FAIL Range 37 [document, 1, document, 2], 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" | 1143 PASS Range 37 [document, 1, document, 2], point 51 [comment, 0] |
| 1336 FAIL Range 37 [document, 1, document, 2], 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" | 1144 PASS Range 37 [document, 1, document, 2], point 52 [comment, 4] |
| 1337 PASS Range 37 [document, 1, document, 2], point 53 [comment, 96] | 1145 PASS Range 37 [document, 1, document, 2], point 53 [comment, 96] |
| 1338 FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 1146 FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1339 FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | 1147 FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children |
| 1340 FAIL Range 37 [document, 1, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children | 1148 FAIL Range 37 [document, 1, document, 2], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Document
node with 2 children |
| 1341 FAIL Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children | 1149 FAIL Range 37 [document, 1, document, 2], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Document node w
ith 2 children |
| 1342 FAIL Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children | 1150 FAIL Range 37 [document, 1, document, 2], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Document node
with 2 children |
| 1343 PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1] | 1151 PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1] |
| 1344 FAIL Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 1152 FAIL Range 37 [document, 1, document, 2], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1345 FAIL Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children | 1153 FAIL Range 37 [document, 1, document, 2], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Document node with 2 children |
| 1346 PASS Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5] | 1154 PASS Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1366 FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | 1174 FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children |
| 1367 PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0] | 1175 PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0] |
| 1368 FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1176 FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 1369 selection.collapse(point[0], point[1]); | 1177 selection.collapse(point[0], point[1]); |
| 1370 }" 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 | 1178 }" 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 |
| 1371 PASS Range 37 [document, 1, document, 2], point 85 [doctype, 1] | 1179 PASS Range 37 [document, 1, document, 2], point 85 [doctype, 1] |
| 1372 PASS Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0] | 1180 PASS Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0] |
| 1373 PASS Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0] | 1181 PASS Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0] |
| 1374 PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1] | 1182 PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1] |
| 1375 PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0] | 1183 PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0] |
| 1376 FAIL Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 1184 PASS Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] |
| 1377 PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2] | 1185 PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2] |
| 1378 PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8] | 1186 PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8] |
| 1379 FAIL Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | 1187 PASS Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] |
| 1380 PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10] | 1188 PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10] |
| 1381 PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535] | 1189 PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535] |
| 1382 PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1] | 1190 PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1] |
| 1383 FAIL Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | 1191 PASS Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] |
| 1384 " but got Text node "Qrstuvwx" | 1192 PASS Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] |
| 1385 FAIL Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1193 PASS Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] |
| 1386 " but got Text node "Qrstuvwx" | 1194 PASS Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] |
| 1387 FAIL Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1195 PASS Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] |
| 1388 " but got Text node "Qrstuvwx" | |
| 1389 FAIL Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1390 " but got Text node "Qrstuvwx" | |
| 1391 FAIL Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1392 " but got Text node "Qrstuvwx" | |
| 1393 PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10] | 1196 PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10] |
| 1394 PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535] | 1197 PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535] |
| 1395 FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1198 FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1396 FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1199 FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1397 FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1200 FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1398 PASS Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9] | 1201 PASS Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9] |
| 1399 FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1202 FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1400 FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1203 FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1401 FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1204 FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1402 PASS Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9] | 1205 PASS Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9] |
| 1403 PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1] | 1206 PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1] |
| 1404 FAIL Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 1207 PASS Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] |
| 1405 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1208 PASS Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] |
| 1406 " | 1209 PASS Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] |
| 1407 FAIL Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 1408 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1409 " | |
| 1410 FAIL Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 1411 <me... but got Text node "Qrstuvwx" | |
| 1412 PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7] | 1210 PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7] |
| 1413 FAIL Range 38 [testDiv, 0, comment, 5], point 29 [document.head, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <head><
title>Selection.collapse() tests</title> | 1211 PASS Range 38 [testDiv, 0, comment, 5], point 29 [document.head, 1] |
| 1414 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1212 PASS Range 38 [testDiv, 0, comment, 5], point 30 [document.body, 3] |
| 1415 " | |
| 1416 FAIL Range 38 [testDiv, 0, comment, 5], point 30 [document.body, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1417 </p><p id... but got Text node "Qrstuvwx" | |
| 1418 FAIL Range 38 [testDiv, 0, comment, 5], point 31 [foreignDoc.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comme
nt node <!--Alphabet soup?--> | 1213 FAIL Range 38 [testDiv, 0, comment, 5], point 31 [foreignDoc.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comme
nt node <!--Alphabet soup?--> |
| 1419 FAIL Range 38 [testDiv, 0, comment, 5], point 32 [foreignDoc.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comme
nt node <!--Alphabet soup?--> | 1214 FAIL Range 38 [testDiv, 0, comment, 5], point 32 [foreignDoc.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comme
nt node <!--Alphabet soup?--> |
| 1420 FAIL Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title></title></head> but got Comment node <!--Alphabet soup?--> | 1215 FAIL Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title></title></head> but got Comment node <!--Alphabet soup?--> |
| 1421 FAIL Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <body
><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!-
-Alphabet soup?--> | 1216 FAIL Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <body
><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!-
-Alphabet soup?--> |
| 1422 FAIL Range 38 [testDiv, 0, comment, 5], point 35 [paras[0], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | 1217 PASS Range 38 [testDiv, 0, comment, 5], point 35 [paras[0], 0] |
| 1423 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1218 PASS Range 38 [testDiv, 0, comment, 5], point 36 [paras[0], 1] |
| 1424 " | |
| 1425 FAIL Range 38 [testDiv, 0, comment, 5], point 36 [paras[0], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 1426 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1427 " | |
| 1428 PASS Range 38 [testDiv, 0, comment, 5], point 37 [paras[0], 2] | 1219 PASS Range 38 [testDiv, 0, comment, 5], point 37 [paras[0], 2] |
| 1429 FAIL Range 38 [testDiv, 0, comment, 5], point 38 [paras[1], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | 1220 PASS Range 38 [testDiv, 0, comment, 5], point 38 [paras[1], 0] |
| 1430 </p> but got Text node "Qrstuvwx" | 1221 PASS Range 38 [testDiv, 0, comment, 5], point 39 [paras[1], 1] |
| 1431 FAIL Range 38 [testDiv, 0, comment, 5], point 39 [paras[1], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 1432 </p> but got Text node "Qrstuvwx" | |
| 1433 PASS Range 38 [testDiv, 0, comment, 5], point 40 [paras[1], 2] | 1222 PASS Range 38 [testDiv, 0, comment, 5], point 40 [paras[1], 2] |
| 1434 FAIL Range 38 [testDiv, 0, comment, 5], point 41 [detachedPara1, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> | 1223 FAIL Range 38 [testDiv, 0, comment, 5], point 41 [detachedPara1, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> |
| 1435 FAIL Range 38 [testDiv, 0, comment, 5], point 42 [detachedPara1, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> | 1224 FAIL Range 38 [testDiv, 0, comment, 5], point 42 [detachedPara1, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> |
| 1436 FAIL Range 38 [testDiv, 0, comment, 5], point 43 [testDiv, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1225 PASS Range 38 [testDiv, 0, comment, 5], point 43 [testDiv, 0] |
| 1437 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1226 PASS Range 38 [testDiv, 0, comment, 5], point 44 [testDiv, 3] |
| 1438 " | |
| 1439 FAIL Range 38 [testDiv, 0, comment, 5], point 44 [testDiv, 3] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1440 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1441 PASS Range 38 [testDiv, 0, comment, 5], point 45 [document, -1] | 1227 PASS Range 38 [testDiv, 0, comment, 5], point 45 [document, -1] |
| 1442 FAIL Range 38 [testDiv, 0, comment, 5], point 46 [document, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1228 PASS Range 38 [testDiv, 0, comment, 5], point 46 [document, 0] |
| 1443 " | 1229 PASS Range 38 [testDiv, 0, comment, 5], point 47 [document, 1] |
| 1444 FAIL Range 38 [testDiv, 0, comment, 5], point 47 [document, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1230 PASS Range 38 [testDiv, 0, comment, 5], point 48 [document, 2] |
| 1445 " | |
| 1446 FAIL Range 38 [testDiv, 0, comment, 5], point 48 [document, 2] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Qrstuvwx" | |
| 1447 PASS Range 38 [testDiv, 0, comment, 5], point 49 [document, 3] | 1231 PASS Range 38 [testDiv, 0, comment, 5], point 49 [document, 3] |
| 1448 PASS Range 38 [testDiv, 0, comment, 5], point 50 [comment, -1] | 1232 PASS Range 38 [testDiv, 0, comment, 5], point 50 [comment, -1] |
| 1449 FAIL Range 38 [testDiv, 0, comment, 5], point 51 [comment, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1233 PASS Range 38 [testDiv, 0, comment, 5], point 51 [comment, 0] |
| 1450 FAIL Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1234 PASS Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] |
| 1451 PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96] | 1235 PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96] |
| 1452 FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> | 1236 FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> |
| 1453 FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> | 1237 FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> |
| 1454 FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Comment node <!--"C
ommenter" and "commentator" mean different things. I'v...--> but got Comment no
de <!--Alphabet soup?--> | 1238 FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Comment node <!--"C
ommenter" and "commentator" mean different things. I'v...--> but got Comment no
de <!--Alphabet soup?--> |
| 1455 FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Text node "I admit
that I harbor doubts about whether we really need..." but got Comment node <!--
Alphabet soup?--> | 1239 FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Text node "I admit
that I harbor doubts about whether we really need..." but got Comment node <!--
Alphabet soup?--> |
| 1456 FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> | 1240 FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> |
| 1457 PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1] | 1241 PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1] |
| 1458 FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> | 1242 FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> |
| 1459 FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> | 1243 FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> |
| 1460 PASS Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5] | 1244 PASS Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1480 FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node w
ith 0 children but got Comment node <!--Alphabet soup?--> | 1264 FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node w
ith 0 children but got Comment node <!--Alphabet soup?--> |
| 1481 PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0] | 1265 PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0] |
| 1482 FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | 1266 FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { |
| 1483 selection.collapse(point[0], point[1]); | 1267 selection.collapse(point[0], point[1]); |
| 1484 }" 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 | 1268 }" 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 |
| 1485 PASS Range 38 [testDiv, 0, comment, 5], point 85 [doctype, 1] | 1269 PASS Range 38 [testDiv, 0, comment, 5], point 85 [doctype, 1] |
| 1486 PASS Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0] | 1270 PASS Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0] |
| 1487 PASS Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0] | 1271 PASS Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0] |
| 1488 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild
, -1] | 1272 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild
, -1] |
| 1489 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild
, 0] | 1273 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild
, 0] |
| 1490 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 1274 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild
, 1] |
| 1491 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild
, 2] | 1275 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild
, 2] |
| 1492 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild
, 8] | 1276 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild
, 8] |
| 1493 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 1277 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild
, 9] |
| 1494 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild
, 10] | 1278 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild
, 10] |
| 1495 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild
, 65535] | 1279 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild
, 65535] |
| 1496 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild
, -1] | 1280 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild
, -1] |
| 1497 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 1281 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild
, 0] |
| 1498 " but got Text node "Qrstuvwx" | 1282 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChil
d, 1] |
| 1499 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1283 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChil
d, 2] |
| 1500 " but got Text node "Qrstuvwx" | 1284 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
d, 8] |
| 1501 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 1285 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChil
d, 9] |
| 1502 " but got Text node "Qrstuvwx" | |
| 1503 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1504 " but got Text node "Qrstuvwx" | |
| 1505 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1506 " but got Text node "Qrstuvwx" | |
| 1507 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChil
d, 10] | 1286 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChil
d, 10] |
| 1508 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChil
d, 65535] | 1287 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChil
d, 65535] |
| 1509 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1288 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1510 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1289 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1511 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1290 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1512 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firs
tChild, 9] | 1291 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firs
tChild, 9] |
| 1513 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | 1292 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1514 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | 1293 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1515 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | 1294 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1516 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.first
Child, 9] | 1295 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.first
Child, 9] |
| 1517 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentE
lement, -1] | 1296 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentE
lement, -1] |
| 1518 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | 1297 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 25 [document.documentE
lement, 0] |
| 1519 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1298 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 26 [document.documentE
lement, 1] |
| 1520 " | 1299 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 27 [document.documentE
lement, 2] |
| 1521 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | |
| 1522 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1523 " | |
| 1524 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | |
| 1525 <me... but got Text node "Qrstuvwx" | |
| 1526 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentE
lement, 7] | 1300 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentE
lement, 7] |
| 1527 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 1301 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 29 [document.head, 1] |
| 1528 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1302 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 30 [document.body, 3] |
| 1529 " | |
| 1530 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1531 </p><p id... but got Text node "Qrstuvwx" | |
| 1532 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | 1303 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> |
| 1533 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | 1304 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> |
| 1534 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Comment node <!--Alphabet soup?--> | 1305 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Comment node <!--Alphabet soup?--> |
| 1535 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comm
ent node <!--Alphabet soup?--> | 1306 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comm
ent node <!--Alphabet soup?--> |
| 1536 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | 1307 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 35 [paras[0], 0] |
| 1537 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1308 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 36 [paras[0], 1] |
| 1538 " | |
| 1539 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1540 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1541 " | |
| 1542 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 37 [paras[0], 2] | 1309 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 37 [paras[0], 2] |
| 1543 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 | 1310 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 38 [paras[1], 0] |
| 1544 </p> but got Text node "Qrstuvwx" | 1311 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 39 [paras[1], 1] |
| 1545 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 | |
| 1546 </p> but got Text node "Qrstuvwx" | |
| 1547 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 40 [paras[1], 2] | 1312 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 40 [paras[1], 2] |
| 1548 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> | 1313 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> |
| 1549 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> | 1314 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> |
| 1550 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1315 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 43 [testDiv, 0] |
| 1551 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1316 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 44 [testDiv, 3] |
| 1552 " | |
| 1553 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1554 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1555 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 45 [document, -1] | 1317 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 45 [document, -1] |
| 1556 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | 1318 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 46 [document, 0] |
| 1557 " | 1319 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 47 [document, 1] |
| 1558 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | 1320 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 48 [document, 2] |
| 1559 " | |
| 1560 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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" | |
| 1561 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 49 [document, 3] | 1321 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 49 [document, 3] |
| 1562 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 50 [comment, -1] | 1322 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 50 [comment, -1] |
| 1563 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1323 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 51 [comment, 0] |
| 1564 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1324 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 52 [comment, 4] |
| 1565 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96] | 1325 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96] |
| 1566 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | 1326 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> |
| 1567 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | 1327 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> |
| 1568 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Comment node <!--Alphabet soup?--> | 1328 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Comment node <!--Alphabet soup?--> |
| 1569 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Comme
nt node <!--Alphabet soup?--> | 1329 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Comme
nt node <!--Alphabet soup?--> |
| 1570 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Comm
ent node <!--Alphabet soup?--> | 1330 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Comm
ent node <!--Alphabet soup?--> |
| 1571 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1] | 1331 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1] |
| 1572 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> | 1332 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> |
| 1573 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> | 1333 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> |
| 1574 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5] | 1334 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1594 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Comment node <!--Alphabet soup?--> | 1354 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Comment node <!--Alphabet soup?--> |
| 1595 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0] | 1355 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0] |
| 1596 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 1356 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 1597 selection.collapse(point[0], point[1]); | 1357 selection.collapse(point[0], point[1]); |
| 1598 }" 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 | 1358 }" 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 |
| 1599 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 85 [doctype, 1] | 1359 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 85 [doctype, 1] |
| 1600 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
| 1360 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
|
| 1601 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0] | 1361 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0] |
| 1602 PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1] | 1362 PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1] |
| 1603 PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0] | 1363 PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0] |
| 1604 FAIL Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1364 PASS Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] |
| 1605 PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2] | 1365 PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2] |
| 1606 PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8] | 1366 PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8] |
| 1607 FAIL Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1367 PASS Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] |
| 1608 PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10] | 1368 PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10] |
| 1609 PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535] | 1369 PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535] |
| 1610 PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1] | 1370 PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1] |
| 1611 FAIL Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 1371 PASS Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] |
| 1612 " but got Text node "Qrstuvwx" | 1372 PASS Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] |
| 1613 FAIL Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1373 PASS Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] |
| 1614 " but got Text node "Qrstuvwx" | 1374 PASS Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] |
| 1615 FAIL Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1375 PASS Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] |
| 1616 " but got Text node "Qrstuvwx" | |
| 1617 FAIL Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1618 " but got Text node "Qrstuvwx" | |
| 1619 FAIL Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1620 " but got Text node "Qrstuvwx" | |
| 1621 PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10] | 1376 PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10] |
| 1622 PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535] | 1377 PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535] |
| 1623 FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1378 FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1624 FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1379 FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1625 FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | 1380 FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> |
| 1626 PASS Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9] | 1381 PASS Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9] |
| 1627 FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1382 FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1628 FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1383 FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1629 FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | 1384 FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> |
| 1630 PASS Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9] | 1385 PASS Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9] |
| 1631 PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
| 1386 PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
|
| 1632 FAIL Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1387 PASS Range 40 [paras[3], 1, comment, 8], point 25 [document.documentElement, 0] |
| 1633 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1388 PASS Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1] |
| 1634 " | 1389 PASS Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2] |
| 1635 FAIL Range 40 [paras[3], 1, comment, 8], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1636 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1637 " | |
| 1638 FAIL Range 40 [paras[3], 1, comment, 8], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 1639 <me... but got Text node "Qrstuvwx" | |
| 1640 PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7] | 1390 PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7] |
| 1641 FAIL Range 40 [paras[3], 1, comment, 8], point 29 [document.head, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <head>
<title>Selection.collapse() tests</title> | 1391 PASS Range 40 [paras[3], 1, comment, 8], point 29 [document.head, 1] |
| 1642 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1392 PASS Range 40 [paras[3], 1, comment, 8], point 30 [document.body, 3] |
| 1643 " | |
| 1644 FAIL Range 40 [paras[3], 1, comment, 8], point 30 [document.body, 3] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1645 </p><p id... but got Text node "Qrstuvwx" | |
| 1646 FAIL Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> | 1393 FAIL Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> |
| 1647 FAIL Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> | 1394 FAIL Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> |
| 1648 FAIL Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Comment node <!--Alphabet soup?--> | 1395 FAIL Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Comment node <!--Alphabet soup?--> |
| 1649 FAIL Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!
--Alphabet soup?--> | 1396 FAIL Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!
--Alphabet soup?--> |
| 1650 FAIL Range 40 [paras[3], 1, comment, 8], point 35 [paras[0], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | 1397 PASS Range 40 [paras[3], 1, comment, 8], point 35 [paras[0], 0] |
| 1651 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1398 PASS Range 40 [paras[3], 1, comment, 8], point 36 [paras[0], 1] |
| 1652 " | |
| 1653 FAIL Range 40 [paras[3], 1, comment, 8], point 36 [paras[0], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 1654 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1655 " | |
| 1656 PASS Range 40 [paras[3], 1, comment, 8], point 37 [paras[0], 2] | 1399 PASS Range 40 [paras[3], 1, comment, 8], point 37 [paras[0], 2] |
| 1657 FAIL Range 40 [paras[3], 1, comment, 8], point 38 [paras[1], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | 1400 PASS Range 40 [paras[3], 1, comment, 8], point 38 [paras[1], 0] |
| 1658 </p> but got Text node "Qrstuvwx" | 1401 PASS Range 40 [paras[3], 1, comment, 8], point 39 [paras[1], 1] |
| 1659 FAIL Range 40 [paras[3], 1, comment, 8], point 39 [paras[1], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 1660 </p> but got Text node "Qrstuvwx" | |
| 1661 PASS Range 40 [paras[3], 1, comment, 8], point 40 [paras[1], 2] | 1402 PASS Range 40 [paras[3], 1, comment, 8], point 40 [paras[1], 2] |
| 1662 FAIL Range 40 [paras[3], 1, comment, 8], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> | 1403 FAIL Range 40 [paras[3], 1, comment, 8], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> |
| 1663 FAIL Range 40 [paras[3], 1, comment, 8], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> | 1404 FAIL Range 40 [paras[3], 1, comment, 8], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> |
| 1664 FAIL Range 40 [paras[3], 1, comment, 8], point 43 [testDiv, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1405 PASS Range 40 [paras[3], 1, comment, 8], point 43 [testDiv, 0] |
| 1665 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1406 PASS Range 40 [paras[3], 1, comment, 8], point 44 [testDiv, 3] |
| 1666 " | |
| 1667 FAIL Range 40 [paras[3], 1, comment, 8], point 44 [testDiv, 3] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1668 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1669 PASS Range 40 [paras[3], 1, comment, 8], point 45 [document, -1] | 1407 PASS Range 40 [paras[3], 1, comment, 8], point 45 [document, -1] |
| 1670 FAIL Range 40 [paras[3], 1, comment, 8], point 46 [document, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1408 PASS Range 40 [paras[3], 1, comment, 8], point 46 [document, 0] |
| 1671 " | 1409 PASS Range 40 [paras[3], 1, comment, 8], point 47 [document, 1] |
| 1672 FAIL Range 40 [paras[3], 1, comment, 8], point 47 [document, 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1410 PASS Range 40 [paras[3], 1, comment, 8], point 48 [document, 2] |
| 1673 " | |
| 1674 FAIL Range 40 [paras[3], 1, comment, 8], point 48 [document, 2] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Qrstuvwx" | |
| 1675 PASS Range 40 [paras[3], 1, comment, 8], point 49 [document, 3] | 1411 PASS Range 40 [paras[3], 1, comment, 8], point 49 [document, 3] |
| 1676 PASS Range 40 [paras[3], 1, comment, 8], point 50 [comment, -1] | 1412 PASS Range 40 [paras[3], 1, comment, 8], point 50 [comment, -1] |
| 1677 FAIL Range 40 [paras[3], 1, comment, 8], point 51 [comment, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1413 PASS Range 40 [paras[3], 1, comment, 8], point 51 [comment, 0] |
| 1678 FAIL Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 1414 PASS Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] |
| 1679 PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96] | 1415 PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96] |
| 1680 FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> | 1416 FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> |
| 1681 FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> | 1417 FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> |
| 1682 FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Comment n
ode <!--Alphabet soup?--> | 1418 FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Comment n
ode <!--Alphabet soup?--> |
| 1683 FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> | 1419 FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> |
| 1684 FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Comment node <!
--Alphabet soup?--> | 1420 FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Comment node <!
--Alphabet soup?--> |
| 1685 PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1] | 1421 PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1] |
| 1686 FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> | 1422 FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> |
| 1687 FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> | 1423 FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> |
| 1688 PASS Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5] | 1424 PASS Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1708 FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Comment node <!--Alphabet soup?--> | 1444 FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Comment node <!--Alphabet soup?--> |
| 1709 PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0] | 1445 PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0] |
| 1710 FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | 1446 FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { |
| 1711 selection.collapse(point[0], point[1]); | 1447 selection.collapse(point[0], point[1]); |
| 1712 }" 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 | 1448 }" 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 |
| 1713 PASS Range 40 [paras[3], 1, comment, 8], point 85 [doctype, 1] | 1449 PASS Range 40 [paras[3], 1, comment, 8], point 85 [doctype, 1] |
| 1714 PASS Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0] | 1450 PASS Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0] |
| 1715 PASS Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0] | 1451 PASS Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0] |
| 1716 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1] | 1452 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1] |
| 1717 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0] | 1453 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0] |
| 1718 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | 1454 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] |
| 1719 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2] | 1455 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2] |
| 1720 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8] | 1456 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8] |
| 1721 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | 1457 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] |
| 1722 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10] | 1458 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10] |
| 1723 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 6553
5] | 1459 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 6553
5] |
| 1724 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1] | 1460 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1] |
| 1725 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | 1461 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] |
| 1726 " but got Text node "Qrstuvwx" | 1462 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1] |
| 1727 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1463 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2] |
| 1728 " but got Text node "Qrstuvwx" | 1464 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8] |
| 1729 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 1465 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9] |
| 1730 " but got Text node "Qrstuvwx" | |
| 1731 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1732 " but got Text node "Qrstuvwx" | |
| 1733 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1734 " but got Text node "Qrstuvwx" | |
| 1735 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
| 1466 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
|
| 1736 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 655
35] | 1467 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 655
35] |
| 1737 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1468 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 1738 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1469 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 1739 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1470 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 1740 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild
, 9] | 1471 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild
, 9] |
| 1741 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1472 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 1742 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1473 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 1743 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1474 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 1744 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild,
9] | 1475 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild,
9] |
| 1745 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement
, -1] | 1476 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement
, -1] |
| 1746 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 1477 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement
, 0] |
| 1747 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1478 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement
, 1] |
| 1748 " | 1479 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
, 2] |
| 1749 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 1750 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1751 " | |
| 1752 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 1753 <me... but got Text node "Qrstuvwx" | |
| 1754 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement
, 7] | 1480 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement
, 7] |
| 1755 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 29 [document.head, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
head><title>Selection.collapse() tests</title> | 1481 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 29 [document.head, 1] |
| 1756 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1482 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 30 [document.body, 3] |
| 1757 " | |
| 1758 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 30 [document.body, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1759 </p><p id... but got Text node "Qrstuvwx" | |
| 1760 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1483 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 1761 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1484 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 1762 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1485 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1763 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1486 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1764 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 35 [paras[0], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | 1487 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 35 [paras[0], 0] |
| 1765 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1488 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 36 [paras[0], 1] |
| 1766 " | |
| 1767 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 36 [paras[0], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1768 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1769 " | |
| 1770 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 37 [paras[0], 2] | 1489 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 37 [paras[0], 2] |
| 1771 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 38 [paras[1], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | 1490 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 38 [paras[1], 0] |
| 1772 </p> but got Text node "Qrstuvwx" | 1491 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 39 [paras[1], 1] |
| 1773 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 39 [paras[1], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 1774 </p> but got Text node "Qrstuvwx" | |
| 1775 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 40 [paras[1], 2] | 1492 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 40 [paras[1], 2] |
| 1776 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1493 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1777 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1494 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1778 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 43 [testDiv, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1495 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 43 [testDiv, 0] |
| 1779 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1496 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 44 [testDiv, 3] |
| 1780 " | |
| 1781 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 44 [testDiv, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1782 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1783 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 45 [document, -1] | 1497 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 45 [document, -1] |
| 1784 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 46 [document, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1498 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 46 [document, 0] |
| 1785 " | 1499 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 47 [document, 1] |
| 1786 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 47 [document, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1500 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 48 [document, 2] |
| 1787 " | |
| 1788 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 48 [document, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Qrstuvwx" | |
| 1789 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 49 [document, 3] | 1501 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 49 [document, 3] |
| 1790 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 50 [comment, -1] | 1502 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 50 [comment, -1] |
| 1791 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 51 [comment, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 1503 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 51 [comment, 0] |
| 1792 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 1504 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] |
| 1793 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96] | 1505 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96] |
| 1794 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1506 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1795 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1507 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1796 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1508 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1797 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1509 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1798 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1510 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 1799 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1] | 1511 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1] |
| 1800 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1512 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1801 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1513 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1802 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5] | 1514 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1822 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1534 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1823 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0] | 1535 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0] |
| 1824 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 1536 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { |
| 1825 selection.collapse(point[0], point[1]); | 1537 selection.collapse(point[0], point[1]); |
| 1826 }" 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 | 1538 }" 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 |
| 1827 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 85 [doctype, 1] | 1539 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 85 [doctype, 1] |
| 1828 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0] | 1540 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0] |
| 1829 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0] | 1541 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0] |
| 1830 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild,
-1] | 1542 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild,
-1] |
| 1831 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild,
0] | 1543 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild,
0] |
| 1832 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild,
1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1
but got 2 | 1544 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild,
1] |
| 1833 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild,
2] | 1545 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild,
2] |
| 1834 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild,
8] | 1546 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild,
8] |
| 1835 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild,
9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9
but got 10 | 1547 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild,
9] |
| 1836 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild,
10] | 1548 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild,
10] |
| 1837 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild,
65535] | 1549 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild,
65535] |
| 1838 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild,
-1] | 1550 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild,
-1] |
| 1839 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1551 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild,
0] |
| 1840 " but got Text node "Qrstuvwx" | 1552 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild,
1] |
| 1841 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild,
1] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1553 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild,
2] |
| 1842 " but got Text node "Qrstuvwx" | 1554 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
8] |
| 1843 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild,
2] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | 1555 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild,
9] |
| 1844 " but got Text node "Qrstuvwx" | |
| 1845 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1846 " but got Text node "Qrstuvwx" | |
| 1847 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild,
9] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1848 " but got Text node "Qrstuvwx" | |
| 1849 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild,
10] | 1556 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild,
10] |
| 1850 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild,
65535] | 1557 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild,
65535] |
| 1851 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstC
hild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1558 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstC
hild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 1852 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstC
hild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1559 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstC
hild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 1853 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstC
hild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1560 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstC
hild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 1854 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstC
hild, 9] | 1561 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstC
hild, 9] |
| 1855 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstCh
ild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1562 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstCh
ild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 1856 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
ild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1563 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
ild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 1857 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstCh
ild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1564 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstCh
ild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 1858 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstCh
ild, 9] | 1565 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstCh
ild, 9] |
| 1859 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentEle
ment, -1] | 1566 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentEle
ment, -1] |
| 1860 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentEle
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | 1567 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentEle
ment, 0] |
| 1861 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1568 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentEle
ment, 1] |
| 1862 " | 1569 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
ment, 2] |
| 1863 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentEle
ment, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | |
| 1864 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1865 " | |
| 1866 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
ment, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | |
| 1867 <me... but got Text node "Qrstuvwx" | |
| 1868 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentEle
ment, 7] | 1570 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentEle
ment, 7] |
| 1869 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 29 [document.head, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <head><title>Selection.collapse() tests</title> | 1571 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 29 [document.head, 1] |
| 1870 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1572 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 30 [document.body, 3] |
| 1871 " | |
| 1872 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 30 [document.body, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1873 </p><p id... but got Text node "Qrstuvwx" | |
| 1874 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentE
lement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 1573 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentE
lement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 1875 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentE
lement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 1574 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentE
lement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 1876 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1575 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 1877 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1576 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 1878 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 35 [paras[0], 0] assert_
equals: focusNode must equal the node we collapse()d to expected Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1577 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 35 [paras[0], 0] |
| 1879 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1578 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 36 [paras[0], 1] |
| 1880 " | |
| 1881 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 36 [paras[0], 1] assert_
equals: focusNode must equal the node we collapse()d to expected Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1882 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1883 " | |
| 1884 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 37 [paras[0], 2] | 1579 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 37 [paras[0], 2] |
| 1885 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 38 [paras[1], 0] assert_
equals: focusNode must equal the node we collapse()d to expected Element node <p
id="b" style="display:none">Ijklmnop | 1580 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 38 [paras[1], 0] |
| 1886 </p> but got Text node "Qrstuvwx" | 1581 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 39 [paras[1], 1] |
| 1887 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 39 [paras[1], 1] assert_
equals: focusNode must equal the node we collapse()d to expected Element node <p
id="b" style="display:none">Ijklmnop | |
| 1888 </p> but got Text node "Qrstuvwx" | |
| 1889 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 40 [paras[1], 2] | 1582 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 40 [paras[1], 2] |
| 1890 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 41 [detachedPara1, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 1583 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 41 [detachedPara1, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 1891 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 42 [detachedPara1, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 1584 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 42 [detachedPara1, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 1892 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 43 [testDiv, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1585 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 43 [testDiv, 0] |
| 1893 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1586 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 44 [testDiv, 3] |
| 1894 " | |
| 1895 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 44 [testDiv, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1896 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1897 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 45 [document, -1] | 1587 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 45 [document, -1] |
| 1898 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 46 [document, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1588 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 46 [document, 0] |
| 1899 " | 1589 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 47 [document, 1] |
| 1900 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 47 [document, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1590 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 48 [document, 2] |
| 1901 " | |
| 1902 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 48 [document, 2] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Qrstuvwx" | |
| 1903 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 49 [document, 3] | 1591 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 49 [document, 3] |
| 1904 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 50 [comment, -1] | 1592 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 50 [comment, -1] |
| 1905 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 51 [comment, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" | 1593 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 51 [comment, 0] |
| 1906 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" | 1594 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] |
| 1907 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96] | 1595 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96] |
| 1908 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1596 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1909 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1597 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1910 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1598 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 1911 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1599 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 1912 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1600 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 1913 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1] | 1601 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1] |
| 1914 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1602 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1915 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1603 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 1916 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5] | 1604 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1936 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1624 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 1937 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0] | 1625 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0] |
| 1938 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert
_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Do
cumentType function "function () { | 1626 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert
_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Do
cumentType function "function () { |
| 1939 selection.collapse(point[0], point[1]); | 1627 selection.collapse(point[0], point[1]); |
| 1940 }" 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 | 1628 }" 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 |
| 1941 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 85 [doctype, 1] | 1629 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 85 [doctype, 1] |
| 1942 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0] | 1630 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0] |
| 1943 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0] | 1631 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0] |
| 1944 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].first
Child, -1] | 1632 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].first
Child, -1] |
| 1945 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].first
Child, 0] | 1633 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].first
Child, 0] |
| 1946 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].first
Child, 1] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 1 but got 2 | 1634 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].first
Child, 1] |
| 1947 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].first
Child, 2] | 1635 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].first
Child, 2] |
| 1948 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].first
Child, 8] | 1636 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].first
Child, 8] |
| 1949 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].first
Child, 9] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 9 but got 10 | 1637 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].first
Child, 9] |
| 1950 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].first
Child, 10] | 1638 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].first
Child, 10] |
| 1951 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].first
Child, 65535] | 1639 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].first
Child, 65535] |
| 1952 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].first
Child, -1] | 1640 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].first
Child, -1] |
| 1953 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 1641 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].first
Child, 0] |
| 1954 " but got Text node "Qrstuvwx" | 1642 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firs
tChild, 1] |
| 1955 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1643 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firs
tChild, 2] |
| 1956 " but got Text node "Qrstuvwx" | 1644 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
tChild, 8] |
| 1957 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firs
tChild, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1645 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firs
tChild, 9] |
| 1958 " but got Text node "Qrstuvwx" | |
| 1959 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1960 " but got Text node "Qrstuvwx" | |
| 1961 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firs
tChild, 9] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1962 " but got Text node "Qrstuvwx" | |
| 1963 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firs
tChild, 10] | 1646 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firs
tChild, 10] |
| 1964 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firs
tChild, 65535] | 1647 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firs
tChild, 65535] |
| 1965 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1648 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 1966 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1649 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 1967 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1650 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 1968 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1
.firstChild, 9] | 1651 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1
.firstChild, 9] |
| 1969 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1652 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 1970 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1653 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 1971 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1654 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 1972 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.
firstChild, 9] | 1655 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.
firstChild, 9] |
| 1973 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.docu
mentElement, -1] | 1656 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.docu
mentElement, -1] |
| 1974 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.docu
mentElement, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | 1657 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.docu
mentElement, 0] |
| 1975 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1658 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.docu
mentElement, 1] |
| 1976 " | 1659 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
mentElement, 2] |
| 1977 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.docu
mentElement, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1978 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1979 " | |
| 1980 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
mentElement, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1981 <me... but got Text node "Qrstuvwx" | |
| 1982 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.docu
mentElement, 7] | 1660 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.docu
mentElement, 7] |
| 1983 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 29 [document.head
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <head><title>Selection.collapse() tests</title> | 1661 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 29 [document.head
, 1] |
| 1984 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1662 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 30 [document.body
, 3] |
| 1985 " | |
| 1986 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 30 [document.body
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1987 </p><p id... but got Text node "Qrstuvwx" | |
| 1988 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.do
cumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1663 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.do
cumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1989 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.do
cumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1664 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.do
cumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1990 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.he
ad, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1665 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.he
ad, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 1991 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.bo
dy, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1666 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.bo
dy, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 1992 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 35 [paras[0], 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1667 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 35 [paras[0], 0] |
| 1993 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1668 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 36 [paras[0], 1] |
| 1994 " | |
| 1995 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 36 [paras[0], 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1996 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1997 " | |
| 1998 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 37 [paras[0], 2] | 1669 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 37 [paras[0], 2] |
| 1999 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 38 [paras[1], 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="b" style="display:none">Ijklmnop | 1670 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 38 [paras[1], 0] |
| 2000 </p> but got Text node "Qrstuvwx" | 1671 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 39 [paras[1], 1] |
| 2001 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 39 [paras[1], 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="b" style="display:none">Ijklmnop | |
| 2002 </p> but got Text node "Qrstuvwx" | |
| 2003 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 40 [paras[1], 2] | 1672 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 40 [paras[1], 2] |
| 2004 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 41 [detachedPara1
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1673 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 41 [detachedPara1
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2005 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 42 [detachedPara1
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1674 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 42 [detachedPara1
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2006 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 43 [testDiv, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1675 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 43 [testDiv, 0] |
| 2007 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1676 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 44 [testDiv, 3] |
| 2008 " | |
| 2009 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 44 [testDiv, 3] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2010 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2011 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 45 [document, -1]
| 1677 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 45 [document, -1]
|
| 2012 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 46 [document, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1678 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 46 [document, 0] |
| 2013 " | 1679 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 47 [document, 1] |
| 2014 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 47 [document, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1680 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 48 [document, 2] |
| 2015 " | |
| 2016 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 48 [document, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Qrstuvwx" | |
| 2017 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 49 [document, 3] | 1681 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 49 [document, 3] |
| 2018 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 50 [comment, -1] | 1682 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 50 [comment, -1] |
| 2019 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 51 [comment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1683 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 51 [comment, 0] |
| 2020 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1684 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] |
| 2021 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96] | 1685 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96] |
| 2022 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1686 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 2023 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1687 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 2024 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignCommen
t, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1688 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignCommen
t, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2025 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1689 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 2026 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNo
de, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1690 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNo
de, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 2027 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1] | 1691 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1] |
| 2028 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 1692 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 2029 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 1693 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 2030 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5] | 1694 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2050 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 1714 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 2051 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0] | 1715 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0] |
| 2052 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 1716 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { |
| 2053 selection.collapse(point[0], point[1]); | 1717 selection.collapse(point[0], point[1]); |
| 2054 }" 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 | 1718 }" 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 |
| 2055 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 85 [doctype, 1] | 1719 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 85 [doctype, 1] |
| 2056 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
e, 0] | 1720 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
e, 0] |
| 2057 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0
] | 1721 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0
] |
| 2058 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1] | 1722 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1] |
| 2059 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0] | 1723 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0] |
| 2060 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 1724 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] |
| 2061 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2] | 1725 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2] |
| 2062 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8] | 1726 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8] |
| 2063 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 | 1727 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] |
| 2064 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10] | 1728 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10] |
| 2065 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535] | 1729 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535] |
| 2066 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1] | 1730 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1] |
| 2067 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Ijklmn
op | 1731 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] |
| 2068 " but got Text node "Qrstuvwx" | 1732 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] |
| 2069 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 1733 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] |
| 2070 " but got Text node "Qrstuvwx" | 1734 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] |
| 2071 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | 1735 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] |
| 2072 " but got Text node "Qrstuvwx" | |
| 2073 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2074 " but got Text node "Qrstuvwx" | |
| 2075 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2076 " but got Text node "Qrstuvwx" | |
| 2077 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10] | 1736 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10] |
| 2078 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535] | 1737 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535] |
| 2079 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1738 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 2080 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1739 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 2081 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 1740 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 2082 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9] | 1741 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9] |
| 2083 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1742 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 2084 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1743 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 2085 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 1744 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 2086 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9] | 1745 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9] |
| 2087 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1] | 1746 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1] |
| 2088 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | 1747 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] |
| 2089 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1748 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] |
| 2090 " | 1749 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] |
| 2091 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | |
| 2092 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2093 " | |
| 2094 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | |
| 2095 <me... but got Text node "Qrstuvwx" | |
| 2096 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7] | 1750 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7] |
| 2097 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 29 [document.head, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <head><ti
tle>Selection.collapse() tests</title> | 1751 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 29 [document.head, 1] |
| 2098 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1752 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 30 [document.body, 3] |
| 2099 " | |
| 2100 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 30 [document.body, 3] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <body><di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2101 </p><p id... but got Text node "Qrstuvwx" | |
| 2102 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1753 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2103 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1754 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2104 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1755 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2105 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1756 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2106 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 35 [paras[0], 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | 1757 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 35 [paras[0], 0] |
| 2107 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1758 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 36 [paras[0], 1] |
| 2108 " | |
| 2109 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 36 [paras[0], 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 2110 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2111 " | |
| 2112 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 37 [paras[0], 2] | 1759 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 37 [paras[0], 2] |
| 2113 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 38 [paras[1], 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="b" styl
e="display:none">Ijklmnop | 1760 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 38 [paras[1], 0] |
| 2114 </p> but got Text node "Qrstuvwx" | 1761 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 39 [paras[1], 1] |
| 2115 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 39 [paras[1], 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="b" styl
e="display:none">Ijklmnop | |
| 2116 </p> but got Text node "Qrstuvwx" | |
| 2117 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 40 [paras[1], 2] | 1762 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 40 [paras[1], 2] |
| 2118 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 41 [detachedPara1, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1763 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 41 [detachedPara1, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2119 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 42 [detachedPara1, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1764 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 42 [detachedPara1, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2120 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 43 [testDiv, 0] assert_equals: focus
Node must equal the node we collapse()d to expected Element node <div id="test">
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1765 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 43 [testDiv, 0] |
| 2121 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1766 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 44 [testDiv, 3] |
| 2122 " | |
| 2123 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 44 [testDiv, 3] assert_equals: focus
Node must equal the node we collapse()d to expected Element node <div id="test">
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2124 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2125 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 45 [document, -1] | 1767 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 45 [document, -1] |
| 2126 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 46 [document, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1768 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 46 [document, 0] |
| 2127 " | 1769 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 47 [document, 1] |
| 2128 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 47 [document, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1770 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 48 [document, 2] |
| 2129 " | |
| 2130 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 48 [document, 2] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Qrstuvwx" | |
| 2131 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 49 [document, 3] | 1771 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 49 [document, 3] |
| 2132 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 50 [comment, -1] | 1772 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 50 [comment, -1] |
| 2133 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 51 [comment, 0] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" | 1773 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 51 [comment, 0] |
| 2134 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" | 1774 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] |
| 2135 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96] | 1775 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96] |
| 2136 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1776 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2137 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1777 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2138 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1778 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2139 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1779 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2140 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1780 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2141 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1] | 1781 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1] |
| 2142 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1782 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2143 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1783 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2144 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5] | 1784 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2164 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1804 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2165 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0] | 1805 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0] |
| 2166 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Mus
t throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType f
unction "function () { | 1806 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Mus
t throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType f
unction "function () { |
| 2167 selection.collapse(point[0], point[1]); | 1807 selection.collapse(point[0], point[1]); |
| 2168 }" 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 | 1808 }" 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 |
| 2169 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 85 [doctype, 1] | 1809 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 85 [doctype, 1] |
| 2170 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0] | 1810 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0] |
| 2171 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0] | 1811 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0] |
| 2172 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1] | 1812 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1] |
| 2173 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0] | 1813 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0] |
| 2174 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 1814 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] |
| 2175 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2] | 1815 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2] |
| 2176 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8] | 1816 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8] |
| 2177 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 1817 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] |
| 2178 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10] | 1818 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10] |
| 2179 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535] | 1819 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535] |
| 2180 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1] | 1820 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1] |
| 2181 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 1821 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] |
| 2182 " but got Text node "Qrstuvwx" | 1822 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] |
| 2183 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1823 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] |
| 2184 " but got Text node "Qrstuvwx" | 1824 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] |
| 2185 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 1825 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] |
| 2186 " but got Text node "Qrstuvwx" | |
| 2187 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2188 " but got Text node "Qrstuvwx" | |
| 2189 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2190 " but got Text node "Qrstuvwx" | |
| 2191 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10] | 1826 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10] |
| 2192 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535] | 1827 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535] |
| 2193 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1828 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2194 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1829 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2195 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 1830 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2196 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
| 1831 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
|
| 2197 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1832 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2198 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1833 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2199 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1834 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2200 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9] | 1835 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9] |
| 2201 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1
] | 1836 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1
] |
| 2202 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 1837 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 25 [document.documentElement, 0]
|
| 2203 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1838 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1]
|
| 2204 " | 1839 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
|
| 2205 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2206 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2207 " | |
| 2208 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2209 <me... but got Text node "Qrstuvwx" | |
| 2210 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
| 1840 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
|
| 2211 FAIL Range 45 [xmlDoc, 1, xmlComment, 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> | 1841 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 29 [document.head, 1] |
| 2212 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1842 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 30 [document.body, 3] |
| 2213 " | |
| 2214 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2215 </p><p id... but got Text node "Qrstuvwx" | |
| 2216 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1843 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2217 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1844 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2218 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1845 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2219 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1846 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2220 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 1847 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 35 [paras[0], 0] |
| 2221 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1848 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 36 [paras[0], 1] |
| 2222 " | |
| 2223 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 2224 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2225 " | |
| 2226 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 37 [paras[0], 2] | 1849 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 37 [paras[0], 2] |
| 2227 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 1850 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 38 [paras[1], 0] |
| 2228 </p> but got Text node "Qrstuvwx" | 1851 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 39 [paras[1], 1] |
| 2229 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 2230 </p> but got Text node "Qrstuvwx" | |
| 2231 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 40 [paras[1], 2] | 1852 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 40 [paras[1], 2] |
| 2232 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 41 [detachedPara1, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1853 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 41 [detachedPara1, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2233 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 42 [detachedPara1, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1854 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 42 [detachedPara1, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2234 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | 1855 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 43 [testDiv, 0] |
| 2235 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1856 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 44 [testDiv, 3] |
| 2236 " | |
| 2237 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2238 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2239 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 45 [document, -1] | 1857 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 45 [document, -1] |
| 2240 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1858 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 46 [document, 0] |
| 2241 " | 1859 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 47 [document, 1] |
| 2242 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1860 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 48 [document, 2] |
| 2243 " | |
| 2244 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 2245 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 49 [document, 3] | 1861 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 49 [document, 3] |
| 2246 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 50 [comment, -1] | 1862 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 50 [comment, -1] |
| 2247 FAIL Range 45 [xmlDoc, 1, xmlComment, 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" | 1863 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 51 [comment, 0] |
| 2248 FAIL Range 45 [xmlDoc, 1, xmlComment, 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" | 1864 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 52 [comment, 4] |
| 2249 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96] | 1865 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96] |
| 2250 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1866 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2251 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1867 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2252 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1868 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2253 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1869 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2254 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1870 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2255 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1] | 1871 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1] |
| 2256 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1872 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2257 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1873 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2258 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5] | 1874 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2278 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 1894 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 2279 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0] | 1895 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0] |
| 2280 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 1896 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 2281 selection.collapse(point[0], point[1]); | 1897 selection.collapse(point[0], point[1]); |
| 2282 }" 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 | 1898 }" 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 |
| 2283 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 85 [doctype, 1] | 1899 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 85 [doctype, 1] |
| 2284 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0] | 1900 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0] |
| 2285 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0] | 1901 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0] |
| 2286 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firs
tChild, -1] | 1902 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firs
tChild, -1] |
| 2287 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firs
tChild, 0] | 1903 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firs
tChild, 0] |
| 2288 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firs
tChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 1 but got 2 | 1904 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firs
tChild, 1] |
| 2289 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firs
tChild, 2] | 1905 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firs
tChild, 2] |
| 2290 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firs
tChild, 8] | 1906 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firs
tChild, 8] |
| 2291 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firs
tChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 9 but got 10 | 1907 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firs
tChild, 9] |
| 2292 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firs
tChild, 10] | 1908 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firs
tChild, 10] |
| 2293 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firs
tChild, 65535] | 1909 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firs
tChild, 65535] |
| 2294 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firs
tChild, -1] | 1910 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firs
tChild, -1] |
| 2295 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | 1911 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firs
tChild, 0] |
| 2296 " but got Text node "Qrstuvwx" | 1912 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].fir
stChild, 1] |
| 2297 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 1913 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].fir
stChild, 2] |
| 2298 " but got Text node "Qrstuvwx" | 1914 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
stChild, 8] |
| 2299 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].fir
stChild, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | 1915 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].fir
stChild, 9] |
| 2300 " but got Text node "Qrstuvwx" | |
| 2301 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2302 " but got Text node "Qrstuvwx" | |
| 2303 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].fir
stChild, 9] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2304 " but got Text node "Qrstuvwx" | |
| 2305 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].fir
stChild, 10] | 1916 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].fir
stChild, 10] |
| 2306 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].fir
stChild, 65535] | 1917 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].fir
stChild, 65535] |
| 2307 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara
1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1918 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara
1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2308 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara
1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1919 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara
1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2309 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara
1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1920 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara
1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2310 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara
1.firstChild, 9] | 1921 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara
1.firstChild, 9] |
| 2311 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1922 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 2312 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1923 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 2313 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1924 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
| 2314 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1
.firstChild, 9] | 1925 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1
.firstChild, 9] |
| 2315 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.doc
umentElement, -1] | 1926 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.doc
umentElement, -1] |
| 2316 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.doc
umentElement, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | 1927 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.doc
umentElement, 0] |
| 2317 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1928 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.doc
umentElement, 1] |
| 2318 " | 1929 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
umentElement, 2] |
| 2319 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.doc
umentElement, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2320 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2321 " | |
| 2322 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
umentElement, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2323 <me... but got Text node "Qrstuvwx" | |
| 2324 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.doc
umentElement, 7] | 1930 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.doc
umentElement, 7] |
| 2325 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 29 [document.hea
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <head><title>Selection.collapse() tests</title> | 1931 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 29 [document.hea
d, 1] |
| 2326 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1932 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 30 [document.bod
y, 3] |
| 2327 " | |
| 2328 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 30 [document.bod
y, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2329 </p><p id... but got Text node "Qrstuvwx" | |
| 2330 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.d
ocumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1933 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.d
ocumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2331 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.d
ocumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1934 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.d
ocumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2332 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.h
ead, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1935 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.h
ead, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 2333 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.b
ody, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1936 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.b
ody, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 2334 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 35 [paras[0], 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1937 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 35 [paras[0], 0]
|
| 2335 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1938 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 36 [paras[0], 1]
|
| 2336 " | |
| 2337 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 36 [paras[0], 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2338 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2339 " | |
| 2340 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 37 [paras[0], 2]
| 1939 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 37 [paras[0], 2]
|
| 2341 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 38 [paras[1], 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="b" style="display:none">Ijklmnop | 1940 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 38 [paras[1], 0]
|
| 2342 </p> but got Text node "Qrstuvwx" | 1941 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 39 [paras[1], 1]
|
| 2343 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 39 [paras[1], 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p id="b" style="display:none">Ijklmnop | |
| 2344 </p> but got Text node "Qrstuvwx" | |
| 2345 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 40 [paras[1], 2]
| 1942 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 40 [paras[1], 2]
|
| 2346 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 41 [detachedPara
1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1943 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 41 [detachedPara
1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2347 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 42 [detachedPara
1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 1944 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 42 [detachedPara
1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2348 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 43 [testDiv, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1945 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 43 [testDiv, 0] |
| 2349 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1946 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 44 [testDiv, 3] |
| 2350 " | |
| 2351 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 44 [testDiv, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2352 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2353 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 45 [document, -1
] | 1947 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 45 [document, -1
] |
| 2354 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 46 [document, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1948 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 46 [document, 0]
|
| 2355 " | 1949 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 47 [document, 1]
|
| 2356 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 47 [document, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1950 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 48 [document, 2]
|
| 2357 " | |
| 2358 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 48 [document, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Qrstuvwx" | |
| 2359 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 49 [document, 3]
| 1951 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 49 [document, 3]
|
| 2360 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 50 [comment, -1]
| 1952 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 50 [comment, -1]
|
| 2361 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 51 [comment, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1953 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 51 [comment, 0] |
| 2362 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1954 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 52 [comment, 4] |
| 2363 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
| 1955 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
|
| 2364 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1956 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2365 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1957 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2366 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 1958 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 2367 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 1959 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
| 2368 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextN
ode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 1960 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextN
ode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2369 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1] | 1961 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1] |
| 2370 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1962 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2371 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 1963 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 2372 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5] | 1964 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2392 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 1984 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2393 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0] | 1985 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0] |
| 2394 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 1986 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { |
| 2395 selection.collapse(point[0], point[1]); | 1987 selection.collapse(point[0], point[1]); |
| 2396 }" 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 | 1988 }" 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 |
| 2397 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 85 [doctype, 1] | 1989 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 85 [doctype, 1] |
| 2398 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
pe, 0] | 1990 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
pe, 0] |
| 2399 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype,
0] | 1991 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype,
0] |
| 2400 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0
[paras[0].firstChild, -1] | 1992 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0
[paras[0].firstChild, -1] |
| 2401 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1
[paras[0].firstChild, 0] | 1993 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1
[paras[0].firstChild, 0] |
| 2402 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 1994 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2
[paras[0].firstChild, 1] |
| 2403 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3
[paras[0].firstChild, 2] | 1995 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3
[paras[0].firstChild, 2] |
| 2404 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4
[paras[0].firstChild, 8] | 1996 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4
[paras[0].firstChild, 8] |
| 2405 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 1997 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5
[paras[0].firstChild, 9] |
| 2406 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6
[paras[0].firstChild, 10] | 1998 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6
[paras[0].firstChild, 10] |
| 2407 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7
[paras[0].firstChild, 65535] | 1999 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7
[paras[0].firstChild, 65535] |
| 2408 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8
[paras[1].firstChild, -1] | 2000 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8
[paras[1].firstChild, -1] |
| 2409 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 2001 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9
[paras[1].firstChild, 0] |
| 2410 " but got Text node "Qrstuvwx" | 2002 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10
[paras[1].firstChild, 1] |
| 2411 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2003 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11
[paras[1].firstChild, 2] |
| 2412 " but got Text node "Qrstuvwx" | 2004 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
[paras[1].firstChild, 8] |
| 2413 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2005 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13
[paras[1].firstChild, 9] |
| 2414 " but got Text node "Qrstuvwx" | |
| 2415 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2416 " but got Text node "Qrstuvwx" | |
| 2417 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2418 " but got Text node "Qrstuvwx" | |
| 2419 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14
[paras[1].firstChild, 10] | 2006 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14
[paras[1].firstChild, 10] |
| 2420 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15
[paras[1].firstChild, 65535] | 2007 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15
[paras[1].firstChild, 65535] |
| 2421 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2008 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2422 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2009 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2423 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2010 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2424 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19
[detachedPara1.firstChild, 9] | 2011 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19
[detachedPara1.firstChild, 9] |
| 2425 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2012 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2426 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2013 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2427 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2014 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2428 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23
[foreignPara1.firstChild, 9] | 2015 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23
[foreignPara1.firstChild, 9] |
| 2429 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24
[document.documentElement, -1] | 2016 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24
[document.documentElement, -1] |
| 2430 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2017 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 25
[document.documentElement, 0] |
| 2431 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2018 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26
[document.documentElement, 1] |
| 2432 " | 2019 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27
[document.documentElement, 2] |
| 2433 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2434 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2435 " | |
| 2436 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2437 <me... but got Text node "Qrstuvwx" | |
| 2438 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28
[document.documentElement, 7] | 2020 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28
[document.documentElement, 7] |
| 2439 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 2021 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 29
[document.head, 1] |
| 2440 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2022 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 30
[document.body, 3] |
| 2441 " | |
| 2442 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2443 </p><p id... but got Text node "Qrstuvwx" | |
| 2444 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2023 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2445 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2024 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2446 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2025 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2447 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2026 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2448 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2027 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 35
[paras[0], 0] |
| 2449 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2028 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 36
[paras[0], 1] |
| 2450 " | |
| 2451 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2452 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2453 " | |
| 2454 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 37
[paras[0], 2] | 2029 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 37
[paras[0], 2] |
| 2455 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | 2030 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 38
[paras[1], 0] |
| 2456 </p> but got Text node "Qrstuvwx" | 2031 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 39
[paras[1], 1] |
| 2457 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2458 </p> but got Text node "Qrstuvwx" | |
| 2459 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 40
[paras[1], 2] | 2032 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 40
[paras[1], 2] |
| 2460 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2033 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2461 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2034 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2462 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 43
[testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2035 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 43
[testDiv, 0] |
| 2463 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2036 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 44
[testDiv, 3] |
| 2464 " | |
| 2465 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 44
[testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2466 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2467 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 45
[document, -1] | 2037 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 45
[document, -1] |
| 2468 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 46
[document, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2038 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 46
[document, 0] |
| 2469 " | 2039 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 47
[document, 1] |
| 2470 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 47
[document, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2040 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 48
[document, 2] |
| 2471 " | |
| 2472 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 48
[document, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2473 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 49
[document, 3] | 2041 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 49
[document, 3] |
| 2474 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 50
[comment, -1] | 2042 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 50
[comment, -1] |
| 2475 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 51
[comment, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2043 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 51
[comment, 0] |
| 2476 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2044 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 52
[comment, 4] |
| 2477 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53
[comment, 96] | 2045 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53
[comment, 96] |
| 2478 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2046 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2479 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2047 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2480 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2048 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 2481 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2049 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2482 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2050 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2483 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59
[xmlDoc, -1] | 2051 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59
[xmlDoc, -1] |
| 2484 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2052 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2485 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2053 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2486 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62
[xmlDoc, 5] | 2054 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62
[xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2506 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2074 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2507 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83
[doctype, 0] | 2075 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83
[doctype, 0] |
| 2508 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 2076 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
| 2509 selection.collapse(point[0], point[1]); | 2077 selection.collapse(point[0], point[1]); |
| 2510 }" 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 | 2078 }" 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 |
| 2511 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 85
[doctype, 1] | 2079 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 85
[doctype, 1] |
| 2512 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
[foreignDoctype, 0] | 2080 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
[foreignDoctype, 0] |
| 2513 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87
[xmlDoctype, 0] | 2081 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87
[xmlDoctype, 0] |
| 2514 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0
[paras[0].firstChild, -1] | 2082 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0
[paras[0].firstChild, -1] |
| 2515 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1
[paras[0].firstChild, 0] | 2083 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1
[paras[0].firstChild, 0] |
| 2516 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 2084 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2
[paras[0].firstChild, 1] |
| 2517 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3
[paras[0].firstChild, 2] | 2085 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3
[paras[0].firstChild, 2] |
| 2518 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4
[paras[0].firstChild, 8] | 2086 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4
[paras[0].firstChild, 8] |
| 2519 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 2087 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5
[paras[0].firstChild, 9] |
| 2520 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6
[paras[0].firstChild, 10] | 2088 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6
[paras[0].firstChild, 10] |
| 2521 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7
[paras[0].firstChild, 65535] | 2089 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7
[paras[0].firstChild, 65535] |
| 2522 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8
[paras[1].firstChild, -1] | 2090 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8
[paras[1].firstChild, -1] |
| 2523 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 2091 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9
[paras[1].firstChild, 0] |
| 2524 " but got Text node "Qrstuvwx" | 2092 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10
[paras[1].firstChild, 1] |
| 2525 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2093 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11
[paras[1].firstChild, 2] |
| 2526 " but got Text node "Qrstuvwx" | 2094 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
[paras[1].firstChild, 8] |
| 2527 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2095 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13
[paras[1].firstChild, 9] |
| 2528 " but got Text node "Qrstuvwx" | |
| 2529 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2530 " but got Text node "Qrstuvwx" | |
| 2531 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2532 " but got Text node "Qrstuvwx" | |
| 2533 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14
[paras[1].firstChild, 10] | 2096 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14
[paras[1].firstChild, 10] |
| 2534 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15
[paras[1].firstChild, 65535] | 2097 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15
[paras[1].firstChild, 65535] |
| 2535 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2098 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2536 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2099 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2537 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2100 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2538 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19
[detachedPara1.firstChild, 9] | 2101 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19
[detachedPara1.firstChild, 9] |
| 2539 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2102 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2540 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2103 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2541 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2104 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2542 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23
[foreignPara1.firstChild, 9] | 2105 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23
[foreignPara1.firstChild, 9] |
| 2543 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24
[document.documentElement, -1] | 2106 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24
[document.documentElement, -1] |
| 2544 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | 2107 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 25
[document.documentElement, 0] |
| 2545 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2108 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26
[document.documentElement, 1] |
| 2546 " | 2109 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27
[document.documentElement, 2] |
| 2547 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2548 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2549 " | |
| 2550 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2551 <me... but got Text node "Qrstuvwx" | |
| 2552 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28
[document.documentElement, 7] | 2110 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28
[document.documentElement, 7] |
| 2553 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 2111 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 29
[document.head, 1] |
| 2554 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2112 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 30
[document.body, 3] |
| 2555 " | |
| 2556 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2557 </p><p id... but got Text node "Qrstuvwx" | |
| 2558 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2113 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2559 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2114 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2560 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2115 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2561 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2116 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2562 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2117 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 35
[paras[0], 0] |
| 2563 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2118 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 36
[paras[0], 1] |
| 2564 " | |
| 2565 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2566 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2567 " | |
| 2568 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 37
[paras[0], 2] | 2119 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 37
[paras[0], 2] |
| 2569 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | 2120 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 38
[paras[1], 0] |
| 2570 </p> but got Text node "Qrstuvwx" | 2121 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 39
[paras[1], 1] |
| 2571 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2572 </p> but got Text node "Qrstuvwx" | |
| 2573 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 40
[paras[1], 2] | 2122 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 40
[paras[1], 2] |
| 2574 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2123 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2575 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2124 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2576 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 43
[testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2125 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 43
[testDiv, 0] |
| 2577 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2126 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 44
[testDiv, 3] |
| 2578 " | |
| 2579 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 44
[testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2580 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2581 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 45
[document, -1] | 2127 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 45
[document, -1] |
| 2582 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 46
[document, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2128 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 46
[document, 0] |
| 2583 " | 2129 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 47
[document, 1] |
| 2584 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 47
[document, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2130 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 48
[document, 2] |
| 2585 " | |
| 2586 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 48
[document, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2587 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 49
[document, 3] | 2131 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 49
[document, 3] |
| 2588 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 50
[comment, -1] | 2132 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 50
[comment, -1] |
| 2589 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 51
[comment, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2133 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 51
[comment, 0] |
| 2590 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2134 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 52
[comment, 4] |
| 2591 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53
[comment, 96] | 2135 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53
[comment, 96] |
| 2592 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2136 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2593 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2137 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2594 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2138 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 2595 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2139 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2596 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2140 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2597 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59
[xmlDoc, -1] | 2141 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59
[xmlDoc, -1] |
| 2598 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2142 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2599 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2143 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2600 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62
[xmlDoc, 5] | 2144 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62
[xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2620 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2164 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2621 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83
[doctype, 0] | 2165 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83
[doctype, 0] |
| 2622 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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 () { | 2166 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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 () { |
| 2623 selection.collapse(point[0], point[1]); | 2167 selection.collapse(point[0], point[1]); |
| 2624 }" 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 | 2168 }" 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 |
| 2625 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 85
[doctype, 1] | 2169 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 85
[doctype, 1] |
| 2626 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
[foreignDoctype, 0] | 2170 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
[foreignDoctype, 0] |
| 2627 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87
[xmlDoctype, 0] | 2171 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87
[xmlDoctype, 0] |
| 2628 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0
].firstChild, -1] | 2172 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0
].firstChild, -1] |
| 2629 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0
].firstChild, 0] | 2173 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0
].firstChild, 0] |
| 2630 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 2174 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0
].firstChild, 1] |
| 2631 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0
].firstChild, 2] | 2175 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0
].firstChild, 2] |
| 2632 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0
].firstChild, 8] | 2176 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0
].firstChild, 8] |
| 2633 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 2177 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0
].firstChild, 9] |
| 2634 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0
].firstChild, 10] | 2178 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0
].firstChild, 10] |
| 2635 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0
].firstChild, 65535] | 2179 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0
].firstChild, 65535] |
| 2636 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1
].firstChild, -1] | 2180 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1
].firstChild, -1] |
| 2637 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2181 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1
].firstChild, 0] |
| 2638 " but got Text node "Qrstuvwx" | 2182 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[
1].firstChild, 1] |
| 2639 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2183 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[
1].firstChild, 2] |
| 2640 " but got Text node "Qrstuvwx" | 2184 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
1].firstChild, 8] |
| 2641 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2185 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[
1].firstChild, 9] |
| 2642 " but got Text node "Qrstuvwx" | |
| 2643 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2644 " but got Text node "Qrstuvwx" | |
| 2645 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2646 " but got Text node "Qrstuvwx" | |
| 2647 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[
1].firstChild, 10] | 2186 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[
1].firstChild, 10] |
| 2648 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[
1].firstChild, 65535] | 2187 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[
1].firstChild, 65535] |
| 2649 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2188 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2650 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2189 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2651 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2190 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2652 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detach
edPara1.firstChild, 9] | 2191 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detach
edPara1.firstChild, 9] |
| 2653 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2192 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2654 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2193 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2655 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2194 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2656 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreig
nPara1.firstChild, 9] | 2195 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreig
nPara1.firstChild, 9] |
| 2657 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [docume
nt.documentElement, -1] | 2196 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [docume
nt.documentElement, -1] |
| 2658 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2197 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 25 [docume
nt.documentElement, 0] |
| 2659 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2198 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [docume
nt.documentElement, 1] |
| 2660 " | 2199 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [docume
nt.documentElement, 2] |
| 2661 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 2662 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2663 " | |
| 2664 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 2665 <me... but got Text node "Qrstuvwx" | |
| 2666 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [docume
nt.documentElement, 7] | 2200 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [docume
nt.documentElement, 7] |
| 2667 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 29 [docume
nt.head, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <head><title>Selection.collapse() tests</title> | 2201 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 29 [docume
nt.head, 1] |
| 2668 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2202 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 30 [docume
nt.body, 3] |
| 2669 " | |
| 2670 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 30 [docume
nt.body, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2671 </p><p id... but got Text node "Qrstuvwx" | |
| 2672 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2203 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2673 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2204 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2674 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2205 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2675 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2206 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2676 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2207 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 35 [paras[
0], 0] |
| 2677 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2208 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 36 [paras[
0], 1] |
| 2678 " | |
| 2679 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2680 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2681 " | |
| 2682 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 37 [paras[
0], 2] | 2209 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 37 [paras[
0], 2] |
| 2683 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | 2210 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 38 [paras[
1], 0] |
| 2684 </p> but got Text node "Qrstuvwx" | 2211 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 39 [paras[
1], 1] |
| 2685 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 2686 </p> but got Text node "Qrstuvwx" | |
| 2687 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 40 [paras[
1], 2] | 2212 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 40 [paras[
1], 2] |
| 2688 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2213 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 2689 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2214 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 2690 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 43 [testDi
v, 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2215 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 43 [testDi
v, 0] |
| 2691 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2216 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 44 [testDi
v, 3] |
| 2692 " | |
| 2693 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 44 [testDi
v, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2694 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2695 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 45 [docume
nt, -1] | 2217 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 45 [docume
nt, -1] |
| 2696 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 46 [docume
nt, 0] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2218 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 46 [docume
nt, 0] |
| 2697 " | 2219 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 47 [docume
nt, 1] |
| 2698 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 47 [docume
nt, 1] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2220 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 48 [docume
nt, 2] |
| 2699 " | |
| 2700 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 48 [docume
nt, 2] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Qrstuvwx" | |
| 2701 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 49 [docume
nt, 3] | 2221 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 49 [docume
nt, 3] |
| 2702 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 50 [commen
t, -1] | 2222 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 50 [commen
t, -1] |
| 2703 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 51 [commen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2223 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 51 [commen
t, 0] |
| 2704 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2224 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 52 [commen
t, 4] |
| 2705 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [commen
t, 96] | 2225 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [commen
t, 96] |
| 2706 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2226 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2707 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2227 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2708 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2228 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2709 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2229 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2710 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2230 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2711 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc
, -1] | 2231 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc
, -1] |
| 2712 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2232 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2713 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2233 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2714 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc
, 5] | 2234 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc
, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2734 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2254 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2735 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctyp
e, 0] | 2255 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctyp
e, 0] |
| 2736 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | 2256 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { |
| 2737 selection.collapse(point[0], point[1]); | 2257 selection.collapse(point[0], point[1]); |
| 2738 }" 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 | 2258 }" 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 |
| 2739 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 85 [doctyp
e, 1] | 2259 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 85 [doctyp
e, 1] |
| 2740 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
nDoctype, 0] | 2260 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
nDoctype, 0] |
| 2741 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoc
type, 0] | 2261 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoc
type, 0] |
| 2742 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0
].firstChild, -1] | 2262 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0
].firstChild, -1] |
| 2743 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0
].firstChild, 0] | 2263 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0
].firstChild, 0] |
| 2744 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 2264 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0
].firstChild, 1] |
| 2745 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0
].firstChild, 2] | 2265 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0
].firstChild, 2] |
| 2746 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0
].firstChild, 8] | 2266 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0
].firstChild, 8] |
| 2747 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 2267 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0
].firstChild, 9] |
| 2748 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0
].firstChild, 10] | 2268 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0
].firstChild, 10] |
| 2749 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0
].firstChild, 65535] | 2269 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0
].firstChild, 65535] |
| 2750 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1
].firstChild, -1] | 2270 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1
].firstChild, -1] |
| 2751 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2271 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1
].firstChild, 0] |
| 2752 " but got Text node "Qrstuvwx" | 2272 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[
1].firstChild, 1] |
| 2753 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2273 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[
1].firstChild, 2] |
| 2754 " but got Text node "Qrstuvwx" | 2274 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
1].firstChild, 8] |
| 2755 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 2275 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[
1].firstChild, 9] |
| 2756 " but got Text node "Qrstuvwx" | |
| 2757 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2758 " but got Text node "Qrstuvwx" | |
| 2759 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2760 " but got Text node "Qrstuvwx" | |
| 2761 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[
1].firstChild, 10] | 2276 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[
1].firstChild, 10] |
| 2762 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[
1].firstChild, 65535] | 2277 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[
1].firstChild, 65535] |
| 2763 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2278 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2764 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2279 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2765 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2280 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2766 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detach
edPara1.firstChild, 9] | 2281 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detach
edPara1.firstChild, 9] |
| 2767 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2282 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2768 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2283 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2769 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2284 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2770 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreig
nPara1.firstChild, 9] | 2285 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreig
nPara1.firstChild, 9] |
| 2771 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [docume
nt.documentElement, -1] | 2286 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [docume
nt.documentElement, -1] |
| 2772 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | 2287 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 25 [docume
nt.documentElement, 0] |
| 2773 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2288 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [docume
nt.documentElement, 1] |
| 2774 " | 2289 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [docume
nt.documentElement, 2] |
| 2775 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 2776 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2777 " | |
| 2778 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 2779 <me... but got Text node "Qrstuvwx" | |
| 2780 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [docume
nt.documentElement, 7] | 2290 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [docume
nt.documentElement, 7] |
| 2781 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 29 [docume
nt.head, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <head><title>Selection.collapse() tests</title> | 2291 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 29 [docume
nt.head, 1] |
| 2782 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2292 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 30 [docume
nt.body, 3] |
| 2783 " | |
| 2784 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 30 [docume
nt.body, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2785 </p><p id... but got Text node "Qrstuvwx" | |
| 2786 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2293 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2787 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2294 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2788 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2295 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2789 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2296 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2790 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2297 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 35 [paras[
0], 0] |
| 2791 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2298 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 36 [paras[
0], 1] |
| 2792 " | |
| 2793 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2794 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2795 " | |
| 2796 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 37 [paras[
0], 2] | 2299 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 37 [paras[
0], 2] |
| 2797 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | 2300 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 38 [paras[
1], 0] |
| 2798 </p> but got Text node "Qrstuvwx" | 2301 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 39 [paras[
1], 1] |
| 2799 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 2800 </p> but got Text node "Qrstuvwx" | |
| 2801 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 40 [paras[
1], 2] | 2302 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 40 [paras[
1], 2] |
| 2802 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2303 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 2803 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2304 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 2804 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 43 [testDi
v, 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2305 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 43 [testDi
v, 0] |
| 2805 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2306 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 44 [testDi
v, 3] |
| 2806 " | |
| 2807 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 44 [testDi
v, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2808 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2809 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 45 [docume
nt, -1] | 2307 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 45 [docume
nt, -1] |
| 2810 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 46 [docume
nt, 0] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2308 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 46 [docume
nt, 0] |
| 2811 " | 2309 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 47 [docume
nt, 1] |
| 2812 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 47 [docume
nt, 1] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2310 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 48 [docume
nt, 2] |
| 2813 " | |
| 2814 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 48 [docume
nt, 2] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Qrstuvwx" | |
| 2815 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 49 [docume
nt, 3] | 2311 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 49 [docume
nt, 3] |
| 2816 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 50 [commen
t, -1] | 2312 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 50 [commen
t, -1] |
| 2817 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 51 [commen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2313 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 51 [commen
t, 0] |
| 2818 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2314 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 52 [commen
t, 4] |
| 2819 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [commen
t, 96] | 2315 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [commen
t, 96] |
| 2820 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2316 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2821 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2317 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2822 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2318 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2823 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2319 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2824 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2320 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2825 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc
, -1] | 2321 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc
, -1] |
| 2826 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2322 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2827 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2323 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2828 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc
, 5] | 2324 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc
, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2848 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 2344 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
| 2849 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctyp
e, 0] | 2345 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctyp
e, 0] |
| 2850 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | 2346 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { |
| 2851 selection.collapse(point[0], point[1]); | 2347 selection.collapse(point[0], point[1]); |
| 2852 }" 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 | 2348 }" 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 |
| 2853 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 85 [doctyp
e, 1] | 2349 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 85 [doctyp
e, 1] |
| 2854 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
nDoctype, 0] | 2350 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
nDoctype, 0] |
| 2855 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoc
type, 0] | 2351 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoc
type, 0] |
| 2856 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstC
hild, -1] | 2352 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstC
hild, -1] |
| 2857 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstC
hild, 0] | 2353 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstC
hild, 0] |
| 2858 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 2354 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstC
hild, 1] |
| 2859 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstC
hild, 2] | 2355 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstC
hild, 2] |
| 2860 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstC
hild, 8] | 2356 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstC
hild, 8] |
| 2861 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 2357 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstC
hild, 9] |
| 2862 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstC
hild, 10] | 2358 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstC
hild, 10] |
| 2863 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstC
hild, 65535] | 2359 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstC
hild, 65535] |
| 2864 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstC
hild, -1] | 2360 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstC
hild, -1] |
| 2865 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2361 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstC
hild, 0] |
| 2866 " but got Text node "Qrstuvwx" | 2362 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].first
Child, 1] |
| 2867 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2363 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].first
Child, 2] |
| 2868 " but got Text node "Qrstuvwx" | 2364 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
Child, 8] |
| 2869 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2365 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].first
Child, 9] |
| 2870 " but got Text node "Qrstuvwx" | |
| 2871 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2872 " but got Text node "Qrstuvwx" | |
| 2873 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2874 " but got Text node "Qrstuvwx" | |
| 2875 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].first
Child, 10] | 2366 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].first
Child, 10] |
| 2876 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].first
Child, 65535] | 2367 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].first
Child, 65535] |
| 2877 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2368 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2878 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2369 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2879 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2370 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2880 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.
firstChild, 9] | 2371 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.
firstChild, 9] |
| 2881 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2372 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2882 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2373 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2883 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2374 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2884 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.f
irstChild, 9] | 2375 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.f
irstChild, 9] |
| 2885 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.docum
entElement, -1] | 2376 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.docum
entElement, -1] |
| 2886 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 2377 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 25 [document.docum
entElement, 0] |
| 2887 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2378 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.docum
entElement, 1] |
| 2888 " | 2379 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.docum
entElement, 2] |
| 2889 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2890 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2891 " | |
| 2892 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2893 <me... but got Text node "Qrstuvwx" | |
| 2894 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.docum
entElement, 7] | 2380 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.docum
entElement, 7] |
| 2895 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | 2381 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 29 [document.head,
1] |
| 2896 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2382 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 30 [document.body,
3] |
| 2897 " | |
| 2898 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2899 </p><p id... but got Text node "Qrstuvwx" | |
| 2900 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2383 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2901 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2384 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2902 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2385 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2903 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2386 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2904 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 35 [paras[0], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2387 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 35 [paras[0], 0] |
| 2905 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2388 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 36 [paras[0], 1] |
| 2906 " | |
| 2907 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 36 [paras[0], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2908 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2909 " | |
| 2910 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 37 [paras[0], 2] | 2389 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 37 [paras[0], 2] |
| 2911 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 38 [paras[1], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | 2390 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 38 [paras[1], 0] |
| 2912 </p> but got Text node "Qrstuvwx" | 2391 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 39 [paras[1], 1] |
| 2913 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 39 [paras[1], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 2914 </p> but got Text node "Qrstuvwx" | |
| 2915 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 40 [paras[1], 2] | 2392 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 40 [paras[1], 2] |
| 2916 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2393 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2917 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2394 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 2918 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 43 [testDiv, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2395 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 43 [testDiv, 0] |
| 2919 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2396 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 44 [testDiv, 3] |
| 2920 " | |
| 2921 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 44 [testDiv, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2922 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2923 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 45 [document, -1] | 2397 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 45 [document, -1] |
| 2924 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 46 [document, 0] a
ssert_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̈ḧ | 2398 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 46 [document, 0] |
| 2925 " | 2399 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 47 [document, 1] |
| 2926 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 47 [document, 1] a
ssert_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̈ḧ | 2400 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 48 [document, 2] |
| 2927 " | |
| 2928 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 48 [document, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Qrstuvwx" | |
| 2929 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 49 [document, 3] | 2401 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 49 [document, 3] |
| 2930 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 50 [comment, -1] | 2402 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 50 [comment, -1] |
| 2931 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 51 [comment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2403 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 51 [comment, 0] |
| 2932 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2404 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 52 [comment, 4] |
| 2933 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96] | 2405 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96] |
| 2934 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2406 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2935 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2407 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2936 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2408 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2937 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2409 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 2938 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2410 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 2939 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1] | 2411 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1] |
| 2940 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2412 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 2941 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2413 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 2942 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5] | 2414 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2962 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2434 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 2963 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0] | 2435 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0] |
| 2964 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 2436 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
| 2965 selection.collapse(point[0], point[1]); | 2437 selection.collapse(point[0], point[1]); |
| 2966 }" 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 | 2438 }" 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 |
| 2967 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 85 [doctype, 1] | 2439 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 85 [doctype, 1] |
| 2968 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
, 0] | 2440 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
, 0] |
| 2969 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
| 2441 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
|
| 2970 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstC
hild, -1] | 2442 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstC
hild, -1] |
| 2971 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstC
hild, 0] | 2443 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstC
hild, 0] |
| 2972 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 2444 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstC
hild, 1] |
| 2973 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstC
hild, 2] | 2445 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstC
hild, 2] |
| 2974 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstC
hild, 8] | 2446 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstC
hild, 8] |
| 2975 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 2447 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstC
hild, 9] |
| 2976 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstC
hild, 10] | 2448 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstC
hild, 10] |
| 2977 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstC
hild, 65535] | 2449 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstC
hild, 65535] |
| 2978 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstC
hild, -1] | 2450 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstC
hild, -1] |
| 2979 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2451 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstC
hild, 0] |
| 2980 " but got Text node "Qrstuvwx" | 2452 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].first
Child, 1] |
| 2981 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2453 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].first
Child, 2] |
| 2982 " but got Text node "Qrstuvwx" | 2454 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
Child, 8] |
| 2983 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2455 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].first
Child, 9] |
| 2984 " but got Text node "Qrstuvwx" | |
| 2985 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2986 " but got Text node "Qrstuvwx" | |
| 2987 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2988 " but got Text node "Qrstuvwx" | |
| 2989 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].first
Child, 10] | 2456 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].first
Child, 10] |
| 2990 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].first
Child, 65535] | 2457 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].first
Child, 65535] |
| 2991 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2458 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2992 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2459 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2993 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2460 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2994 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.
firstChild, 9] | 2461 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.
firstChild, 9] |
| 2995 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2462 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2996 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2463 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2997 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2464 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2998 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.f
irstChild, 9] | 2465 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.f
irstChild, 9] |
| 2999 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.docum
entElement, -1] | 2466 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.docum
entElement, -1] |
| 3000 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | 2467 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 25 [document.docum
entElement, 0] |
| 3001 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2468 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.docum
entElement, 1] |
| 3002 " | 2469 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.docum
entElement, 2] |
| 3003 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3004 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3005 " | |
| 3006 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3007 <me... but got Text node "Qrstuvwx" | |
| 3008 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.docum
entElement, 7] | 2470 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.docum
entElement, 7] |
| 3009 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | 2471 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 29 [document.head,
1] |
| 3010 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2472 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 30 [document.body,
3] |
| 3011 " | |
| 3012 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3013 </p><p id... but got Text node "Qrstuvwx" | |
| 3014 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2473 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3015 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2474 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3016 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2475 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3017 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2476 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3018 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 35 [paras[0], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2477 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 35 [paras[0], 0] |
| 3019 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2478 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 36 [paras[0], 1] |
| 3020 " | |
| 3021 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 36 [paras[0], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3022 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3023 " | |
| 3024 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 37 [paras[0], 2] | 2479 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 37 [paras[0], 2] |
| 3025 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 38 [paras[1], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | 2480 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 38 [paras[1], 0] |
| 3026 </p> but got Text node "Qrstuvwx" | 2481 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 39 [paras[1], 1] |
| 3027 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 39 [paras[1], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 3028 </p> but got Text node "Qrstuvwx" | |
| 3029 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 40 [paras[1], 2] | 2482 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 40 [paras[1], 2] |
| 3030 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2483 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3031 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2484 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3032 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 43 [testDiv, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2485 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 43 [testDiv, 0] |
| 3033 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2486 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 44 [testDiv, 3] |
| 3034 " | |
| 3035 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 44 [testDiv, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3036 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3037 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 45 [document, -1] | 2487 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 45 [document, -1] |
| 3038 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 46 [document, 0] a
ssert_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̈ḧ | 2488 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 46 [document, 0] |
| 3039 " | 2489 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 47 [document, 1] |
| 3040 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 47 [document, 1] a
ssert_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̈ḧ | 2490 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 48 [document, 2] |
| 3041 " | |
| 3042 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 48 [document, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Qrstuvwx" | |
| 3043 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 49 [document, 3] | 2491 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 49 [document, 3] |
| 3044 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 50 [comment, -1] | 2492 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 50 [comment, -1] |
| 3045 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 51 [comment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2493 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 51 [comment, 0] |
| 3046 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2494 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 52 [comment, 4] |
| 3047 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96] | 2495 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96] |
| 3048 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2496 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3049 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2497 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3050 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2498 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3051 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2499 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3052 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2500 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3053 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1] | 2501 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1] |
| 3054 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2502 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3055 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2503 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3056 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5] | 2504 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3076 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2524 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3077 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0] | 2525 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0] |
| 3078 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 2526 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
| 3079 selection.collapse(point[0], point[1]); | 2527 selection.collapse(point[0], point[1]); |
| 3080 }" 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 | 2528 }" 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 |
| 3081 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 85 [doctype, 1] | 2529 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 85 [doctype, 1] |
| 3082 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
, 0] | 2530 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
, 0] |
| 3083 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
| 2531 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
|
| 3084 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [p
aras[0].firstChild, -1] | 2532 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [p
aras[0].firstChild, -1] |
| 3085 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [p
aras[0].firstChild, 0] | 2533 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [p
aras[0].firstChild, 0] |
| 3086 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | 2534 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [p
aras[0].firstChild, 1] |
| 3087 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [p
aras[0].firstChild, 2] | 2535 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [p
aras[0].firstChild, 2] |
| 3088 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [p
aras[0].firstChild, 8] | 2536 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [p
aras[0].firstChild, 8] |
| 3089 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | 2537 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [p
aras[0].firstChild, 9] |
| 3090 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [p
aras[0].firstChild, 10] | 2538 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [p
aras[0].firstChild, 10] |
| 3091 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [p
aras[0].firstChild, 65535] | 2539 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [p
aras[0].firstChild, 65535] |
| 3092 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [p
aras[1].firstChild, -1] | 2540 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [p
aras[1].firstChild, -1] |
| 3093 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | 2541 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [p
aras[1].firstChild, 0] |
| 3094 " but got Text node "Qrstuvwx" | 2542 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [
paras[1].firstChild, 1] |
| 3095 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 2543 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [
paras[1].firstChild, 2] |
| 3096 " but got Text node "Qrstuvwx" | 2544 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
paras[1].firstChild, 8] |
| 3097 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 2545 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [
paras[1].firstChild, 9] |
| 3098 " but got Text node "Qrstuvwx" | |
| 3099 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3100 " but got Text node "Qrstuvwx" | |
| 3101 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3102 " but got Text node "Qrstuvwx" | |
| 3103 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [
paras[1].firstChild, 10] | 2546 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [
paras[1].firstChild, 10] |
| 3104 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [
paras[1].firstChild, 65535] | 2547 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [
paras[1].firstChild, 65535] |
| 3105 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2548 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3106 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2549 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3107 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2550 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3108 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [
detachedPara1.firstChild, 9] | 2551 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [
detachedPara1.firstChild, 9] |
| 3109 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2552 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3110 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2553 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3111 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2554 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3112 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [
foreignPara1.firstChild, 9] | 2555 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [
foreignPara1.firstChild, 9] |
| 3113 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [
document.documentElement, -1] | 2556 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [
document.documentElement, -1] |
| 3114 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 2557 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [
document.documentElement, 0] |
| 3115 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2558 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [
document.documentElement, 1] |
| 3116 " | 2559 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
document.documentElement, 2] |
| 3117 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3118 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3119 " | |
| 3120 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3121 <me... but got Text node "Qrstuvwx" | |
| 3122 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [
document.documentElement, 7] | 2560 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [
document.documentElement, 7] |
| 3123 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 29 [
document.head, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <head><title>Selection.collapse() tests</title> | 2561 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 29 [
document.head, 1] |
| 3124 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2562 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 30 [
document.body, 3] |
| 3125 " | |
| 3126 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 30 [
document.body, 3] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3127 </p><p id... but got Text node "Qrstuvwx" | |
| 3128 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2563 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 3129 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2564 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 3130 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2565 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3131 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2566 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3132 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 35 [
paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2567 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 35 [
paras[0], 0] |
| 3133 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2568 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 36 [
paras[0], 1] |
| 3134 " | |
| 3135 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 36 [
paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3136 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3137 " | |
| 3138 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 37 [
paras[0], 2] | 2569 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 37 [
paras[0], 2] |
| 3139 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 38 [
paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | 2570 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 38 [
paras[1], 0] |
| 3140 </p> but got Text node "Qrstuvwx" | 2571 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 39 [
paras[1], 1] |
| 3141 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 39 [
paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3142 </p> but got Text node "Qrstuvwx" | |
| 3143 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 40 [
paras[1], 2] | 2572 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 40 [
paras[1], 2] |
| 3144 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2573 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 3145 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2574 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 3146 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 43 [
testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2575 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 43 [
testDiv, 0] |
| 3147 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2576 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 44 [
testDiv, 3] |
| 3148 " | |
| 3149 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 44 [
testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3150 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3151 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 45 [
document, -1] | 2577 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 45 [
document, -1] |
| 3152 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 46 [
document, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2578 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 46 [
document, 0] |
| 3153 " | 2579 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 47 [
document, 1] |
| 3154 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 47 [
document, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2580 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 48 [
document, 2] |
| 3155 " | |
| 3156 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 48 [
document, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Qrstuvwx" | |
| 3157 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 49 [
document, 3] | 2581 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 49 [
document, 3] |
| 3158 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 50 [
comment, -1] | 2582 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 50 [
comment, -1] |
| 3159 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 51 [
comment, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2583 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 51 [
comment, 0] |
| 3160 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2584 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [
comment, 4] |
| 3161 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [
comment, 96] | 2585 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [
comment, 96] |
| 3162 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2586 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3163 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2587 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3164 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 2588 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 3165 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2589 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3166 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2590 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 3167 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [
xmlDoc, -1] | 2591 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [
xmlDoc, -1] |
| 3168 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2592 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3169 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2593 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3170 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [
xmlDoc, 5] | 2594 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [
xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3190 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2614 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3191 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [
doctype, 0] | 2615 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [
doctype, 0] |
| 3192 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 2616 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { |
| 3193 selection.collapse(point[0], point[1]); | 2617 selection.collapse(point[0], point[1]); |
| 3194 }" 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 | 2618 }" 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 |
| 3195 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 85 [
doctype, 1] | 2619 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 85 [
doctype, 1] |
| 3196 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
foreignDoctype, 0] | 2620 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
foreignDoctype, 0] |
| 3197 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [
xmlDoctype, 0] | 2621 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [
xmlDoctype, 0] |
| 3198 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [p
aras[0].firstChild, -1] | 2622 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [p
aras[0].firstChild, -1] |
| 3199 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [p
aras[0].firstChild, 0] | 2623 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [p
aras[0].firstChild, 0] |
| 3200 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | 2624 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [p
aras[0].firstChild, 1] |
| 3201 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [p
aras[0].firstChild, 2] | 2625 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [p
aras[0].firstChild, 2] |
| 3202 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [p
aras[0].firstChild, 8] | 2626 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [p
aras[0].firstChild, 8] |
| 3203 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | 2627 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [p
aras[0].firstChild, 9] |
| 3204 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [p
aras[0].firstChild, 10] | 2628 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [p
aras[0].firstChild, 10] |
| 3205 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [p
aras[0].firstChild, 65535] | 2629 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [p
aras[0].firstChild, 65535] |
| 3206 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [p
aras[1].firstChild, -1] | 2630 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [p
aras[1].firstChild, -1] |
| 3207 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | 2631 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [p
aras[1].firstChild, 0] |
| 3208 " but got Text node "Qrstuvwx" | 2632 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [
paras[1].firstChild, 1] |
| 3209 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 2633 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [
paras[1].firstChild, 2] |
| 3210 " but got Text node "Qrstuvwx" | 2634 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
paras[1].firstChild, 8] |
| 3211 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | 2635 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [
paras[1].firstChild, 9] |
| 3212 " but got Text node "Qrstuvwx" | |
| 3213 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3214 " but got Text node "Qrstuvwx" | |
| 3215 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3216 " but got Text node "Qrstuvwx" | |
| 3217 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [
paras[1].firstChild, 10] | 2636 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [
paras[1].firstChild, 10] |
| 3218 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [
paras[1].firstChild, 65535] | 2637 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [
paras[1].firstChild, 65535] |
| 3219 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2638 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3220 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2639 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3221 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2640 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3222 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [
detachedPara1.firstChild, 9] | 2641 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [
detachedPara1.firstChild, 9] |
| 3223 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2642 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3224 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2643 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3225 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2644 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3226 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [
foreignPara1.firstChild, 9] | 2645 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [
foreignPara1.firstChild, 9] |
| 3227 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [
document.documentElement, -1] | 2646 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [
document.documentElement, -1] |
| 3228 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | 2647 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [
document.documentElement, 0] |
| 3229 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2648 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [
document.documentElement, 1] |
| 3230 " | 2649 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
document.documentElement, 2] |
| 3231 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3232 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3233 " | |
| 3234 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3235 <me... but got Text node "Qrstuvwx" | |
| 3236 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [
document.documentElement, 7] | 2650 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [
document.documentElement, 7] |
| 3237 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 29 [
document.head, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <head><title>Selection.collapse() tests</title> | 2651 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 29 [
document.head, 1] |
| 3238 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2652 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 30 [
document.body, 3] |
| 3239 " | |
| 3240 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 30 [
document.body, 3] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3241 </p><p id... but got Text node "Qrstuvwx" | |
| 3242 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2653 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 3243 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2654 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 3244 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2655 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3245 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2656 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3246 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 35 [
paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2657 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 35 [
paras[0], 0] |
| 3247 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2658 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 36 [
paras[0], 1] |
| 3248 " | |
| 3249 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 36 [
paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3250 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3251 " | |
| 3252 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 37 [
paras[0], 2] | 2659 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 37 [
paras[0], 2] |
| 3253 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 38 [
paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | 2660 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 38 [
paras[1], 0] |
| 3254 </p> but got Text node "Qrstuvwx" | 2661 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 39 [
paras[1], 1] |
| 3255 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 39 [
paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3256 </p> but got Text node "Qrstuvwx" | |
| 3257 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 40 [
paras[1], 2] | 2662 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 40 [
paras[1], 2] |
| 3258 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2663 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 3259 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 2664 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 3260 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 43 [
testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2665 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 43 [
testDiv, 0] |
| 3261 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2666 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 44 [
testDiv, 3] |
| 3262 " | |
| 3263 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 44 [
testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3264 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3265 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 45 [
document, -1] | 2667 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 45 [
document, -1] |
| 3266 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 46 [
document, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2668 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 46 [
document, 0] |
| 3267 " | 2669 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 47 [
document, 1] |
| 3268 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 47 [
document, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2670 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 48 [
document, 2] |
| 3269 " | |
| 3270 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 48 [
document, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Qrstuvwx" | |
| 3271 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 49 [
document, 3] | 2671 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 49 [
document, 3] |
| 3272 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 50 [
comment, -1] | 2672 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 50 [
comment, -1] |
| 3273 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 51 [
comment, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2673 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 51 [
comment, 0] |
| 3274 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2674 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [
comment, 4] |
| 3275 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [
comment, 96] | 2675 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [
comment, 96] |
| 3276 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2676 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3277 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2677 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3278 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 2678 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 3279 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2679 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3280 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2680 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 3281 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [
xmlDoc, -1] | 2681 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [
xmlDoc, -1] |
| 3282 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2682 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3283 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2683 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3284 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [
xmlDoc, 5] | 2684 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [
xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3304 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2704 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3305 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [
doctype, 0] | 2705 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [
doctype, 0] |
| 3306 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 2706 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { |
| 3307 selection.collapse(point[0], point[1]); | 2707 selection.collapse(point[0], point[1]); |
| 3308 }" 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 | 2708 }" 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 |
| 3309 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 85 [
doctype, 1] | 2709 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 85 [
doctype, 1] |
| 3310 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
foreignDoctype, 0] | 2710 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
foreignDoctype, 0] |
| 3311 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [
xmlDoctype, 0] | 2711 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [
xmlDoctype, 0] |
| 3312 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].
firstChild, -1] | 2712 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].
firstChild, -1] |
| 3313 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].
firstChild, 0] | 2713 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].
firstChild, 0] |
| 3314 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].
firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 1 but got 2 | 2714 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].
firstChild, 1] |
| 3315 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].
firstChild, 2] | 2715 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].
firstChild, 2] |
| 3316 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].
firstChild, 8] | 2716 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].
firstChild, 8] |
| 3317 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].
firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 9 but got 10 | 2717 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].
firstChild, 9] |
| 3318 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].
firstChild, 10] | 2718 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].
firstChild, 10] |
| 3319 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].
firstChild, 65535] | 2719 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].
firstChild, 65535] |
| 3320 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].
firstChild, -1] | 2720 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].
firstChild, -1] |
| 3321 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].
firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Ijklmnop | 2721 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].
firstChild, 0] |
| 3322 " but got Text node "Qrstuvwx" | 2722 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1]
.firstChild, 1] |
| 3323 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1]
.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 2723 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1]
.firstChild, 2] |
| 3324 " but got Text node "Qrstuvwx" | 2724 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
.firstChild, 8] |
| 3325 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1]
.firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 2725 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1]
.firstChild, 9] |
| 3326 " but got Text node "Qrstuvwx" | |
| 3327 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3328 " but got Text node "Qrstuvwx" | |
| 3329 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1]
.firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3330 " but got Text node "Qrstuvwx" | |
| 3331 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1]
.firstChild, 10] | 2726 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1]
.firstChild, 10] |
| 3332 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1]
.firstChild, 65535] | 2727 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1]
.firstChild, 65535] |
| 3333 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detached
Para1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2728 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detached
Para1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 3334 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detached
Para1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2729 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detached
Para1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 3335 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detached
Para1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2730 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detached
Para1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 3336 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detached
Para1.firstChild, 9] | 2731 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detached
Para1.firstChild, 9] |
| 3337 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignP
ara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2732 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignP
ara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3338 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
ara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2733 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
ara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3339 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignP
ara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2734 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignP
ara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 3340 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignP
ara1.firstChild, 9] | 2735 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignP
ara1.firstChild, 9] |
| 3341 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document
.documentElement, -1] | 2736 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document
.documentElement, -1] |
| 3342 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document
.documentElement, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | 2737 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 25 [document
.documentElement, 0] |
| 3343 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2738 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document
.documentElement, 1] |
| 3344 " | 2739 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document
.documentElement, 2] |
| 3345 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 26 [document
.documentElement, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3346 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3347 " | |
| 3348 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 27 [document
.documentElement, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3349 <me... but got Text node "Qrstuvwx" | |
| 3350 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document
.documentElement, 7] | 2740 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document
.documentElement, 7] |
| 3351 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 29 [document
.head, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <head><title>Selection.collapse() tests</title> | 2741 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 29 [document
.head, 1] |
| 3352 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2742 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 30 [document
.body, 3] |
| 3353 " | |
| 3354 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 30 [document
.body, 3] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3355 </p><p id... but got Text node "Qrstuvwx" | |
| 3356 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignD
oc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2743 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignD
oc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 3357 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignD
oc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2744 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignD
oc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 3358 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignD
oc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2745 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignD
oc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3359 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignD
oc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2746 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignD
oc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3360 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 35 [paras[0]
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2747 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 35 [paras[0]
, 0] |
| 3361 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2748 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 36 [paras[0]
, 1] |
| 3362 " | |
| 3363 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 36 [paras[0]
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3364 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3365 " | |
| 3366 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 37 [paras[0]
, 2] | 2749 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 37 [paras[0]
, 2] |
| 3367 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 38 [paras[1]
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="b" style="display:none">Ijklmnop | 2750 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 38 [paras[1]
, 0] |
| 3368 </p> but got Text node "Qrstuvwx" | 2751 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 39 [paras[1]
, 1] |
| 3369 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 39 [paras[1]
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="b" style="display:none">Ijklmnop | |
| 3370 </p> but got Text node "Qrstuvwx" | |
| 3371 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 40 [paras[1]
, 2] | 2752 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 40 [paras[1]
, 2] |
| 3372 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 41 [detached
Para1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 2753 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 41 [detached
Para1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 3373 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 42 [detached
Para1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 2754 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 42 [detached
Para1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 3374 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 43 [testDiv,
0] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2755 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 43 [testDiv,
0] |
| 3375 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2756 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 44 [testDiv,
3] |
| 3376 " | |
| 3377 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 44 [testDiv,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3378 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3379 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 45 [document
, -1] | 2757 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 45 [document
, -1] |
| 3380 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 46 [document
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2758 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 46 [document
, 0] |
| 3381 " | 2759 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 47 [document
, 1] |
| 3382 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 47 [document
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2760 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 48 [document
, 2] |
| 3383 " | |
| 3384 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 48 [document
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Qrstuvwx" | |
| 3385 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 49 [document
, 3] | 2761 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 49 [document
, 3] |
| 3386 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 50 [comment,
-1] | 2762 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 50 [comment,
-1] |
| 3387 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 51 [comment,
0] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2763 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 51 [comment,
0] |
| 3388 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment,
4] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2764 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment,
4] |
| 3389 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment,
96] | 2765 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment,
96] |
| 3390 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignD
oc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2766 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignD
oc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3391 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignD
oc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2767 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignD
oc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3392 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 2768 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3393 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2769 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3394 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignT
extNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2770 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignT
extNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3395 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc,
-1] | 2771 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc,
-1] |
| 3396 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2772 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3397 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2773 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3398 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc,
5] | 2774 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc,
5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3418 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2794 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3419 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype,
0] | 2795 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype,
0] |
| 3420 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype,
-17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 2796 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype,
-17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 3421 selection.collapse(point[0], point[1]); | 2797 selection.collapse(point[0], point[1]); |
| 3422 }" 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 | 2798 }" 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 |
| 3423 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 85 [doctype,
1] | 2799 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 85 [doctype,
1] |
| 3424 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
octype, 0] | 2800 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
octype, 0] |
| 3425 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDocty
pe, 0] | 2801 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDocty
pe, 0] |
| 3426 PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1] | 2802 PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1] |
| 3427 PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0] | 2803 PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0] |
| 3428 FAIL Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | 2804 PASS Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] |
| 3429 PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2] | 2805 PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2] |
| 3430 PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8] | 2806 PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8] |
| 3431 FAIL Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | 2807 PASS Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] |
| 3432 PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10] | 2808 PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10] |
| 3433 PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535] | 2809 PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535] |
| 3434 PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1] | 2810 PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1] |
| 3435 FAIL Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | 2811 PASS Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] |
| 3436 " but got Text node "Qrstuvwx" | 2812 PASS Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] |
| 3437 FAIL Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 2813 PASS Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] |
| 3438 " but got Text node "Qrstuvwx" | 2814 PASS Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] |
| 3439 FAIL Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | 2815 PASS Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] |
| 3440 " but got Text node "Qrstuvwx" | |
| 3441 FAIL Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3442 " but got Text node "Qrstuvwx" | |
| 3443 FAIL Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3444 " but got Text node "Qrstuvwx" | |
| 3445 PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10] | 2816 PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10] |
| 3446 PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535] | 2817 PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535] |
| 3447 FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2818 FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3448 FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2819 FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3449 FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2820 FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3450 PASS Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9] | 2821 PASS Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9] |
| 3451 FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2822 FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 3452 FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2823 FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 3453 FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 2824 FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
| 3454 PASS Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9] | 2825 PASS Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9] |
| 3455 PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1] | 2826 PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1] |
| 3456 FAIL Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | 2827 PASS Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] |
| 3457 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2828 PASS Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] |
| 3458 " | 2829 PASS Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] |
| 3459 FAIL Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 3460 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3461 " | |
| 3462 FAIL Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 3463 <me... but got Text node "Qrstuvwx" | |
| 3464 PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7] | 2830 PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7] |
| 3465 FAIL Range 56 [docfrag, 0, docfrag, 0], point 29 [document.head, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <head><
title>Selection.collapse() tests</title> | 2831 PASS Range 56 [docfrag, 0, docfrag, 0], point 29 [document.head, 1] |
| 3466 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2832 PASS Range 56 [docfrag, 0, docfrag, 0], point 30 [document.body, 3] |
| 3467 " | |
| 3468 FAIL Range 56 [docfrag, 0, docfrag, 0], point 30 [document.body, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3469 </p><p id... but got Text node "Qrstuvwx" | |
| 3470 FAIL Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2833 FAIL Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3471 FAIL Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2834 FAIL Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3472 FAIL Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2835 FAIL Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3473 FAIL Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2836 FAIL Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3474 FAIL Range 56 [docfrag, 0, docfrag, 0], point 35 [paras[0], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | 2837 PASS Range 56 [docfrag, 0, docfrag, 0], point 35 [paras[0], 0] |
| 3475 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2838 PASS Range 56 [docfrag, 0, docfrag, 0], point 36 [paras[0], 1] |
| 3476 " | |
| 3477 FAIL Range 56 [docfrag, 0, docfrag, 0], point 36 [paras[0], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 3478 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3479 " | |
| 3480 PASS Range 56 [docfrag, 0, docfrag, 0], point 37 [paras[0], 2] | 2839 PASS Range 56 [docfrag, 0, docfrag, 0], point 37 [paras[0], 2] |
| 3481 FAIL Range 56 [docfrag, 0, docfrag, 0], point 38 [paras[1], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | 2840 PASS Range 56 [docfrag, 0, docfrag, 0], point 38 [paras[1], 0] |
| 3482 </p> but got Text node "Qrstuvwx" | 2841 PASS Range 56 [docfrag, 0, docfrag, 0], point 39 [paras[1], 1] |
| 3483 FAIL Range 56 [docfrag, 0, docfrag, 0], point 39 [paras[1], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 3484 </p> but got Text node "Qrstuvwx" | |
| 3485 PASS Range 56 [docfrag, 0, docfrag, 0], point 40 [paras[1], 2] | 2842 PASS Range 56 [docfrag, 0, docfrag, 0], point 40 [paras[1], 2] |
| 3486 FAIL Range 56 [docfrag, 0, docfrag, 0], point 41 [detachedPara1, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2843 FAIL Range 56 [docfrag, 0, docfrag, 0], point 41 [detachedPara1, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3487 FAIL Range 56 [docfrag, 0, docfrag, 0], point 42 [detachedPara1, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2844 FAIL Range 56 [docfrag, 0, docfrag, 0], point 42 [detachedPara1, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3488 FAIL Range 56 [docfrag, 0, docfrag, 0], point 43 [testDiv, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2845 PASS Range 56 [docfrag, 0, docfrag, 0], point 43 [testDiv, 0] |
| 3489 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2846 PASS Range 56 [docfrag, 0, docfrag, 0], point 44 [testDiv, 3] |
| 3490 " | |
| 3491 FAIL Range 56 [docfrag, 0, docfrag, 0], point 44 [testDiv, 3] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3492 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3493 PASS Range 56 [docfrag, 0, docfrag, 0], point 45 [document, -1] | 2847 PASS Range 56 [docfrag, 0, docfrag, 0], point 45 [document, -1] |
| 3494 FAIL Range 56 [docfrag, 0, docfrag, 0], point 46 [document, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2848 PASS Range 56 [docfrag, 0, docfrag, 0], point 46 [document, 0] |
| 3495 " | 2849 PASS Range 56 [docfrag, 0, docfrag, 0], point 47 [document, 1] |
| 3496 FAIL Range 56 [docfrag, 0, docfrag, 0], point 47 [document, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2850 PASS Range 56 [docfrag, 0, docfrag, 0], point 48 [document, 2] |
| 3497 " | |
| 3498 FAIL Range 56 [docfrag, 0, docfrag, 0], point 48 [document, 2] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Qrstuvwx" | |
| 3499 PASS Range 56 [docfrag, 0, docfrag, 0], point 49 [document, 3] | 2851 PASS Range 56 [docfrag, 0, docfrag, 0], point 49 [document, 3] |
| 3500 PASS Range 56 [docfrag, 0, docfrag, 0], point 50 [comment, -1] | 2852 PASS Range 56 [docfrag, 0, docfrag, 0], point 50 [comment, -1] |
| 3501 FAIL Range 56 [docfrag, 0, docfrag, 0], point 51 [comment, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 2853 PASS Range 56 [docfrag, 0, docfrag, 0], point 51 [comment, 0] |
| 3502 FAIL Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | 2854 PASS Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] |
| 3503 PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96] | 2855 PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96] |
| 3504 FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2856 FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3505 FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2857 FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3506 FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2858 FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3507 FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2859 FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3508 FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2860 FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3509 PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1] | 2861 PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1] |
| 3510 FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2862 FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3511 FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2863 FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3512 PASS Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5] | 2864 PASS Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3532 FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 2884 FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3533 PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0] | 2885 PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0] |
| 3534 FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | 2886 FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { |
| 3535 selection.collapse(point[0], point[1]); | 2887 selection.collapse(point[0], point[1]); |
| 3536 }" 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 | 2888 }" 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 |
| 3537 PASS Range 56 [docfrag, 0, docfrag, 0], point 85 [doctype, 1] | 2889 PASS Range 56 [docfrag, 0, docfrag, 0], point 85 [doctype, 1] |
| 3538 PASS Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0] | 2890 PASS Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0] |
| 3539 PASS Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0] | 2891 PASS Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0] |
| 3540 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChi
ld, -1] | 2892 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChi
ld, -1] |
| 3541 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChi
ld, 0] | 2893 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChi
ld, 0] |
| 3542 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChi
ld, 1] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 1 but got 2 | 2894 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChi
ld, 1] |
| 3543 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChi
ld, 2] | 2895 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChi
ld, 2] |
| 3544 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChi
ld, 8] | 2896 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChi
ld, 8] |
| 3545 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChi
ld, 9] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 9 but got 10 | 2897 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChi
ld, 9] |
| 3546 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChi
ld, 10] | 2898 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChi
ld, 10] |
| 3547 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChi
ld, 65535] | 2899 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChi
ld, 65535] |
| 3548 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChi
ld, -1] | 2900 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChi
ld, -1] |
| 3549 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChi
ld, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 2901 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChi
ld, 0] |
| 3550 " but got Text node "Qrstuvwx" | 2902 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstCh
ild, 1] |
| 3551 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstCh
ild, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2903 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstCh
ild, 2] |
| 3552 " but got Text node "Qrstuvwx" | 2904 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
ild, 8] |
| 3553 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstCh
ild, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2905 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstCh
ild, 9] |
| 3554 " but got Text node "Qrstuvwx" | |
| 3555 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
ild, 8] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3556 " but got Text node "Qrstuvwx" | |
| 3557 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstCh
ild, 9] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3558 " but got Text node "Qrstuvwx" | |
| 3559 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstCh
ild, 10] | 2906 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstCh
ild, 10] |
| 3560 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstCh
ild, 65535] | 2907 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstCh
ild, 65535] |
| 3561 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.fi
rstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2908 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.fi
rstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3562 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.fi
rstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2909 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.fi
rstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3563 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.fi
rstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2910 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.fi
rstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3564 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.fi
rstChild, 9] | 2911 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.fi
rstChild, 9] |
| 3565 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.fir
stChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2912 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.fir
stChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3566 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
stChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2913 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
stChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3567 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.fir
stChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 2914 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.fir
stChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
| 3568 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.fir
stChild, 9] | 2915 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.fir
stChild, 9] |
| 3569 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documen
tElement, -1] | 2916 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documen
tElement, -1] |
| 3570 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | 2917 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documen
tElement, 0] |
| 3571 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2918 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documen
tElement, 1] |
| 3572 " | 2919 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
tElement, 2] |
| 3573 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | |
| 3574 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3575 " | |
| 3576 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
tElement, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | |
| 3577 <me... but got Text node "Qrstuvwx" | |
| 3578 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documen
tElement, 7] | 2920 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documen
tElement, 7] |
| 3579 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 29 [document.head, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title>Selection.collapse() tests</title> | 2921 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 29 [document.head, 1
] |
| 3580 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2922 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 30 [document.body, 3
] |
| 3581 " | |
| 3582 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 30 [document.body, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3583 </p><p id... but got Text node "Qrstuvwx" | |
| 3584 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.docum
entElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2923 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.docum
entElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3585 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.docum
entElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2924 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.docum
entElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3586 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2925 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3587 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2926 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3588 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 35 [paras[0], 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2927 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 35 [paras[0], 0] |
| 3589 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2928 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 36 [paras[0], 1] |
| 3590 " | |
| 3591 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 36 [paras[0], 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3592 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3593 " | |
| 3594 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 37 [paras[0], 2] | 2929 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 37 [paras[0], 2] |
| 3595 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 38 [paras[1], 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="b" style="display:none">Ijklmnop | 2930 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 38 [paras[1], 0] |
| 3596 </p> but got Text node "Qrstuvwx" | 2931 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 39 [paras[1], 1] |
| 3597 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 39 [paras[1], 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="b" style="display:none">Ijklmnop | |
| 3598 </p> but got Text node "Qrstuvwx" | |
| 3599 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 40 [paras[1], 2] | 2932 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 40 [paras[1], 2] |
| 3600 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 41 [detachedPara1, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2933 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 41 [detachedPara1, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 3601 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 42 [detachedPara1, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 2934 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 42 [detachedPara1, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 3602 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 43 [testDiv, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2935 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 43 [testDiv, 0] |
| 3603 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2936 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 44 [testDiv, 3] |
| 3604 " | |
| 3605 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 44 [testDiv, 3] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3606 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3607 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 45 [document, -1] | 2937 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 45 [document, -1] |
| 3608 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 46 [document, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2938 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 46 [document, 0] |
| 3609 " | 2939 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 47 [document, 1] |
| 3610 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 47 [document, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2940 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 48 [document, 2] |
| 3611 " | |
| 3612 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 48 [document, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Qrstuvwx" | |
| 3613 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 49 [document, 3] | 2941 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 49 [document, 3] |
| 3614 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 50 [comment, -1] | 2942 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 50 [comment, -1] |
| 3615 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 51 [comment, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2943 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 51 [comment, 0] |
| 3616 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2944 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] |
| 3617 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96] | 2945 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96] |
| 3618 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2946 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3619 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2947 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3620 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2948 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3621 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2949 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3622 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode,
36] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2950 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode,
36] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3623 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1] | 2951 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1] |
| 3624 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2952 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3625 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 2953 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3626 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5] | 2954 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3646 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 2974 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3647 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0] | 2975 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0] |
| 3648 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | 2976 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { |
| 3649 selection.collapse(point[0], point[1]); | 2977 selection.collapse(point[0], point[1]); |
| 3650 }" 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 | 2978 }" 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 |
| 3651 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 85 [doctype, 1] | 2979 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 85 [doctype, 1] |
| 3652 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
0] | 2980 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
0] |
| 3653 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0] | 2981 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0] |
| 3654 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1] | 2982 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1] |
| 3655 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0] | 2983 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0] |
| 3656 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | 2984 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] |
| 3657 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2] | 2985 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2] |
| 3658 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8] | 2986 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8] |
| 3659 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | 2987 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] |
| 3660 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10] | 2988 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10] |
| 3661 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 6553
5] | 2989 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 6553
5] |
| 3662 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1] | 2990 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1] |
| 3663 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | 2991 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] |
| 3664 " but got Text node "Qrstuvwx" | 2992 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1] |
| 3665 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 2993 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2] |
| 3666 " but got Text node "Qrstuvwx" | 2994 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8] |
| 3667 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | 2995 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9] |
| 3668 " but got Text node "Qrstuvwx" | |
| 3669 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3670 " but got Text node "Qrstuvwx" | |
| 3671 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3672 " but got Text node "Qrstuvwx" | |
| 3673 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
| 2996 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
|
| 3674 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 655
35] | 2997 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 655
35] |
| 3675 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2998 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3676 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2999 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3677 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3000 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3678 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild
, 9] | 3001 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild
, 9] |
| 3679 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3002 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3680 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3003 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3681 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3004 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3682 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild,
9] | 3005 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild,
9] |
| 3683 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement
, -1] | 3006 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement
, -1] |
| 3684 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | 3007 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement
, 0] |
| 3685 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3008 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement
, 1] |
| 3686 " | 3009 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
, 2] |
| 3687 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 3688 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3689 " | |
| 3690 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 3691 <me... but got Text node "Qrstuvwx" | |
| 3692 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement
, 7] | 3010 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement
, 7] |
| 3693 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 29 [document.head, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
head><title>Selection.collapse() tests</title> | 3011 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 29 [document.head, 1] |
| 3694 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3012 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 30 [document.body, 3] |
| 3695 " | |
| 3696 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 30 [document.body, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3697 </p><p id... but got Text node "Qrstuvwx" | |
| 3698 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3013 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3699 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3014 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3700 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3015 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3701 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3016 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3702 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 35 [paras[0], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | 3017 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 35 [paras[0], 0] |
| 3703 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3018 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 36 [paras[0], 1] |
| 3704 " | |
| 3705 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 36 [paras[0], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3706 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3707 " | |
| 3708 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 37 [paras[0], 2] | 3019 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 37 [paras[0], 2] |
| 3709 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 38 [paras[1], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | 3020 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 38 [paras[1], 0] |
| 3710 </p> but got Text node "Qrstuvwx" | 3021 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 39 [paras[1], 1] |
| 3711 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 39 [paras[1], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 3712 </p> but got Text node "Qrstuvwx" | |
| 3713 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 40 [paras[1], 2] | 3022 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 40 [paras[1], 2] |
| 3714 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3023 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3715 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3024 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3716 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 43 [testDiv, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3025 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 43 [testDiv, 0] |
| 3717 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3026 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 44 [testDiv, 3] |
| 3718 " | |
| 3719 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 44 [testDiv, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3720 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3721 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 45 [document, -1] | 3027 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 45 [document, -1] |
| 3722 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 46 [document, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3028 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 46 [document, 0] |
| 3723 " | 3029 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 47 [document, 1] |
| 3724 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 47 [document, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3030 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 48 [document, 2] |
| 3725 " | |
| 3726 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 48 [document, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Qrstuvwx" | |
| 3727 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 49 [document, 3] | 3031 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 49 [document, 3] |
| 3728 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 50 [comment, -1] | 3032 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 50 [comment, -1] |
| 3729 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 51 [comment, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 3033 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 51 [comment, 0] |
| 3730 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | 3034 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] |
| 3731 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96] | 3035 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96] |
| 3732 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3036 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3733 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3037 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3734 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3038 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3735 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | 3039 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 |
| 3736 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3040 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3737 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1] | 3041 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1] |
| 3738 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3042 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3739 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3043 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3740 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5] | 3044 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3760 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3064 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3761 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0] | 3065 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0] |
| 3762 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | 3066 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { |
| 3763 selection.collapse(point[0], point[1]); | 3067 selection.collapse(point[0], point[1]); |
| 3764 }" 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 | 3068 }" 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 |
| 3765 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 85 [doctype, 1] | 3069 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 85 [doctype, 1] |
| 3766 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0] | 3070 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0] |
| 3767 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0] | 3071 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0] |
| 3768 Harness: the test ran to completion. | 3072 Harness: the test ran to completion. |
| 3769 | 3073 |
| OLD | NEW |