| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 CONSOLE ERROR: line 8: The given range isn't in document. | 432 CONSOLE ERROR: line 8: The given range isn't in document. |
| 433 CONSOLE ERROR: line 8: The given range isn't in document. | 433 CONSOLE ERROR: line 8: The given range isn't in document. |
| 434 CONSOLE ERROR: line 8: The given range isn't in document. | 434 CONSOLE ERROR: line 8: The given range isn't in document. |
| 435 CONSOLE ERROR: line 8: The given range isn't in document. | 435 CONSOLE ERROR: line 8: The given range isn't in document. |
| 436 CONSOLE ERROR: line 8: The given range isn't in document. | 436 CONSOLE ERROR: line 8: The given range isn't in document. |
| 437 CONSOLE ERROR: line 8: The given range isn't in document. | 437 CONSOLE ERROR: line 8: The given range isn't in document. |
| 438 CONSOLE ERROR: line 8: The given range isn't in document. | 438 CONSOLE ERROR: line 8: The given range isn't in document. |
| 439 CONSOLE ERROR: line 8: The given range isn't in document. | 439 CONSOLE ERROR: line 8: The given range isn't in document. |
| 440 CONSOLE ERROR: line 8: The given range isn't in document. | 440 CONSOLE ERROR: line 8: The given range isn't in document. |
| 441 This is a testharness.js-based test. | 441 This is a testharness.js-based test. |
| 442 Found 2670 tests; 783 PASS, 1887 FAIL, 0 TIMEOUT, 0 NOTRUN. | 442 Found 2670 tests; 1470 PASS, 1200 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| 443 PASS Set up range 0 [] | 443 PASS Set up range 0 [] |
| 444 PASS Set up range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] | 444 PASS Set up range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] |
| 445 PASS Set up range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] | 445 PASS Set up range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] |
| 446 PASS Set up range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] | 446 PASS Set up range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] |
| 447 PASS Set up range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] | 447 PASS Set up range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] |
| 448 PASS Set up range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] | 448 PASS Set up range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] |
| 449 PASS Set up range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] | 449 PASS Set up range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] |
| 450 PASS Set up range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] | 450 PASS Set up range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] |
| 451 PASS Set up range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] | 451 PASS Set up range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] |
| 452 PASS Set up range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] | 452 PASS Set up range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] |
| (...skipping 12 matching lines...) Expand all Loading... |
| 465 PASS Set up range 22 [foreignDoc.body, 0, foreignDoc.body, 0] | 465 PASS Set up range 22 [foreignDoc.body, 0, foreignDoc.body, 0] |
| 466 PASS Set up range 23 [paras[0], 0, paras[0], 0] | 466 PASS Set up range 23 [paras[0], 0, paras[0], 0] |
| 467 PASS Set up range 24 [paras[0], 0, paras[0], 1] | 467 PASS Set up range 24 [paras[0], 0, paras[0], 1] |
| 468 PASS Set up range 25 [detachedPara1, 0, detachedPara1, 0] | 468 PASS Set up range 25 [detachedPara1, 0, detachedPara1, 0] |
| 469 PASS Set up range 26 [detachedPara1, 0, detachedPara1, 1] | 469 PASS Set up range 26 [detachedPara1, 0, detachedPara1, 1] |
| 470 PASS Set up range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] | 470 PASS Set up range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] |
| 471 PASS Set up range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] | 471 PASS Set up range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] |
| 472 PASS Set up range 29 [paras[0].firstChild, 3, paras[3], 1] | 472 PASS Set up range 29 [paras[0].firstChild, 3, paras[3], 1] |
| 473 PASS Range 0 [], point 0 [paras[0].firstChild, -1] | 473 PASS Range 0 [], point 0 [paras[0].firstChild, -1] |
| 474 PASS Range 0 [], point 1 [paras[0].firstChild, 0] | 474 PASS Range 0 [], point 1 [paras[0].firstChild, 0] |
| 475 FAIL Range 0 [], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset mus
t equal the offset we collapse()d to expected 1 but got 2 | 475 PASS Range 0 [], point 2 [paras[0].firstChild, 1] |
| 476 PASS Range 0 [], point 3 [paras[0].firstChild, 2] | 476 PASS Range 0 [], point 3 [paras[0].firstChild, 2] |
| 477 PASS Range 0 [], point 4 [paras[0].firstChild, 8] | 477 PASS Range 0 [], point 4 [paras[0].firstChild, 8] |
| 478 FAIL Range 0 [], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset mus
t equal the offset we collapse()d to expected 9 but got 10 | 478 PASS Range 0 [], point 5 [paras[0].firstChild, 9] |
| 479 PASS Range 0 [], point 6 [paras[0].firstChild, 10] | 479 PASS Range 0 [], point 6 [paras[0].firstChild, 10] |
| 480 PASS Range 0 [], point 7 [paras[0].firstChild, 65535] | 480 PASS Range 0 [], point 7 [paras[0].firstChild, 65535] |
| 481 PASS Range 0 [], point 8 [paras[1].firstChild, -1] | 481 PASS Range 0 [], point 8 [paras[1].firstChild, -1] |
| 482 FAIL Range 0 [], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | 482 PASS Range 0 [], point 9 [paras[1].firstChild, 0] |
| 483 " but got Text node "Qrstuvwx" | 483 PASS Range 0 [], point 10 [paras[1].firstChild, 1] |
| 484 FAIL Range 0 [], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | 484 PASS Range 0 [], point 11 [paras[1].firstChild, 2] |
| 485 " but got Text node "Qrstuvwx" | 485 PASS Range 0 [], point 12 [paras[1].firstChild, 8] |
| 486 FAIL Range 0 [], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | 486 PASS Range 0 [], point 13 [paras[1].firstChild, 9] |
| 487 " but got Text node "Qrstuvwx" | |
| 488 FAIL Range 0 [], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 489 " but got Text node "Qrstuvwx" | |
| 490 FAIL Range 0 [], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 491 " but got Text node "Qrstuvwx" | |
| 492 PASS Range 0 [], point 14 [paras[1].firstChild, 10] | 487 PASS Range 0 [], point 14 [paras[1].firstChild, 10] |
| 493 PASS Range 0 [], point 15 [paras[1].firstChild, 65535] | 488 PASS Range 0 [], point 15 [paras[1].firstChild, 65535] |
| 494 FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 489 FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 495 FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 490 FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 496 FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 491 FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 497 PASS Range 0 [], point 19 [detachedPara1.firstChild, 9] | 492 PASS Range 0 [], point 19 [detachedPara1.firstChild, 9] |
| 498 FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 493 FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 499 FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 494 FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 500 FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 495 FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 501 PASS Range 0 [], point 23 [foreignPara1.firstChild, 9] | 496 PASS Range 0 [], point 23 [foreignPara1.firstChild, 9] |
| 502 PASS Range 0 [], point 24 [document.documentElement, -1] | 497 PASS Range 0 [], point 24 [document.documentElement, -1] |
| 503 FAIL Range 0 [], point 25 [document.documentElement, 0] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | 498 PASS Range 0 [], point 25 [document.documentElement, 0] |
| 504 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 499 PASS Range 0 [], point 26 [document.documentElement, 1] |
| 505 " | 500 PASS Range 0 [], point 27 [document.documentElement, 2] |
| 506 FAIL Range 0 [], point 26 [document.documentElement, 1] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | |
| 507 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 508 " | |
| 509 FAIL Range 0 [], point 27 [document.documentElement, 2] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | |
| 510 <me... but got Text node "Qrstuvwx" | |
| 511 PASS Range 0 [], point 28 [document.documentElement, 7] | 501 PASS Range 0 [], point 28 [document.documentElement, 7] |
| 512 FAIL Range 0 [], point 29 [document.head, 1] assert_equals: focusNode must equal
the node we collapse()d to expected Element node <head><title>Selection.collaps
e() tests</title> | 502 PASS Range 0 [], point 29 [document.head, 1] |
| 513 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 503 PASS Range 0 [], point 30 [document.body, 3] |
| 514 " | |
| 515 FAIL Range 0 [], point 30 [document.body, 3] assert_equals: focusNode must equal
the node we collapse()d to expected Element node <body><div id="test"><p id="a"
>Äb̈c̈d̈ëf̈g̈ḧ | |
| 516 </p><p id... but got Text node "Qrstuvwx" | |
| 517 FAIL Range 0 [], point 31 [foreignDoc.documentElement, 0] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 | 504 FAIL Range 0 [], point 31 [foreignDoc.documentElement, 0] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 518 FAIL Range 0 [], point 32 [foreignDoc.documentElement, 1] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 | 505 FAIL Range 0 [], point 32 [foreignDoc.documentElement, 1] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 519 FAIL Range 0 [], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 506 FAIL Range 0 [], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
| 520 FAIL Range 0 [], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 507 FAIL Range 0 [], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
| 521 FAIL Range 0 [], point 35 [paras[0], 0] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 508 PASS Range 0 [], point 35 [paras[0], 0] |
| 522 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 509 PASS Range 0 [], point 36 [paras[0], 1] |
| 523 " | |
| 524 FAIL Range 0 [], point 36 [paras[0], 1] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 525 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 526 " | |
| 527 PASS Range 0 [], point 37 [paras[0], 2] | 510 PASS Range 0 [], point 37 [paras[0], 2] |
| 528 FAIL Range 0 [], point 38 [paras[1], 0] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="b" style="display:none">Ijkl
mnop | 511 PASS Range 0 [], point 38 [paras[1], 0] |
| 529 </p> but got Text node "Qrstuvwx" | 512 PASS Range 0 [], point 39 [paras[1], 1] |
| 530 FAIL Range 0 [], point 39 [paras[1], 1] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="b" style="display:none">Ijkl
mnop | |
| 531 </p> but got Text node "Qrstuvwx" | |
| 532 PASS Range 0 [], point 40 [paras[1], 2] | 513 PASS Range 0 [], point 40 [paras[1], 2] |
| 533 FAIL Range 0 [], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 | 514 FAIL Range 0 [], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 |
| 534 FAIL Range 0 [], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 | 515 FAIL Range 0 [], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 |
| 535 FAIL Range 0 [], point 43 [testDiv, 0] assert_equals: focusNode must equal the n
ode we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf
̈g̈ḧ | 516 PASS Range 0 [], point 43 [testDiv, 0] |
| 536 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 517 PASS Range 0 [], point 44 [testDiv, 3] |
| 537 " | |
| 538 FAIL Range 0 [], point 44 [testDiv, 3] assert_equals: focusNode must equal the n
ode we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf
̈g̈ḧ | |
| 539 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 540 PASS Range 0 [], point 45 [document, -1] | 518 PASS Range 0 [], point 45 [document, -1] |
| 541 FAIL Range 0 [], point 46 [document, 0] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Äb̈c̈d̈ëf̈g̈ḧ | 519 PASS Range 0 [], point 46 [document, 0] |
| 542 " | 520 PASS Range 0 [], point 47 [document, 1] |
| 543 FAIL Range 0 [], point 47 [document, 1] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Äb̈c̈d̈ëf̈g̈ḧ | 521 PASS Range 0 [], point 48 [document, 2] |
| 544 " | |
| 545 FAIL Range 0 [], point 48 [document, 2] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Qrstuvwx" | |
| 546 PASS Range 0 [], point 49 [document, 3] | 522 PASS Range 0 [], point 49 [document, 3] |
| 547 PASS Range 0 [], point 50 [comment, -1] | 523 PASS Range 0 [], point 50 [comment, -1] |
| 548 FAIL Range 0 [], point 51 [comment, 0] assert_equals: focusNode must equal the n
ode we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text n
ode "Qrstuvwx" | 524 PASS Range 0 [], point 51 [comment, 0] |
| 549 FAIL Range 0 [], point 52 [comment, 4] assert_equals: focusNode must equal the n
ode we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text n
ode "Qrstuvwx" | 525 PASS Range 0 [], point 52 [comment, 4] |
| 550 PASS Range 0 [], point 53 [comment, 96] | 526 PASS Range 0 [], point 53 [comment, 96] |
| 551 FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 527 FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
| 552 FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 528 FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
| 553 FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 | 529 FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 |
| 554 FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 530 FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
| 555 FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | 531 FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 |
| 556 PASS Range 0 [], point 59 [xmlDoc, -1] | 532 PASS Range 0 [], point 59 [xmlDoc, -1] |
| 557 FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | 533 FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 |
| 558 FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | 534 FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 |
| 559 PASS Range 0 [], point 62 [xmlDoc, 5] | 535 PASS Range 0 [], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 579 FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 555 FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
| 580 PASS Range 0 [], point 83 [doctype, 0] | 556 PASS Range 0 [], point 83 [doctype, 0] |
| 581 FAIL Range 0 [], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_
TYPE_ERR when collapse()ing if the node is a DocumentType function "function ()
{ | 557 FAIL Range 0 [], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_
TYPE_ERR when collapse()ing if the node is a DocumentType function "function ()
{ |
| 582 selection.collapse(point[0], point[1]); | 558 selection.collapse(point[0], point[1]); |
| 583 }" 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 | 559 }" 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 |
| 584 PASS Range 0 [], point 85 [doctype, 1] | 560 PASS Range 0 [], point 85 [doctype, 1] |
| 585 PASS Range 0 [], point 86 [foreignDoctype, 0] | 561 PASS Range 0 [], point 86 [foreignDoctype, 0] |
| 586 PASS Range 0 [], point 87 [xmlDoctype, 0] | 562 PASS Range 0 [], point 87 [xmlDoctype, 0] |
| 587 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | 563 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0]
.firstChild, -1] |
| 588 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | 564 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0]
.firstChild, 0] |
| 589 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 565 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 2 [paras[0]
.firstChild, 1] |
| 590 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | 566 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0]
.firstChild, 2] |
| 591 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | 567 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0]
.firstChild, 8] |
| 592 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 568 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 5 [paras[0]
.firstChild, 9] |
| 593 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | 569 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0]
.firstChild, 10] |
| 594 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | 570 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] |
| 595 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | 571 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1]
.firstChild, -1] |
| 596 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 572 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 9 [paras[1]
.firstChild, 0] |
| 597 " but got Text node "Qrstuvwx" | 573 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 10 [paras[1
].firstChild, 1] |
| 598 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 574 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 11 [paras[1
].firstChild, 2] |
| 599 " but got Text node "Qrstuvwx" | 575 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1
].firstChild, 8] |
| 600 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 576 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 13 [paras[1
].firstChild, 9] |
| 601 " but got Text node "Qrstuvwx" | |
| 602 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 603 " but got Text node "Qrstuvwx" | |
| 604 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 605 " but got Text node "Qrstuvwx" | |
| 606 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1
].firstChild, 10] | 577 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1
].firstChild, 10] |
| 607 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | 578 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1
].firstChild, 65535] |
| 608 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 579 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 609 " | 580 " |
| 610 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 581 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 611 " | 582 " |
| 612 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 583 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 613 " | 584 " |
| 614 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] | 585 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] |
| 615 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 586 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 616 " | 587 " |
| 617 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 588 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 618 " | 589 " |
| 619 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 590 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 620 " | 591 " |
| 621 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] | 592 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] |
| 622 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [documen
t.documentElement, -1] | 593 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [documen
t.documentElement, -1] |
| 623 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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> | 594 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 25 [documen
t.documentElement, 0] |
| 624 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 595 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 26 [documen
t.documentElement, 1] |
| 625 " | 596 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 27 [documen
t.documentElement, 2] |
| 626 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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> | |
| 627 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 628 " | |
| 629 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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> | |
| 630 <me... but got Text node "Qrstuvwx" | |
| 631 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [documen
t.documentElement, 7] | 597 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [documen
t.documentElement, 7] |
| 632 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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> | 598 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 29 [documen
t.head, 1] |
| 633 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 599 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 30 [documen
t.body, 3] |
| 634 " | |
| 635 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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̈ḧ | |
| 636 </p><p id... but got Text node "Qrstuvwx" | |
| 637 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 600 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 638 " | 601 " |
| 639 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 602 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 640 " | 603 " |
| 641 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ | 604 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ |
| 642 " | 605 " |
| 643 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 606 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 644 " | 607 " |
| 645 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 608 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 35 [paras[0
], 0] |
| 646 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 609 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 36 [paras[0
], 1] |
| 647 " | |
| 648 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 649 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 650 " | |
| 651 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 37 [paras[0
], 2] | 610 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 37 [paras[0
], 2] |
| 652 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 611 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 38 [paras[1
], 0] |
| 653 </p> but got Text node "Qrstuvwx" | 612 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 39 [paras[1
], 1] |
| 654 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 655 </p> but got Text node "Qrstuvwx" | |
| 656 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 40 [paras[1
], 2] | 613 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 40 [paras[1
], 2] |
| 657 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 614 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 658 " | 615 " |
| 659 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 616 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 660 " | 617 " |
| 661 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 618 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 43 [testDiv
, 0] |
| 662 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 619 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 44 [testDiv
, 3] |
| 663 " | |
| 664 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 665 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 666 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 45 [documen
t, -1] | 620 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 45 [documen
t, -1] |
| 667 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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̈ḧ | 621 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 46 [documen
t, 0] |
| 668 " | 622 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 47 [documen
t, 1] |
| 669 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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̈ḧ | 623 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 48 [documen
t, 2] |
| 670 " | |
| 671 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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" | |
| 672 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 49 [documen
t, 3] | 624 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 49 [documen
t, 3] |
| 673 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment
, -1] | 625 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment
, -1] |
| 674 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 626 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 51 [comment
, 0] |
| 675 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 627 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 52 [comment
, 4] |
| 676 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 53 [comment
, 96] | 628 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 53 [comment
, 96] |
| 677 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 629 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 678 " | 630 " |
| 679 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 631 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 680 " | 632 " |
| 681 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 633 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 682 " | 634 " |
| 683 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 635 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 684 " | 636 " |
| 685 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 637 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 " | 684 " |
| 733 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype
, 0] | 685 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype
, 0] |
| 734 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 686 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 735 selection.collapse(point[0], point[1]); | 687 selection.collapse(point[0], point[1]); |
| 736 }" 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 | 688 }" 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 |
| 737 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype
, 1] | 689 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype
, 1] |
| 738 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
Doctype, 0] | 690 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
Doctype, 0] |
| 739 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoct
ype, 0] | 691 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoct
ype, 0] |
| 740 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | 692 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0]
.firstChild, -1] |
| 741 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | 693 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0]
.firstChild, 0] |
| 742 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 694 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 2 [paras[0]
.firstChild, 1] |
| 743 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | 695 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0]
.firstChild, 2] |
| 744 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | 696 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0]
.firstChild, 8] |
| 745 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 697 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 5 [paras[0]
.firstChild, 9] |
| 746 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | 698 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0]
.firstChild, 10] |
| 747 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | 699 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] |
| 748 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | 700 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1]
.firstChild, -1] |
| 749 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 701 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 9 [paras[1]
.firstChild, 0] |
| 750 " but got Text node "Qrstuvwx" | 702 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 10 [paras[1
].firstChild, 1] |
| 751 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 703 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 11 [paras[1
].firstChild, 2] |
| 752 " but got Text node "Qrstuvwx" | 704 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1
].firstChild, 8] |
| 753 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 705 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 13 [paras[1
].firstChild, 9] |
| 754 " but got Text node "Qrstuvwx" | |
| 755 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 756 " but got Text node "Qrstuvwx" | |
| 757 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 758 " but got Text node "Qrstuvwx" | |
| 759 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1
].firstChild, 10] | 706 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1
].firstChild, 10] |
| 760 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | 707 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1
].firstChild, 65535] |
| 761 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 708 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 762 " | 709 " |
| 763 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 710 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 764 " | 711 " |
| 765 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 712 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 766 " | 713 " |
| 767 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] | 714 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] |
| 768 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 715 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 769 " | 716 " |
| 770 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 717 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 771 " | 718 " |
| 772 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 719 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 773 " | 720 " |
| 774 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] | 721 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] |
| 775 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [documen
t.documentElement, -1] | 722 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [documen
t.documentElement, -1] |
| 776 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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> | 723 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 25 [documen
t.documentElement, 0] |
| 777 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 724 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 26 [documen
t.documentElement, 1] |
| 778 " | 725 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 27 [documen
t.documentElement, 2] |
| 779 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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> | |
| 780 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 781 " | |
| 782 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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> | |
| 783 <me... but got Text node "Qrstuvwx" | |
| 784 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [documen
t.documentElement, 7] | 726 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [documen
t.documentElement, 7] |
| 785 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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> | 727 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 29 [documen
t.head, 1] |
| 786 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 728 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 30 [documen
t.body, 3] |
| 787 " | |
| 788 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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̈ḧ | |
| 789 </p><p id... but got Text node "Qrstuvwx" | |
| 790 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 729 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 791 " | 730 " |
| 792 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 731 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 793 " | 732 " |
| 794 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ | 733 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ |
| 795 " | 734 " |
| 796 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 735 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 797 " | 736 " |
| 798 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 737 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 35 [paras[0
], 0] |
| 799 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 738 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 36 [paras[0
], 1] |
| 800 " | |
| 801 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 802 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 803 " | |
| 804 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 37 [paras[0
], 2] | 739 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 37 [paras[0
], 2] |
| 805 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 740 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 38 [paras[1
], 0] |
| 806 </p> but got Text node "Qrstuvwx" | 741 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 39 [paras[1
], 1] |
| 807 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 808 </p> but got Text node "Qrstuvwx" | |
| 809 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 40 [paras[1
], 2] | 742 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 40 [paras[1
], 2] |
| 810 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 743 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 811 " | 744 " |
| 812 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 745 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 813 " | 746 " |
| 814 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 747 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 43 [testDiv
, 0] |
| 815 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 748 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 44 [testDiv
, 3] |
| 816 " | |
| 817 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 818 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 819 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 45 [documen
t, -1] | 749 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 45 [documen
t, -1] |
| 820 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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̈ḧ | 750 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 46 [documen
t, 0] |
| 821 " | 751 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 47 [documen
t, 1] |
| 822 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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̈ḧ | 752 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 48 [documen
t, 2] |
| 823 " | |
| 824 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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" | |
| 825 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 49 [documen
t, 3] | 753 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 49 [documen
t, 3] |
| 826 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment
, -1] | 754 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment
, -1] |
| 827 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 755 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 51 [comment
, 0] |
| 828 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 756 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 52 [comment
, 4] |
| 829 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 53 [comment
, 96] | 757 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 53 [comment
, 96] |
| 830 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 758 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 831 " | 759 " |
| 832 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 760 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 833 " | 761 " |
| 834 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 762 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 835 " | 763 " |
| 836 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 764 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 837 " | 765 " |
| 838 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 766 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 " | 813 " |
| 886 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype
, 0] | 814 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype
, 0] |
| 887 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 815 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 888 selection.collapse(point[0], point[1]); | 816 selection.collapse(point[0], point[1]); |
| 889 }" 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 | 817 }" 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 |
| 890 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype
, 1] | 818 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype
, 1] |
| 891 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
Doctype, 0] | 819 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
Doctype, 0] |
| 892 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoct
ype, 0] | 820 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoct
ype, 0] |
| 893 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | 821 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0]
.firstChild, -1] |
| 894 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | 822 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0]
.firstChild, 0] |
| 895 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 823 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 2 [paras[0]
.firstChild, 1] |
| 896 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | 824 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0]
.firstChild, 2] |
| 897 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | 825 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0]
.firstChild, 8] |
| 898 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 826 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 5 [paras[0]
.firstChild, 9] |
| 899 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | 827 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0]
.firstChild, 10] |
| 900 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | 828 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] |
| 901 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | 829 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1]
.firstChild, -1] |
| 902 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 830 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 9 [paras[1]
.firstChild, 0] |
| 903 " but got Text node "Qrstuvwx" | 831 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 10 [paras[1
].firstChild, 1] |
| 904 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 832 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 11 [paras[1
].firstChild, 2] |
| 905 " but got Text node "Qrstuvwx" | 833 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1
].firstChild, 8] |
| 906 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 834 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 13 [paras[1
].firstChild, 9] |
| 907 " but got Text node "Qrstuvwx" | |
| 908 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 909 " but got Text node "Qrstuvwx" | |
| 910 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 911 " but got Text node "Qrstuvwx" | |
| 912 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1
].firstChild, 10] | 835 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1
].firstChild, 10] |
| 913 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | 836 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1
].firstChild, 65535] |
| 914 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 837 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 915 " | 838 " |
| 916 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 839 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 917 " | 840 " |
| 918 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 841 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 919 " | 842 " |
| 920 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] | 843 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] |
| 921 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 844 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 922 " | 845 " |
| 923 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 846 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 924 " | 847 " |
| 925 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 848 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 926 " | 849 " |
| 927 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] | 850 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] |
| 928 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [documen
t.documentElement, -1] | 851 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [documen
t.documentElement, -1] |
| 929 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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> | 852 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 25 [documen
t.documentElement, 0] |
| 930 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 853 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 26 [documen
t.documentElement, 1] |
| 931 " | 854 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 27 [documen
t.documentElement, 2] |
| 932 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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> | |
| 933 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 934 " | |
| 935 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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> | |
| 936 <me... but got Text node "Qrstuvwx" | |
| 937 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [documen
t.documentElement, 7] | 855 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [documen
t.documentElement, 7] |
| 938 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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> | 856 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 29 [documen
t.head, 1] |
| 939 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 857 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 30 [documen
t.body, 3] |
| 940 " | |
| 941 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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̈ḧ | |
| 942 </p><p id... but got Text node "Qrstuvwx" | |
| 943 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 858 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 944 " | 859 " |
| 945 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 860 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 946 " | 861 " |
| 947 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ | 862 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ |
| 948 " | 863 " |
| 949 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 864 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 950 " | 865 " |
| 951 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 866 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 35 [paras[0
], 0] |
| 952 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 867 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 36 [paras[0
], 1] |
| 953 " | |
| 954 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 955 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 956 " | |
| 957 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 37 [paras[0
], 2] | 868 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 37 [paras[0
], 2] |
| 958 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 869 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 38 [paras[1
], 0] |
| 959 </p> but got Text node "Qrstuvwx" | 870 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 39 [paras[1
], 1] |
| 960 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 961 </p> but got Text node "Qrstuvwx" | |
| 962 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 40 [paras[1
], 2] | 871 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 40 [paras[1
], 2] |
| 963 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 872 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 964 " | 873 " |
| 965 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 874 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 966 " | 875 " |
| 967 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 876 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 43 [testDiv
, 0] |
| 968 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 877 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 44 [testDiv
, 3] |
| 969 " | |
| 970 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 971 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 972 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 45 [documen
t, -1] | 878 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 45 [documen
t, -1] |
| 973 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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̈ḧ | 879 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 46 [documen
t, 0] |
| 974 " | 880 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 47 [documen
t, 1] |
| 975 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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̈ḧ | 881 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 48 [documen
t, 2] |
| 976 " | |
| 977 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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" | |
| 978 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 49 [documen
t, 3] | 882 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 49 [documen
t, 3] |
| 979 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment
, -1] | 883 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment
, -1] |
| 980 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 884 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 51 [comment
, 0] |
| 981 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 885 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 52 [comment
, 4] |
| 982 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 53 [comment
, 96] | 886 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 53 [comment
, 96] |
| 983 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 887 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 984 " | 888 " |
| 985 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 889 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 986 " | 890 " |
| 987 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 891 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 988 " | 892 " |
| 989 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 893 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 990 " | 894 " |
| 991 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 895 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 " | 942 " |
| 1039 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype
, 0] | 943 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype
, 0] |
| 1040 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 944 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1041 selection.collapse(point[0], point[1]); | 945 selection.collapse(point[0], point[1]); |
| 1042 }" 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 | 946 }" 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 |
| 1043 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype
, 1] | 947 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype
, 1] |
| 1044 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
Doctype, 0] | 948 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
Doctype, 0] |
| 1045 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoct
ype, 0] | 949 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoct
ype, 0] |
| 1046 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | 950 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0]
.firstChild, -1] |
| 1047 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | 951 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0]
.firstChild, 0] |
| 1048 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 952 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0]
.firstChild, 1] |
| 1049 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | 953 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0]
.firstChild, 2] |
| 1050 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | 954 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0]
.firstChild, 8] |
| 1051 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 955 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0]
.firstChild, 9] |
| 1052 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | 956 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0]
.firstChild, 10] |
| 1053 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | 957 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] |
| 1054 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | 958 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1]
.firstChild, -1] |
| 1055 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 959 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 9 [paras[1]
.firstChild, 0] |
| 1056 " but got Text node "Qrstuvwx" | 960 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 10 [paras[1
].firstChild, 1] |
| 1057 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 961 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 11 [paras[1
].firstChild, 2] |
| 1058 " but got Text node "Qrstuvwx" | 962 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1
].firstChild, 8] |
| 1059 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 963 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 13 [paras[1
].firstChild, 9] |
| 1060 " but got Text node "Qrstuvwx" | |
| 1061 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1062 " but got Text node "Qrstuvwx" | |
| 1063 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1064 " but got Text node "Qrstuvwx" | |
| 1065 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1
].firstChild, 10] | 964 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1
].firstChild, 10] |
| 1066 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | 965 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1
].firstChild, 65535] |
| 1067 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 966 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1068 " | 967 " |
| 1069 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 968 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1070 " | 969 " |
| 1071 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 970 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1072 " | 971 " |
| 1073 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] | 972 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] |
| 1074 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 973 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1075 " | 974 " |
| 1076 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 975 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1077 " | 976 " |
| 1078 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 977 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1079 " | 978 " |
| 1080 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] | 979 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] |
| 1081 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [documen
t.documentElement, -1] | 980 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [documen
t.documentElement, -1] |
| 1082 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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> | 981 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 25 [documen
t.documentElement, 0] |
| 1083 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 982 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 26 [documen
t.documentElement, 1] |
| 1084 " | 983 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 27 [documen
t.documentElement, 2] |
| 1085 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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> | |
| 1086 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1087 " | |
| 1088 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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> | |
| 1089 <me... but got Text node "Qrstuvwx" | |
| 1090 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [documen
t.documentElement, 7] | 984 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [documen
t.documentElement, 7] |
| 1091 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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> | 985 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 29 [documen
t.head, 1] |
| 1092 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 986 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 30 [documen
t.body, 3] |
| 1093 " | |
| 1094 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ | |
| 1095 </p><p id... but got Text node "Qrstuvwx" | |
| 1096 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 987 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1097 " | 988 " |
| 1098 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 989 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1099 " | 990 " |
| 1100 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ | 991 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈
ḧ |
| 1101 " | 992 " |
| 1102 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 993 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1103 " | 994 " |
| 1104 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 995 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 35 [paras[0
], 0] |
| 1105 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 996 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 36 [paras[0
], 1] |
| 1106 " | |
| 1107 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1108 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1109 " | |
| 1110 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 37 [paras[0
], 2] | 997 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 37 [paras[0
], 2] |
| 1111 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 998 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 38 [paras[1
], 0] |
| 1112 </p> but got Text node "Qrstuvwx" | 999 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 39 [paras[1
], 1] |
| 1113 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1114 </p> but got Text node "Qrstuvwx" | |
| 1115 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 40 [paras[1
], 2] | 1000 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 40 [paras[1
], 2] |
| 1116 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1001 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1117 " | 1002 " |
| 1118 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1003 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1119 " | 1004 " |
| 1120 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1005 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 43 [testDiv
, 0] |
| 1121 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1006 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 44 [testDiv
, 3] |
| 1122 " | |
| 1123 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1124 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1125 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 45 [documen
t, -1] | 1007 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 45 [documen
t, -1] |
| 1126 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ | 1008 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 46 [documen
t, 0] |
| 1127 " | 1009 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 47 [documen
t, 1] |
| 1128 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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̈ḧ | 1010 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 48 [documen
t, 2] |
| 1129 " | |
| 1130 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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" | |
| 1131 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 49 [documen
t, 3] | 1011 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 49 [documen
t, 3] |
| 1132 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment
, -1] | 1012 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment
, -1] |
| 1133 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1013 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 51 [comment
, 0] |
| 1134 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1014 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 52 [comment
, 4] |
| 1135 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 53 [comment
, 96] | 1015 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 53 [comment
, 96] |
| 1136 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1016 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1137 " | 1017 " |
| 1138 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1018 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1139 " | 1019 " |
| 1140 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1020 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1141 " | 1021 " |
| 1142 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1022 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 1143 " | 1023 " |
| 1144 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1024 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 " | 1071 " |
| 1192 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype
, 0] | 1072 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype
, 0] |
| 1193 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 1073 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1194 selection.collapse(point[0], point[1]); | 1074 selection.collapse(point[0], point[1]); |
| 1195 }" 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 | 1075 }" 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 |
| 1196 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype
, 1] | 1076 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype
, 1] |
| 1197 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
Doctype, 0] | 1077 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
Doctype, 0] |
| 1198 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoct
ype, 0] | 1078 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoct
ype, 0] |
| 1199 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | 1079 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0]
.firstChild, -1] |
| 1200 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | 1080 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0]
.firstChild, 0] |
| 1201 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 1081 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0]
.firstChild, 1] |
| 1202 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | 1082 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0]
.firstChild, 2] |
| 1203 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | 1083 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0]
.firstChild, 8] |
| 1204 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 1084 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0]
.firstChild, 9] |
| 1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | 1085 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0]
.firstChild, 10] |
| 1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | 1086 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] |
| 1207 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | 1087 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1]
.firstChild, -1] |
| 1208 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1]
.firstChild, 0] | 1088 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1]
.firstChild, 0] |
| 1209 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1089 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1
].firstChild, 1] |
| 1210 " but got Text node "Qrstuvwx" | 1090 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1
].firstChild, 2] |
| 1211 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1091 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1
].firstChild, 8] |
| 1212 " but got Text node "Qrstuvwx" | 1092 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1
].firstChild, 9] |
| 1213 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1214 " but got Text node "Qrstuvwx" | |
| 1215 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1216 " but got Text node "Qrstuvwx" | |
| 1217 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1
].firstChild, 10] | 1093 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1
].firstChild, 10] |
| 1218 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | 1094 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1
].firstChild, 65535] |
| 1219 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1095 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1220 " | 1096 " |
| 1221 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1097 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1222 " | 1098 " |
| 1223 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1099 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1224 " | 1100 " |
| 1225 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] | 1101 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] |
| 1226 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1102 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1227 " | 1103 " |
| 1228 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1104 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1229 " | 1105 " |
| 1230 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1106 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1231 " | 1107 " |
| 1232 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] | 1108 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] |
| 1233 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [documen
t.documentElement, -1] | 1109 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [documen
t.documentElement, -1] |
| 1234 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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> | 1110 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 25 [documen
t.documentElement, 0] |
| 1235 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1111 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 26 [documen
t.documentElement, 1] |
| 1236 " | 1112 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 27 [documen
t.documentElement, 2] |
| 1237 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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> | |
| 1238 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1239 " | |
| 1240 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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> | |
| 1241 <me... but got Text node "Qrstuvwx" | |
| 1242 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [documen
t.documentElement, 7] | 1113 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [documen
t.documentElement, 7] |
| 1243 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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> | 1114 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 29 [documen
t.head, 1] |
| 1244 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1115 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 30 [documen
t.body, 3] |
| 1245 " | |
| 1246 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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̈ḧ | |
| 1247 </p><p id... but got Text node "Qrstuvwx" | |
| 1248 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1116 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1249 " | 1117 " |
| 1250 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1118 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1251 " | 1119 " |
| 1252 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1120 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1253 " | 1121 " |
| 1254 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | 1122 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop |
| 1255 " | 1123 " |
| 1256 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1124 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0
], 0] |
| 1257 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1125 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0
], 1] |
| 1258 " | |
| 1259 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1260 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1261 " | |
| 1262 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0
], 2] | 1126 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0
], 2] |
| 1263 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 1127 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1
], 0] |
| 1264 </p> but got Text node "Qrstuvwx" | 1128 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1
], 1] |
| 1265 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1266 </p> but got Text node "Qrstuvwx" | |
| 1267 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1
], 2] | 1129 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1
], 2] |
| 1268 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1130 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1269 " | 1131 " |
| 1270 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1132 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1271 " | 1133 " |
| 1272 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1134 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv
, 0] |
| 1273 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1135 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv
, 3] |
| 1274 " | |
| 1275 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1276 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1277 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 45 [documen
t, -1] | 1136 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 45 [documen
t, -1] |
| 1278 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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̈ḧ | 1137 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 46 [documen
t, 0] |
| 1279 " | 1138 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 47 [documen
t, 1] |
| 1280 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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̈ḧ | 1139 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 48 [documen
t, 2] |
| 1281 " | |
| 1282 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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" | |
| 1283 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 49 [documen
t, 3] | 1140 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 49 [documen
t, 3] |
| 1284 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment
, -1] | 1141 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment
, -1] |
| 1285 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1142 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 51 [comment
, 0] |
| 1286 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1143 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 52 [comment
, 4] |
| 1287 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment
, 96] | 1144 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment
, 96] |
| 1288 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1145 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1289 " | 1146 " |
| 1290 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1147 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1291 " | 1148 " |
| 1292 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1149 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1293 " | 1150 " |
| 1294 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1151 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| 1295 " | 1152 " |
| 1296 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop | 1153 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 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 Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 " | 1200 " |
| 1344 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype
, 0] | 1201 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype
, 0] |
| 1345 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 1202 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1346 selection.collapse(point[0], point[1]); | 1203 selection.collapse(point[0], point[1]); |
| 1347 }" 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 | 1204 }" 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 |
| 1348 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype
, 1] | 1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype
, 1] |
| 1349 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
Doctype, 0] | 1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
Doctype, 0] |
| 1350 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct
ype, 0] | 1207 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct
ype, 0] |
| 1351 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | 1208 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0]
.firstChild, -1] |
| 1352 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | 1209 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0]
.firstChild, 0] |
| 1353 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 1210 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0]
.firstChild, 1] |
| 1354 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | 1211 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0]
.firstChild, 2] |
| 1355 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | 1212 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0]
.firstChild, 8] |
| 1356 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 1213 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0]
.firstChild, 9] |
| 1357 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | 1214 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0]
.firstChild, 10] |
| 1358 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | 1215 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] |
| 1359 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | 1216 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1]
.firstChild, -1] |
| 1360 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 1217 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1]
.firstChild, 0] |
| 1361 " but got Text node "Qrstuvwx" | 1218 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1
].firstChild, 1] |
| 1362 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1219 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1
].firstChild, 2] |
| 1363 " but got Text node "Qrstuvwx" | 1220 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1
].firstChild, 8] |
| 1364 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1221 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1
].firstChild, 9] |
| 1365 " but got Text node "Qrstuvwx" | |
| 1366 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1367 " but got Text node "Qrstuvwx" | |
| 1368 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1369 " but got Text node "Qrstuvwx" | |
| 1370 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1
].firstChild, 10] | 1222 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1
].firstChild, 10] |
| 1371 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | 1223 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1
].firstChild, 65535] |
| 1372 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1224 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1373 " | 1225 " |
| 1374 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1226 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1375 " | 1227 " |
| 1376 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1228 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1377 " | 1229 " |
| 1378 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] | 1230 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] |
| 1379 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1231 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1380 " | 1232 " |
| 1381 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1233 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1382 " | 1234 " |
| 1383 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1235 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1384 " | 1236 " |
| 1385 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] | 1237 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] |
| 1386 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [documen
t.documentElement, -1] | 1238 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [documen
t.documentElement, -1] |
| 1387 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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> | 1239 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 25 [documen
t.documentElement, 0] |
| 1388 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1240 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 26 [documen
t.documentElement, 1] |
| 1389 " | 1241 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 27 [documen
t.documentElement, 2] |
| 1390 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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> | |
| 1391 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1392 " | |
| 1393 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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> | |
| 1394 <me... but got Text node "Qrstuvwx" | |
| 1395 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [documen
t.documentElement, 7] | 1242 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [documen
t.documentElement, 7] |
| 1396 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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> | 1243 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 29 [documen
t.head, 1] |
| 1397 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1244 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 30 [documen
t.body, 3] |
| 1398 " | |
| 1399 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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̈ḧ | |
| 1400 </p><p id... but got Text node "Qrstuvwx" | |
| 1401 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1245 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| 1402 " | 1246 " |
| 1403 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1247 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| 1404 " | 1248 " |
| 1405 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1249 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| 1406 " | 1250 " |
| 1407 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | 1251 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop |
| 1408 " | 1252 " |
| 1409 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1253 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0
], 0] |
| 1410 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1254 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0
], 1] |
| 1411 " | |
| 1412 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1413 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1414 " | |
| 1415 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0
], 2] | 1255 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0
], 2] |
| 1416 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 1256 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1
], 0] |
| 1417 </p> but got Text node "Qrstuvwx" | 1257 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1
], 1] |
| 1418 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1419 </p> but got Text node "Qrstuvwx" | |
| 1420 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1
], 2] | 1258 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1
], 2] |
| 1421 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1259 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1422 " | 1260 " |
| 1423 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1261 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1424 " | 1262 " |
| 1425 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1263 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv
, 0] |
| 1426 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1264 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv
, 3] |
| 1427 " | |
| 1428 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1429 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1430 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 45 [documen
t, -1] | 1265 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 45 [documen
t, -1] |
| 1431 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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̈ḧ | 1266 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 46 [documen
t, 0] |
| 1432 " | 1267 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 47 [documen
t, 1] |
| 1433 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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̈ḧ | 1268 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 48 [documen
t, 2] |
| 1434 " | |
| 1435 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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" | |
| 1436 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 49 [documen
t, 3] | 1269 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 49 [documen
t, 3] |
| 1437 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment
, -1] | 1270 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment
, -1] |
| 1438 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1271 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 51 [comment
, 0] |
| 1439 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1272 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 52 [comment
, 4] |
| 1440 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment
, 96] | 1273 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment
, 96] |
| 1441 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1274 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1442 " | 1275 " |
| 1443 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1276 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1444 " | 1277 " |
| 1445 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1278 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| 1446 " | 1279 " |
| 1447 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1280 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| 1448 " | 1281 " |
| 1449 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop | 1282 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], 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 Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1496 " | 1329 " |
| 1497 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype
, 0] | 1330 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype
, 0] |
| 1498 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 1331 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1499 selection.collapse(point[0], point[1]); | 1332 selection.collapse(point[0], point[1]); |
| 1500 }" 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 | 1333 }" 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 |
| 1501 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype
, 1] | 1334 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype
, 1] |
| 1502 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
Doctype, 0] | 1335 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
Doctype, 0] |
| 1503 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct
ype, 0] | 1336 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct
ype, 0] |
| 1504 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | 1337 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0]
.firstChild, -1] |
| 1505 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | 1338 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0]
.firstChild, 0] |
| 1506 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 1339 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0]
.firstChild, 1] |
| 1507 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | 1340 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0]
.firstChild, 2] |
| 1508 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | 1341 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0]
.firstChild, 8] |
| 1509 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 1342 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0]
.firstChild, 9] |
| 1510 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | 1343 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0]
.firstChild, 10] |
| 1511 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | 1344 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] |
| 1512 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | 1345 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1]
.firstChild, -1] |
| 1513 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 1346 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1]
.firstChild, 0] |
| 1514 " but got Text node "Qrstuvwx" | 1347 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1
].firstChild, 1] |
| 1515 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1348 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1
].firstChild, 2] |
| 1516 " but got Text node "Qrstuvwx" | 1349 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1
].firstChild, 8] |
| 1517 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1350 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1
].firstChild, 9] |
| 1518 " but got Text node "Qrstuvwx" | |
| 1519 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1520 " but got Text node "Qrstuvwx" | |
| 1521 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1522 " but got Text node "Qrstuvwx" | |
| 1523 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1
].firstChild, 10] | 1351 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1
].firstChild, 10] |
| 1524 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | 1352 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1
].firstChild, 65535] |
| 1525 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1353 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1526 " | 1354 " |
| 1527 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1355 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1528 " | 1356 " |
| 1529 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1357 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1530 " | 1358 " |
| 1531 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] | 1359 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] |
| 1532 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1360 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1533 " | 1361 " |
| 1534 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1362 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1535 " | 1363 " |
| 1536 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1364 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1537 " | 1365 " |
| 1538 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] | 1366 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] |
| 1539 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [documen
t.documentElement, -1] | 1367 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [documen
t.documentElement, -1] |
| 1540 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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> | 1368 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 25 [documen
t.documentElement, 0] |
| 1541 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1369 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 26 [documen
t.documentElement, 1] |
| 1542 " | 1370 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 27 [documen
t.documentElement, 2] |
| 1543 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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> | |
| 1544 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1545 " | |
| 1546 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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> | |
| 1547 <me... but got Text node "Qrstuvwx" | |
| 1548 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [documen
t.documentElement, 7] | 1371 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [documen
t.documentElement, 7] |
| 1549 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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> | 1372 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 29 [documen
t.head, 1] |
| 1550 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1373 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 30 [documen
t.body, 3] |
| 1551 " | |
| 1552 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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̈ḧ | |
| 1553 </p><p id... but got Text node "Qrstuvwx" | |
| 1554 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1374 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| 1555 " | 1375 " |
| 1556 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1376 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| 1557 " | 1377 " |
| 1558 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1378 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| 1559 " | 1379 " |
| 1560 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | 1380 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop |
| 1561 " | 1381 " |
| 1562 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1382 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0
], 0] |
| 1563 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1383 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0
], 1] |
| 1564 " | |
| 1565 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1566 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1567 " | |
| 1568 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0
], 2] | 1384 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0
], 2] |
| 1569 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 1385 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1
], 0] |
| 1570 </p> but got Text node "Qrstuvwx" | 1386 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1
], 1] |
| 1571 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1572 </p> but got Text node "Qrstuvwx" | |
| 1573 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1
], 2] | 1387 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1
], 2] |
| 1574 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1388 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1575 " | 1389 " |
| 1576 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1390 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1577 " | 1391 " |
| 1578 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1392 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv
, 0] |
| 1579 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1393 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv
, 3] |
| 1580 " | |
| 1581 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1582 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1583 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 45 [documen
t, -1] | 1394 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 45 [documen
t, -1] |
| 1584 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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̈ḧ | 1395 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 46 [documen
t, 0] |
| 1585 " | 1396 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 47 [documen
t, 1] |
| 1586 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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̈ḧ | 1397 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 48 [documen
t, 2] |
| 1587 " | |
| 1588 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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" | |
| 1589 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 49 [documen
t, 3] | 1398 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 49 [documen
t, 3] |
| 1590 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment
, -1] | 1399 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment
, -1] |
| 1591 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1400 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 51 [comment
, 0] |
| 1592 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1401 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 52 [comment
, 4] |
| 1593 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment
, 96] | 1402 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment
, 96] |
| 1594 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1403 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1595 " | 1404 " |
| 1596 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1405 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1597 " | 1406 " |
| 1598 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1407 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| 1599 " | 1408 " |
| 1600 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1409 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| 1601 " | 1410 " |
| 1602 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop | 1411 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], 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 Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1649 " | 1458 " |
| 1650 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype
, 0] | 1459 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype
, 0] |
| 1651 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 1460 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1652 selection.collapse(point[0], point[1]); | 1461 selection.collapse(point[0], point[1]); |
| 1653 }" 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 | 1462 }" 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 |
| 1654 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype
, 1] | 1463 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype
, 1] |
| 1655 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
Doctype, 0] | 1464 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
Doctype, 0] |
| 1656 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct
ype, 0] | 1465 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct
ype, 0] |
| 1657 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | 1466 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0]
.firstChild, -1] |
| 1658 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | 1467 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0]
.firstChild, 0] |
| 1659 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 1468 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0]
.firstChild, 1] |
| 1660 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | 1469 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0]
.firstChild, 2] |
| 1661 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | 1470 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0]
.firstChild, 8] |
| 1662 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 1471 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0]
.firstChild, 9] |
| 1663 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | 1472 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0]
.firstChild, 10] |
| 1664 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | 1473 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] |
| 1665 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | 1474 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1]
.firstChild, -1] |
| 1666 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 1475 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1]
.firstChild, 0] |
| 1667 " but got Text node "Qrstuvwx" | 1476 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1
].firstChild, 1] |
| 1668 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1477 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1
].firstChild, 2] |
| 1669 " but got Text node "Qrstuvwx" | 1478 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1
].firstChild, 8] |
| 1670 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1479 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1
].firstChild, 9] |
| 1671 " but got Text node "Qrstuvwx" | |
| 1672 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1673 " but got Text node "Qrstuvwx" | |
| 1674 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1675 " but got Text node "Qrstuvwx" | |
| 1676 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1
].firstChild, 10] | 1480 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1
].firstChild, 10] |
| 1677 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | 1481 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1
].firstChild, 65535] |
| 1678 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1482 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1679 " | 1483 " |
| 1680 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1484 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1681 " | 1485 " |
| 1682 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 1486 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 1683 " | 1487 " |
| 1684 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] | 1488 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] |
| 1685 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1489 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1686 " | 1490 " |
| 1687 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1491 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1688 " | 1492 " |
| 1689 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | 1493 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 1690 " | 1494 " |
| 1691 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] | 1495 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] |
| 1692 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [documen
t.documentElement, -1] | 1496 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [documen
t.documentElement, -1] |
| 1693 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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> | 1497 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 25 [documen
t.documentElement, 0] |
| 1694 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1498 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 26 [documen
t.documentElement, 1] |
| 1695 " | 1499 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 27 [documen
t.documentElement, 2] |
| 1696 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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> | |
| 1697 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1698 " | |
| 1699 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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> | |
| 1700 <me... but got Text node "Qrstuvwx" | |
| 1701 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [documen
t.documentElement, 7] | 1500 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [documen
t.documentElement, 7] |
| 1702 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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> | 1501 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 29 [documen
t.head, 1] |
| 1703 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1502 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 30 [documen
t.body, 3] |
| 1704 " | |
| 1705 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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̈ḧ | |
| 1706 </p><p id... but got Text node "Qrstuvwx" | |
| 1707 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1503 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| 1708 " | 1504 " |
| 1709 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1505 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| 1710 " | 1506 " |
| 1711 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1507 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| 1712 " | 1508 " |
| 1713 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | 1509 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop |
| 1714 " | 1510 " |
| 1715 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1511 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0
], 0] |
| 1716 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1512 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0
], 1] |
| 1717 " | |
| 1718 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1719 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1720 " | |
| 1721 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0
], 2] | 1513 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0
], 2] |
| 1722 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | 1514 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1
], 0] |
| 1723 </p> but got Text node "Qrstuvwx" | 1515 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1
], 1] |
| 1724 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1725 </p> but got Text node "Qrstuvwx" | |
| 1726 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1
], 2] | 1516 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1
], 2] |
| 1727 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1517 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1728 " | 1518 " |
| 1729 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 1519 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 1730 " | 1520 " |
| 1731 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1521 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv
, 0] |
| 1732 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1522 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv
, 3] |
| 1733 " | |
| 1734 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1735 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1736 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 45 [documen
t, -1] | 1523 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 45 [documen
t, -1] |
| 1737 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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̈ḧ | 1524 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 46 [documen
t, 0] |
| 1738 " | 1525 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 47 [documen
t, 1] |
| 1739 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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̈ḧ | 1526 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 48 [documen
t, 2] |
| 1740 " | |
| 1741 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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" | |
| 1742 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 49 [documen
t, 3] | 1527 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 49 [documen
t, 3] |
| 1743 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment
, -1] | 1528 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment
, -1] |
| 1744 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1529 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 51 [comment
, 0] |
| 1745 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1530 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 52 [comment
, 4] |
| 1746 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment
, 96] | 1531 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment
, 96] |
| 1747 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1532 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1748 " | 1533 " |
| 1749 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 1534 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 1750 " | 1535 " |
| 1751 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1536 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| 1752 " | 1537 " |
| 1753 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1538 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| 1754 " | 1539 " |
| 1755 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop | 1540 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], 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 Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1802 " | 1587 " |
| 1803 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype
, 0] | 1588 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype
, 0] |
| 1804 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | 1589 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { |
| 1805 selection.collapse(point[0], point[1]); | 1590 selection.collapse(point[0], point[1]); |
| 1806 }" 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 | 1591 }" 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 |
| 1807 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype
, 1] | 1592 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype
, 1] |
| 1808 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
Doctype, 0] | 1593 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
Doctype, 0] |
| 1809 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoct
ype, 0] | 1594 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoct
ype, 0] |
| 1810 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | 1595 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] |
| 1811 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | 1596 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] |
| 1812 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we co
llapse()d to expected 1 but got 2 | 1597 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] |
| 1813 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | 1598 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] |
| 1814 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | 1599 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] |
| 1815 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we co
llapse()d to expected 9 but got 10 | 1600 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] |
| 1816 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | 1601 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] |
| 1817 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | 1602 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] |
| 1818 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | 1603 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] |
| 1819 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 1604 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] |
| 1820 " but got Text node "Qrstuvwx" | 1605 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
0 [paras[1].firstChild, 1] |
| 1821 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
0 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 1606 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
1 [paras[1].firstChild, 2] |
| 1822 " but got Text node "Qrstuvwx" | 1607 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
2 [paras[1].firstChild, 8] |
| 1823 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
1 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 1608 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
3 [paras[1].firstChild, 9] |
| 1824 " but got Text node "Qrstuvwx" | |
| 1825 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
2 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1826 " but got Text node "Qrstuvwx" | |
| 1827 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
3 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1828 " but got Text node "Qrstuvwx" | |
| 1829 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
4 [paras[1].firstChild, 10] | 1609 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
4 [paras[1].firstChild, 10] |
| 1830 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
5 [paras[1].firstChild, 65535] | 1610 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
5 [paras[1].firstChild, 65535] |
| 1831 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
6 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1611 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
6 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1832 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
7 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1612 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
7 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1833 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
8 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1613 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
8 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1834 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
9 [detachedPara1.firstChild, 9] | 1614 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
9 [detachedPara1.firstChild, 9] |
| 1835 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
0 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1615 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
0 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1836 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
1 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1616 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
1 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1837 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
2 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1617 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
2 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1838 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
3 [foreignPara1.firstChild, 9] | 1618 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
3 [foreignPara1.firstChild, 9] |
| 1839 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
4 [document.documentElement, -1] | 1619 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
4 [document.documentElement, -1] |
| 1840 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
5 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | 1620 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
5 [document.documentElement, 0] |
| 1841 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1621 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
6 [document.documentElement, 1] |
| 1842 " | 1622 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
7 [document.documentElement, 2] |
| 1843 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
6 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 1844 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1845 " | |
| 1846 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
7 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 1847 <me... but got Text node "Qrstuvwx" | |
| 1848 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
8 [document.documentElement, 7] | 1623 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
8 [document.documentElement, 7] |
| 1849 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
9 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 1624 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
9 [document.head, 1] |
| 1850 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1625 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
0 [document.body, 3] |
| 1851 " | |
| 1852 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
0 [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̈ḧ | |
| 1853 </p><p id... but got Text node "Qrstuvwx" | |
| 1854 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
1 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1626 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
1 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 1855 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
2 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1627 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
2 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 1856 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
3 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1628 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
3 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 1857 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
4 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1629 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
4 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 1858 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
5 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1630 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
5 [paras[0], 0] |
| 1859 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1631 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
6 [paras[0], 1] |
| 1860 " | |
| 1861 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
6 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1862 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1863 " | |
| 1864 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
7 [paras[0], 2] | 1632 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
7 [paras[0], 2] |
| 1865 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
8 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="b" style="display:none">Ijklmnop | 1633 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
8 [paras[1], 0] |
| 1866 </p> but got Text node "Qrstuvwx" | 1634 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
9 [paras[1], 1] |
| 1867 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
9 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="b" style="display:none">Ijklmnop | |
| 1868 </p> but got Text node "Qrstuvwx" | |
| 1869 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
0 [paras[1], 2] | 1635 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
0 [paras[1], 2] |
| 1870 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
1 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 1636 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
1 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 1871 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
2 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 1637 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
2 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 1872 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
3 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1638 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
3 [testDiv, 0] |
| 1873 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1639 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
4 [testDiv, 3] |
| 1874 " | |
| 1875 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
4 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1876 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1877 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
5 [document, -1] | 1640 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
5 [document, -1] |
| 1878 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
6 [document, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1641 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
6 [document, 0] |
| 1879 " | 1642 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
7 [document, 1] |
| 1880 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
7 [document, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1643 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
8 [document, 2] |
| 1881 " | |
| 1882 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
8 [document, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Qrstuvwx" | |
| 1883 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
9 [document, 3] | 1644 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
9 [document, 3] |
| 1884 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
0 [comment, -1] | 1645 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
0 [comment, -1] |
| 1885 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
1 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1646 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
1 [comment, 0] |
| 1886 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
2 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to ex
pected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1647 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
2 [comment, 4] |
| 1887 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
3 [comment, 96] | 1648 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
3 [comment, 96] |
| 1888 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
4 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1649 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
4 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1889 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
5 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1650 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
5 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1890 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
6 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1651 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
6 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 1891 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
7 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1652 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
7 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 1892 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
8 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1653 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
8 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 1893 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
9 [xmlDoc, -1] | 1654 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
9 [xmlDoc, -1] |
| 1894 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
0 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1655 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
0 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 1895 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
1 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1656 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
1 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 1896 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
2 [xmlDoc, 5] | 1657 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
2 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1916 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
2 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1677 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
2 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
| 1917 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
3 [doctype, 0] | 1678 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
3 [doctype, 0] |
| 1918 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
4 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | 1679 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
4 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { |
| 1919 selection.collapse(point[0], point[1]); | 1680 selection.collapse(point[0], point[1]); |
| 1920 }" 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 | 1681 }" 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 |
| 1921 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
5 [doctype, 1] | 1682 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
5 [doctype, 1] |
| 1922 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
6 [foreignDoctype, 0] | 1683 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
6 [foreignDoctype, 0] |
| 1923 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
7 [xmlDoctype, 0] | 1684 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
7 [xmlDoctype, 0] |
| 1924 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
0 [paras[0].firstChild, -1] | 1685 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
0 [paras[0].firstChild, -1] |
| 1925 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
1 [paras[0].firstChild, 0] | 1686 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
1 [paras[0].firstChild, 0] |
| 1926 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | 1687 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
2 [paras[0].firstChild, 1] |
| 1927 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
3 [paras[0].firstChild, 2] | 1688 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
3 [paras[0].firstChild, 2] |
| 1928 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
4 [paras[0].firstChild, 8] | 1689 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
4 [paras[0].firstChild, 8] |
| 1929 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | 1690 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
5 [paras[0].firstChild, 9] |
| 1930 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
6 [paras[0].firstChild, 10] | 1691 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
6 [paras[0].firstChild, 10] |
| 1931 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
7 [paras[0].firstChild, 65535] | 1692 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
7 [paras[0].firstChild, 65535] |
| 1932 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
8 [paras[1].firstChild, -1] | 1693 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
8 [paras[1].firstChild, -1] |
| 1933 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 1694 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
9 [paras[1].firstChild, 0] |
| 1934 " but got Text node "Qrstuvwx" | 1695 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
10 [paras[1].firstChild, 1] |
| 1935 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 1696 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
11 [paras[1].firstChild, 2] |
| 1936 " but got Text node "Qrstuvwx" | 1697 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
12 [paras[1].firstChild, 8] |
| 1937 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 1698 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
13 [paras[1].firstChild, 9] |
| 1938 " but got Text node "Qrstuvwx" | |
| 1939 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1940 " but got Text node "Qrstuvwx" | |
| 1941 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1942 " but got Text node "Qrstuvwx" | |
| 1943 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
14 [paras[1].firstChild, 10] | 1699 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
14 [paras[1].firstChild, 10] |
| 1944 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
15 [paras[1].firstChild, 65535] | 1700 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
15 [paras[1].firstChild, 65535] |
| 1945 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1701 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 1946 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1702 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 1947 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1703 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 1948 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
19 [detachedPara1.firstChild, 9] | 1704 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
19 [detachedPara1.firstChild, 9] |
| 1949 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1705 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1950 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1706 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1951 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1707 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 1952 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
23 [foreignPara1.firstChild, 9] | 1708 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
23 [foreignPara1.firstChild, 9] |
| 1953 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
24 [document.documentElement, -1] | 1709 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
24 [document.documentElement, -1] |
| 1954 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | 1710 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
25 [document.documentElement, 0] |
| 1955 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1711 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
26 [document.documentElement, 1] |
| 1956 " | 1712 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
27 [document.documentElement, 2] |
| 1957 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 1958 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1959 " | |
| 1960 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 1961 <me... but got Text node "Qrstuvwx" | |
| 1962 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
28 [document.documentElement, 7] | 1713 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
28 [document.documentElement, 7] |
| 1963 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | 1714 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
29 [document.head, 1] |
| 1964 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1715 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
30 [document.body, 3] |
| 1965 " | |
| 1966 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1967 </p><p id... but got Text node "Qrstuvwx" | |
| 1968 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 1716 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
| 1969 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 1717 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
| 1970 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1718 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 1971 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1719 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 1972 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1720 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
35 [paras[0], 0] |
| 1973 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1721 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
36 [paras[0], 1] |
| 1974 " | |
| 1975 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1976 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1977 " | |
| 1978 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
37 [paras[0], 2] | 1722 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
37 [paras[0], 2] |
| 1979 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | 1723 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
38 [paras[1], 0] |
| 1980 </p> but got Text node "Qrstuvwx" | 1724 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
39 [paras[1], 1] |
| 1981 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 1982 </p> but got Text node "Qrstuvwx" | |
| 1983 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
40 [paras[1], 2] | 1725 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
40 [paras[1], 2] |
| 1984 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1726 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 1985 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1727 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 1986 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1728 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
43 [testDiv, 0] |
| 1987 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1729 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
44 [testDiv, 3] |
| 1988 " | |
| 1989 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1990 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1991 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
45 [document, -1] | 1730 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
45 [document, -1] |
| 1992 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1731 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
46 [document, 0] |
| 1993 " | 1732 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
47 [document, 1] |
| 1994 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1733 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
48 [document, 2] |
| 1995 " | |
| 1996 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 1997 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
49 [document, 3] | 1734 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
49 [document, 3] |
| 1998 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
50 [comment, -1] | 1735 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
50 [comment, -1] |
| 1999 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1736 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
51 [comment, 0] |
| 2000 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1737 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
52 [comment, 4] |
| 2001 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
53 [comment, 96] | 1738 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
53 [comment, 96] |
| 2002 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1739 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2003 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1740 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2004 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1741 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2005 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1742 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 2006 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1743 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2007 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
59 [xmlDoc, -1] | 1744 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
59 [xmlDoc, -1] |
| 2008 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1745 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2009 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1746 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2010 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
62 [xmlDoc, 5] | 1747 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2030 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1767 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2031 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
83 [doctype, 0] | 1768 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
83 [doctype, 0] |
| 2032 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | 1769 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { |
| 2033 selection.collapse(point[0], point[1]); | 1770 selection.collapse(point[0], point[1]); |
| 2034 }" 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 | 1771 }" 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 |
| 2035 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
85 [doctype, 1] | 1772 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
85 [doctype, 1] |
| 2036 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
86 [foreignDoctype, 0] | 1773 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
86 [foreignDoctype, 0] |
| 2037 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
87 [xmlDoctype, 0] | 1774 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
87 [xmlDoctype, 0] |
| 2038 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
0 [paras[0].firstChild, -1] | 1775 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
0 [paras[0].firstChild, -1] |
| 2039 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
1 [paras[0].firstChild, 0] | 1776 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
1 [paras[0].firstChild, 0] |
| 2040 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | 1777 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
2 [paras[0].firstChild, 1] |
| 2041 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
3 [paras[0].firstChild, 2] | 1778 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
3 [paras[0].firstChild, 2] |
| 2042 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
4 [paras[0].firstChild, 8] | 1779 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
4 [paras[0].firstChild, 8] |
| 2043 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | 1780 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
5 [paras[0].firstChild, 9] |
| 2044 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
6 [paras[0].firstChild, 10] | 1781 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
6 [paras[0].firstChild, 10] |
| 2045 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
7 [paras[0].firstChild, 65535] | 1782 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
7 [paras[0].firstChild, 65535] |
| 2046 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
8 [paras[1].firstChild, -1] | 1783 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
8 [paras[1].firstChild, -1] |
| 2047 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 1784 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
9 [paras[1].firstChild, 0] |
| 2048 " but got Text node "Qrstuvwx" | 1785 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
10 [paras[1].firstChild, 1] |
| 2049 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 1786 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
11 [paras[1].firstChild, 2] |
| 2050 " but got Text node "Qrstuvwx" | 1787 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
12 [paras[1].firstChild, 8] |
| 2051 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 1788 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
13 [paras[1].firstChild, 9] |
| 2052 " but got Text node "Qrstuvwx" | |
| 2053 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2054 " but got Text node "Qrstuvwx" | |
| 2055 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2056 " but got Text node "Qrstuvwx" | |
| 2057 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
14 [paras[1].firstChild, 10] | 1789 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
14 [paras[1].firstChild, 10] |
| 2058 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
15 [paras[1].firstChild, 65535] | 1790 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
15 [paras[1].firstChild, 65535] |
| 2059 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1791 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2060 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1792 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2061 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1793 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2062 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
19 [detachedPara1.firstChild, 9] | 1794 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
19 [detachedPara1.firstChild, 9] |
| 2063 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1795 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2064 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1796 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2065 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1797 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2066 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
23 [foreignPara1.firstChild, 9] | 1798 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
23 [foreignPara1.firstChild, 9] |
| 2067 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
24 [document.documentElement, -1] | 1799 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
24 [document.documentElement, -1] |
| 2068 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | 1800 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
25 [document.documentElement, 0] |
| 2069 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1801 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
26 [document.documentElement, 1] |
| 2070 " | 1802 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
27 [document.documentElement, 2] |
| 2071 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2072 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2073 " | |
| 2074 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2075 <me... but got Text node "Qrstuvwx" | |
| 2076 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
28 [document.documentElement, 7] | 1803 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
28 [document.documentElement, 7] |
| 2077 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | 1804 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
29 [document.head, 1] |
| 2078 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1805 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
30 [document.body, 3] |
| 2079 " | |
| 2080 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2081 </p><p id... but got Text node "Qrstuvwx" | |
| 2082 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 1806 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
| 2083 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 1807 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
| 2084 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1808 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 2085 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1809 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 2086 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1810 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
35 [paras[0], 0] |
| 2087 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1811 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
36 [paras[0], 1] |
| 2088 " | |
| 2089 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2090 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2091 " | |
| 2092 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
37 [paras[0], 2] | 1812 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
37 [paras[0], 2] |
| 2093 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | 1813 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
38 [paras[1], 0] |
| 2094 </p> but got Text node "Qrstuvwx" | 1814 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
39 [paras[1], 1] |
| 2095 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2096 </p> but got Text node "Qrstuvwx" | |
| 2097 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
40 [paras[1], 2] | 1815 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
40 [paras[1], 2] |
| 2098 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1816 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2099 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1817 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2100 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1818 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
43 [testDiv, 0] |
| 2101 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1819 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
44 [testDiv, 3] |
| 2102 " | |
| 2103 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2104 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2105 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
45 [document, -1] | 1820 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
45 [document, -1] |
| 2106 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1821 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
46 [document, 0] |
| 2107 " | 1822 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
47 [document, 1] |
| 2108 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1823 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
48 [document, 2] |
| 2109 " | |
| 2110 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2111 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
49 [document, 3] | 1824 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
49 [document, 3] |
| 2112 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
50 [comment, -1] | 1825 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
50 [comment, -1] |
| 2113 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1826 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
51 [comment, 0] |
| 2114 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 1827 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
52 [comment, 4] |
| 2115 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
53 [comment, 96] | 1828 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
53 [comment, 96] |
| 2116 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1829 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2117 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1830 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2118 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1831 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2119 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1832 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
| 2120 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1833 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 2121 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
59 [xmlDoc, -1] | 1834 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
59 [xmlDoc, -1] |
| 2122 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1835 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2123 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1836 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 2124 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
62 [xmlDoc, 5] | 1837 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2144 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1857 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 2145 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
83 [doctype, 0] | 1858 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
83 [doctype, 0] |
| 2146 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | 1859 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { |
| 2147 selection.collapse(point[0], point[1]); | 1860 selection.collapse(point[0], point[1]); |
| 2148 }" 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 | 1861 }" 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 |
| 2149 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
85 [doctype, 1] | 1862 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
85 [doctype, 1] |
| 2150 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
86 [foreignDoctype, 0] | 1863 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
86 [foreignDoctype, 0] |
| 2151 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
87 [xmlDoctype, 0] | 1864 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
87 [xmlDoctype, 0] |
| 2152 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | 1865 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] |
| 2153 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | 1866 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] |
| 2154 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 1867 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] |
| 2155 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | 1868 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] |
| 2156 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | 1869 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] |
| 2157 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 1870 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] |
| 2158 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | 1871 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] |
| 2159 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | 1872 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] |
| 2160 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | 1873 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] |
| 2161 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 1874 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] |
| 2162 " but got Text node "Qrstuvwx" | 1875 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 10
[paras[1].firstChild, 1] |
| 2163 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 1876 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 11
[paras[1].firstChild, 2] |
| 2164 " but got Text node "Qrstuvwx" | 1877 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12
[paras[1].firstChild, 8] |
| 2165 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 1878 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 13
[paras[1].firstChild, 9] |
| 2166 " but got Text node "Qrstuvwx" | |
| 2167 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2168 " but got Text node "Qrstuvwx" | |
| 2169 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2170 " but got Text node "Qrstuvwx" | |
| 2171 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14
[paras[1].firstChild, 10] | 1879 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14
[paras[1].firstChild, 10] |
| 2172 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15
[paras[1].firstChild, 65535] | 1880 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15
[paras[1].firstChild, 65535] |
| 2173 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1881 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2174 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1882 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2175 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1883 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2176 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19
[detachedPara1.firstChild, 9] | 1884 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19
[detachedPara1.firstChild, 9] |
| 2177 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1885 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2178 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1886 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2179 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1887 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2180 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23
[foreignPara1.firstChild, 9] | 1888 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23
[foreignPara1.firstChild, 9] |
| 2181 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24
[document.documentElement, -1] | 1889 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24
[document.documentElement, -1] |
| 2182 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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> | 1890 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 25
[document.documentElement, 0] |
| 2183 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1891 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 26
[document.documentElement, 1] |
| 2184 " | 1892 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 27
[document.documentElement, 2] |
| 2185 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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> | |
| 2186 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2187 " | |
| 2188 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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> | |
| 2189 <me... but got Text node "Qrstuvwx" | |
| 2190 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28
[document.documentElement, 7] | 1893 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28
[document.documentElement, 7] |
| 2191 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 1894 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 29
[document.head, 1] |
| 2192 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1895 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 30
[document.body, 3] |
| 2193 " | |
| 2194 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2195 </p><p id... but got Text node "Qrstuvwx" | |
| 2196 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1896 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2197 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1897 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2198 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1898 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2199 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1899 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2200 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1900 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 35
[paras[0], 0] |
| 2201 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1901 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 36
[paras[0], 1] |
| 2202 " | |
| 2203 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2204 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2205 " | |
| 2206 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 37
[paras[0], 2] | 1902 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 37
[paras[0], 2] |
| 2207 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | 1903 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 38
[paras[1], 0] |
| 2208 </p> but got Text node "Qrstuvwx" | 1904 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 39
[paras[1], 1] |
| 2209 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2210 </p> but got Text node "Qrstuvwx" | |
| 2211 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 40
[paras[1], 2] | 1905 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 40
[paras[1], 2] |
| 2212 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 1906 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2213 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 1907 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2214 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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̈ḧ | 1908 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 43
[testDiv, 0] |
| 2215 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1909 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 44
[testDiv, 3] |
| 2216 " | |
| 2217 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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̈ḧ | |
| 2218 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2219 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 45
[document, -1] | 1910 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 45
[document, -1] |
| 2220 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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̈ḧ | 1911 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 46
[document, 0] |
| 2221 " | 1912 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 47
[document, 1] |
| 2222 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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̈ḧ | 1913 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 48
[document, 2] |
| 2223 " | |
| 2224 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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" | |
| 2225 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 49
[document, 3] | 1914 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 49
[document, 3] |
| 2226 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50
[comment, -1] | 1915 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50
[comment, -1] |
| 2227 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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" | 1916 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 51
[comment, 0] |
| 2228 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], 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" | 1917 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 52
[comment, 4] |
| 2229 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53
[comment, 96] | 1918 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53
[comment, 96] |
| 2230 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1919 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2231 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1920 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2232 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 1921 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 2233 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1922 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2234 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1923 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2235 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59
[xmlDoc, -1] | 1924 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59
[xmlDoc, -1] |
| 2236 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 1925 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2237 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 1926 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2238 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62
[xmlDoc, 5] | 1927 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62
[xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2258 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 1947 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2259 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83
[doctype, 0] | 1948 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83
[doctype, 0] |
| 2260 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 1949 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
| 2261 selection.collapse(point[0], point[1]); | 1950 selection.collapse(point[0], point[1]); |
| 2262 }" 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 | 1951 }" 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 |
| 2263 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85
[doctype, 1] | 1952 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85
[doctype, 1] |
| 2264 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
[foreignDoctype, 0] | 1953 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
[foreignDoctype, 0] |
| 2265 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87
[xmlDoctype, 0] | 1954 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87
[xmlDoctype, 0] |
| 2266 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0
[paras[0].firstChild, -1] | 1955 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0
[paras[0].firstChild, -1] |
| 2267 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1
[paras[0].firstChild, 0] | 1956 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1
[paras[0].firstChild, 0] |
| 2268 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 1957 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 2
[paras[0].firstChild, 1] |
| 2269 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3
[paras[0].firstChild, 2] | 1958 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3
[paras[0].firstChild, 2] |
| 2270 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4
[paras[0].firstChild, 8] | 1959 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4
[paras[0].firstChild, 8] |
| 2271 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 1960 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 5
[paras[0].firstChild, 9] |
| 2272 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6
[paras[0].firstChild, 10] | 1961 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6
[paras[0].firstChild, 10] |
| 2273 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7
[paras[0].firstChild, 65535] | 1962 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7
[paras[0].firstChild, 65535] |
| 2274 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8
[paras[1].firstChild, -1] | 1963 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8
[paras[1].firstChild, -1] |
| 2275 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 1964 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 9
[paras[1].firstChild, 0] |
| 2276 " but got Text node "Qrstuvwx" | 1965 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 10
[paras[1].firstChild, 1] |
| 2277 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 1966 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 11
[paras[1].firstChild, 2] |
| 2278 " but got Text node "Qrstuvwx" | 1967 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12
[paras[1].firstChild, 8] |
| 2279 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 1968 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 13
[paras[1].firstChild, 9] |
| 2280 " but got Text node "Qrstuvwx" | |
| 2281 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2282 " but got Text node "Qrstuvwx" | |
| 2283 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2284 " but got Text node "Qrstuvwx" | |
| 2285 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14
[paras[1].firstChild, 10] | 1969 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14
[paras[1].firstChild, 10] |
| 2286 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15
[paras[1].firstChild, 65535] | 1970 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15
[paras[1].firstChild, 65535] |
| 2287 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1971 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2288 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1972 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2289 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1973 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2290 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19
[detachedPara1.firstChild, 9] | 1974 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19
[detachedPara1.firstChild, 9] |
| 2291 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1975 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2292 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1976 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2293 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1977 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2294 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23
[foreignPara1.firstChild, 9] | 1978 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23
[foreignPara1.firstChild, 9] |
| 2295 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24
[document.documentElement, -1] | 1979 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24
[document.documentElement, -1] |
| 2296 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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> | 1980 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 25
[document.documentElement, 0] |
| 2297 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1981 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 26
[document.documentElement, 1] |
| 2298 " | 1982 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 27
[document.documentElement, 2] |
| 2299 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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> | |
| 2300 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2301 " | |
| 2302 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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> | |
| 2303 <me... but got Text node "Qrstuvwx" | |
| 2304 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28
[document.documentElement, 7] | 1983 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28
[document.documentElement, 7] |
| 2305 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 1984 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 29
[document.head, 1] |
| 2306 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1985 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 30
[document.body, 3] |
| 2307 " | |
| 2308 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2309 </p><p id... but got Text node "Qrstuvwx" | |
| 2310 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1986 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2311 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 1987 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2312 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1988 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2313 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1989 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2314 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 1990 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 35
[paras[0], 0] |
| 2315 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1991 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 36
[paras[0], 1] |
| 2316 " | |
| 2317 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2318 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2319 " | |
| 2320 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 37
[paras[0], 2] | 1992 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 37
[paras[0], 2] |
| 2321 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | 1993 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 38
[paras[1], 0] |
| 2322 </p> but got Text node "Qrstuvwx" | 1994 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 39
[paras[1], 1] |
| 2323 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2324 </p> but got Text node "Qrstuvwx" | |
| 2325 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 40
[paras[1], 2] | 1995 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 40
[paras[1], 2] |
| 2326 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 1996 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2327 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 1997 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2328 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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̈ḧ | 1998 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 43
[testDiv, 0] |
| 2329 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1999 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 44
[testDiv, 3] |
| 2330 " | |
| 2331 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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̈ḧ | |
| 2332 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2333 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 45
[document, -1] | 2000 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 45
[document, -1] |
| 2334 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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̈ḧ | 2001 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 46
[document, 0] |
| 2335 " | 2002 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 47
[document, 1] |
| 2336 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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̈ḧ | 2003 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 48
[document, 2] |
| 2337 " | |
| 2338 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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" | |
| 2339 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 49
[document, 3] | 2004 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 49
[document, 3] |
| 2340 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50
[comment, -1] | 2005 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50
[comment, -1] |
| 2341 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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" | 2006 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 51
[comment, 0] |
| 2342 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], 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" | 2007 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 52
[comment, 4] |
| 2343 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53
[comment, 96] | 2008 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53
[comment, 96] |
| 2344 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2009 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2345 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2010 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2346 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2011 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 2347 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2012 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2348 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2013 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2349 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59
[xmlDoc, -1] | 2014 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59
[xmlDoc, -1] |
| 2350 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2015 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2351 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2016 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2352 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62
[xmlDoc, 5] | 2017 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62
[xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2372 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2037 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2373 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83
[doctype, 0] | 2038 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83
[doctype, 0] |
| 2374 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 2039 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
| 2375 selection.collapse(point[0], point[1]); | 2040 selection.collapse(point[0], point[1]); |
| 2376 }" 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 | 2041 }" 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 |
| 2377 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85
[doctype, 1] | 2042 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85
[doctype, 1] |
| 2378 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
[foreignDoctype, 0] | 2043 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
[foreignDoctype, 0] |
| 2379 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87
[xmlDoctype, 0] | 2044 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87
[xmlDoctype, 0] |
| 2380 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0
[paras[0].firstChild, -1] | 2045 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0
[paras[0].firstChild, -1] |
| 2381 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1
[paras[0].firstChild, 0] | 2046 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1
[paras[0].firstChild, 0] |
| 2382 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | 2047 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 2
[paras[0].firstChild, 1] |
| 2383 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3
[paras[0].firstChild, 2] | 2048 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3
[paras[0].firstChild, 2] |
| 2384 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4
[paras[0].firstChild, 8] | 2049 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4
[paras[0].firstChild, 8] |
| 2385 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | 2050 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 5
[paras[0].firstChild, 9] |
| 2386 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6
[paras[0].firstChild, 10] | 2051 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6
[paras[0].firstChild, 10] |
| 2387 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7
[paras[0].firstChild, 65535] | 2052 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7
[paras[0].firstChild, 65535] |
| 2388 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8
[paras[1].firstChild, -1] | 2053 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8
[paras[1].firstChild, -1] |
| 2389 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | 2054 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 9
[paras[1].firstChild, 0] |
| 2390 " but got Text node "Qrstuvwx" | 2055 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 10
[paras[1].firstChild, 1] |
| 2391 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2056 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 11
[paras[1].firstChild, 2] |
| 2392 " but got Text node "Qrstuvwx" | 2057 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12
[paras[1].firstChild, 8] |
| 2393 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | 2058 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 13
[paras[1].firstChild, 9] |
| 2394 " but got Text node "Qrstuvwx" | |
| 2395 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2396 " but got Text node "Qrstuvwx" | |
| 2397 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2398 " but got Text node "Qrstuvwx" | |
| 2399 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14
[paras[1].firstChild, 10] | 2059 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14
[paras[1].firstChild, 10] |
| 2400 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15
[paras[1].firstChild, 65535] | 2060 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15
[paras[1].firstChild, 65535] |
| 2401 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2061 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2402 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2062 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2403 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 2063 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
| 2404 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19
[detachedPara1.firstChild, 9] | 2064 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19
[detachedPara1.firstChild, 9] |
| 2405 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2065 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2406 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2066 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2407 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2067 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
| 2408 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23
[foreignPara1.firstChild, 9] | 2068 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23
[foreignPara1.firstChild, 9] |
| 2409 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24
[document.documentElement, -1] | 2069 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24
[document.documentElement, -1] |
| 2410 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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> | 2070 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 25
[document.documentElement, 0] |
| 2411 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2071 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 26
[document.documentElement, 1] |
| 2412 " | 2072 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 27
[document.documentElement, 2] |
| 2413 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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> | |
| 2414 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2415 " | |
| 2416 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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> | |
| 2417 <me... but got Text node "Qrstuvwx" | |
| 2418 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28
[document.documentElement, 7] | 2073 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28
[document.documentElement, 7] |
| 2419 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | 2074 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 29
[document.head, 1] |
| 2420 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2075 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 30
[document.body, 3] |
| 2421 " | |
| 2422 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2423 </p><p id... but got Text node "Qrstuvwx" | |
| 2424 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2076 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2425 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 2077 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
| 2426 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2078 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2427 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2079 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2428 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2080 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 35
[paras[0], 0] |
| 2429 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2081 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 36
[paras[0], 1] |
| 2430 " | |
| 2431 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2432 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2433 " | |
| 2434 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 37
[paras[0], 2] | 2082 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 37
[paras[0], 2] |
| 2435 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | 2083 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 38
[paras[1], 0] |
| 2436 </p> but got Text node "Qrstuvwx" | 2084 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 39
[paras[1], 1] |
| 2437 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2438 </p> but got Text node "Qrstuvwx" | |
| 2439 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 40
[paras[1], 2] | 2085 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 40
[paras[1], 2] |
| 2440 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2086 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2441 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 2087 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
| 2442 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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̈ḧ | 2088 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 43
[testDiv, 0] |
| 2443 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2089 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 44
[testDiv, 3] |
| 2444 " | |
| 2445 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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̈ḧ | |
| 2446 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2447 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 45
[document, -1] | 2090 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 45
[document, -1] |
| 2448 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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̈ḧ | 2091 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 46
[document, 0] |
| 2449 " | 2092 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 47
[document, 1] |
| 2450 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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̈ḧ | 2093 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 48
[document, 2] |
| 2451 " | |
| 2452 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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" | |
| 2453 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 49
[document, 3] | 2094 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 49
[document, 3] |
| 2454 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50
[comment, -1] | 2095 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50
[comment, -1] |
| 2455 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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" | 2096 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 51
[comment, 0] |
| 2456 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 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" | 2097 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 52
[comment, 4] |
| 2457 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53
[comment, 96] | 2098 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53
[comment, 96] |
| 2458 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2099 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2459 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2100 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2460 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2101 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
| 2461 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2102 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
| 2462 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2103 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 2463 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59
[xmlDoc, -1] | 2104 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59
[xmlDoc, -1] |
| 2464 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2105 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2465 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 2106 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 2466 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62
[xmlDoc, 5] | 2107 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62
[xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2486 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2127 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 2487 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83
[doctype, 0] | 2128 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83
[doctype, 0] |
| 2488 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | 2129 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { |
| 2489 selection.collapse(point[0], point[1]); | 2130 selection.collapse(point[0], point[1]); |
| 2490 }" 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 | 2131 }" 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 |
| 2491 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85
[doctype, 1] | 2132 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85
[doctype, 1] |
| 2492 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
[foreignDoctype, 0] | 2133 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
[foreignDoctype, 0] |
| 2493 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87
[xmlDoctype, 0] | 2134 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87
[xmlDoctype, 0] |
| 2494 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
0 [paras[0].firstChild, -1] | 2135 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
0 [paras[0].firstChild, -1] |
| 2495 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
1 [paras[0].firstChild, 0] | 2136 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
1 [paras[0].firstChild, 0] |
| 2496 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | 2137 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
2 [paras[0].firstChild, 1] |
| 2497 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
3 [paras[0].firstChild, 2] | 2138 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
3 [paras[0].firstChild, 2] |
| 2498 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
4 [paras[0].firstChild, 8] | 2139 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
4 [paras[0].firstChild, 8] |
| 2499 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | 2140 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
5 [paras[0].firstChild, 9] |
| 2500 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
6 [paras[0].firstChild, 10] | 2141 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
6 [paras[0].firstChild, 10] |
| 2501 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
7 [paras[0].firstChild, 65535] | 2142 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
7 [paras[0].firstChild, 65535] |
| 2502 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
8 [paras[1].firstChild, -1] | 2143 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
8 [paras[1].firstChild, -1] |
| 2503 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 2144 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
9 [paras[1].firstChild, 0] |
| 2504 " but got Text node "Qrstuvwx" | 2145 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
10 [paras[1].firstChild, 1] |
| 2505 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2146 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
11 [paras[1].firstChild, 2] |
| 2506 " but got Text node "Qrstuvwx" | 2147 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
12 [paras[1].firstChild, 8] |
| 2507 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2148 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
13 [paras[1].firstChild, 9] |
| 2508 " but got Text node "Qrstuvwx" | |
| 2509 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2510 " but got Text node "Qrstuvwx" | |
| 2511 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2512 " but got Text node "Qrstuvwx" | |
| 2513 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
14 [paras[1].firstChild, 10] | 2149 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
14 [paras[1].firstChild, 10] |
| 2514 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
15 [paras[1].firstChild, 65535] | 2150 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
15 [paras[1].firstChild, 65535] |
| 2515 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2151 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2516 <me... | 2152 <me... |
| 2517 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2153 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2518 <me... | 2154 <me... |
| 2519 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2155 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2520 <me... | 2156 <me... |
| 2521 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
19 [detachedPara1.firstChild, 9] | 2157 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
19 [detachedPara1.firstChild, 9] |
| 2522 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2158 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2523 <me... | 2159 <me... |
| 2524 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2160 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2525 <me... | 2161 <me... |
| 2526 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2162 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2527 <me... | 2163 <me... |
| 2528 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
23 [foreignPara1.firstChild, 9] | 2164 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
23 [foreignPara1.firstChild, 9] |
| 2529 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
24 [document.documentElement, -1] | 2165 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
24 [document.documentElement, -1] |
| 2530 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | 2166 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
25 [document.documentElement, 0] |
| 2531 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2167 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
26 [document.documentElement, 1] |
| 2532 " | 2168 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
27 [document.documentElement, 2] |
| 2533 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2534 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2535 " | |
| 2536 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2537 <me... but got Text node "Qrstuvwx" | |
| 2538 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
28 [document.documentElement, 7] | 2169 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
28 [document.documentElement, 7] |
| 2539 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | 2170 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
29 [document.head, 1] |
| 2540 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2171 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
30 [document.body, 3] |
| 2541 " | |
| 2542 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2543 </p><p id... but got Text node "Qrstuvwx" | |
| 2544 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2172 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2545 <me... | 2173 <me... |
| 2546 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2174 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2547 <me... | 2175 <me... |
| 2548 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | 2176 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> |
| 2549 <me... | 2177 <me... |
| 2550 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2178 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| 2551 <me... | 2179 <me... |
| 2552 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2180 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
35 [paras[0], 0] |
| 2553 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2181 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
36 [paras[0], 1] |
| 2554 " | |
| 2555 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2556 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2557 " | |
| 2558 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
37 [paras[0], 2] | 2182 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
37 [paras[0], 2] |
| 2559 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | 2183 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
38 [paras[1], 0] |
| 2560 </p> but got Text node "Qrstuvwx" | 2184 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
39 [paras[1], 1] |
| 2561 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2562 </p> but got Text node "Qrstuvwx" | |
| 2563 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
40 [paras[1], 2] | 2185 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
40 [paras[1], 2] |
| 2564 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2186 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2565 <me... | 2187 <me... |
| 2566 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2188 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2567 <me... | 2189 <me... |
| 2568 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2190 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
43 [testDiv, 0] |
| 2569 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2191 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
44 [testDiv, 3] |
| 2570 " | |
| 2571 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2572 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2573 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
45 [document, -1] | 2192 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
45 [document, -1] |
| 2574 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2193 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
46 [document, 0] |
| 2575 " | 2194 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
47 [document, 1] |
| 2576 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2195 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
48 [document, 2] |
| 2577 " | |
| 2578 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2579 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
49 [document, 3] | 2196 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
49 [document, 3] |
| 2580 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
50 [comment, -1] | 2197 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
50 [comment, -1] |
| 2581 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2198 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
51 [comment, 0] |
| 2582 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2199 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
52 [comment, 4] |
| 2583 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
53 [comment, 96] | 2200 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
53 [comment, 96] |
| 2584 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2201 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2585 <me... | 2202 <me... |
| 2586 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2203 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2587 <me... | 2204 <me... |
| 2588 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | 2205 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> |
| 2589 <me... | 2206 <me... |
| 2590 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | 2207 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> |
| 2591 <me... | 2208 <me... |
| 2592 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2209 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2639 <me... | 2256 <me... |
| 2640 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
83 [doctype, 0] | 2257 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
83 [doctype, 0] |
| 2641 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | 2258 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { |
| 2642 selection.collapse(point[0], point[1]); | 2259 selection.collapse(point[0], point[1]); |
| 2643 }" 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 | 2260 }" 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 |
| 2644 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
85 [doctype, 1] | 2261 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
85 [doctype, 1] |
| 2645 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
86 [foreignDoctype, 0] | 2262 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
86 [foreignDoctype, 0] |
| 2646 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
87 [xmlDoctype, 0] | 2263 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
87 [xmlDoctype, 0] |
| 2647 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | 2264 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
0 [paras[0].firstChild, -1] |
| 2648 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | 2265 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
1 [paras[0].firstChild, 0] |
| 2649 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | 2266 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
2 [paras[0].firstChild, 1] |
| 2650 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | 2267 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
3 [paras[0].firstChild, 2] |
| 2651 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | 2268 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
4 [paras[0].firstChild, 8] |
| 2652 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | 2269 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
5 [paras[0].firstChild, 9] |
| 2653 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | 2270 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
6 [paras[0].firstChild, 10] |
| 2654 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | 2271 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] |
| 2655 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | 2272 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
8 [paras[1].firstChild, -1] |
| 2656 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 2273 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
9 [paras[1].firstChild, 0] |
| 2657 " but got Text node "Qrstuvwx" | 2274 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
10 [paras[1].firstChild, 1] |
| 2658 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2275 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
11 [paras[1].firstChild, 2] |
| 2659 " but got Text node "Qrstuvwx" | 2276 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
12 [paras[1].firstChild, 8] |
| 2660 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2277 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
13 [paras[1].firstChild, 9] |
| 2661 " but got Text node "Qrstuvwx" | |
| 2662 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2663 " but got Text node "Qrstuvwx" | |
| 2664 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2665 " but got Text node "Qrstuvwx" | |
| 2666 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | 2278 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
14 [paras[1].firstChild, 10] |
| 2667 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | 2279 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] |
| 2668 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2280 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2669 <me... | 2281 <me... |
| 2670 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2282 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2671 <me... | 2283 <me... |
| 2672 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2284 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2673 <me... | 2285 <me... |
| 2674 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] | 2286 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] |
| 2675 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2287 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2676 <me... | 2288 <me... |
| 2677 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2289 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2678 <me... | 2290 <me... |
| 2679 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2291 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2680 <me... | 2292 <me... |
| 2681 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] | 2293 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] |
| 2682 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
24 [document.documentElement, -1] | 2294 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
24 [document.documentElement, -1] |
| 2683 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | 2295 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
25 [document.documentElement, 0] |
| 2684 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2296 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
26 [document.documentElement, 1] |
| 2685 " | 2297 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
27 [document.documentElement, 2] |
| 2686 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2687 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2688 " | |
| 2689 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2690 <me... but got Text node "Qrstuvwx" | |
| 2691 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
28 [document.documentElement, 7] | 2298 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
28 [document.documentElement, 7] |
| 2692 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | 2299 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
29 [document.head, 1] |
| 2693 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2300 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
30 [document.body, 3] |
| 2694 " | |
| 2695 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2696 </p><p id... but got Text node "Qrstuvwx" | |
| 2697 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2301 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2698 <me... | 2302 <me... |
| 2699 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2303 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2700 <me... | 2304 <me... |
| 2701 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | 2305 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> |
| 2702 <me... | 2306 <me... |
| 2703 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2307 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| 2704 <me... | 2308 <me... |
| 2705 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2309 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
35 [paras[0], 0] |
| 2706 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2310 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
36 [paras[0], 1] |
| 2707 " | |
| 2708 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2709 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2710 " | |
| 2711 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
37 [paras[0], 2] | 2311 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
37 [paras[0], 2] |
| 2712 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | 2312 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
38 [paras[1], 0] |
| 2713 </p> but got Text node "Qrstuvwx" | 2313 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
39 [paras[1], 1] |
| 2714 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2715 </p> but got Text node "Qrstuvwx" | |
| 2716 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
40 [paras[1], 2] | 2314 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
40 [paras[1], 2] |
| 2717 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2315 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2718 <me... | 2316 <me... |
| 2719 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2317 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2720 <me... | 2318 <me... |
| 2721 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2319 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
43 [testDiv, 0] |
| 2722 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2320 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
44 [testDiv, 3] |
| 2723 " | |
| 2724 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2725 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2726 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
45 [document, -1] | 2321 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
45 [document, -1] |
| 2727 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2322 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
46 [document, 0] |
| 2728 " | 2323 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
47 [document, 1] |
| 2729 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2324 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
48 [document, 2] |
| 2730 " | |
| 2731 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2732 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
49 [document, 3] | 2325 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
49 [document, 3] |
| 2733 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
50 [comment, -1] | 2326 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
50 [comment, -1] |
| 2734 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2327 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
51 [comment, 0] |
| 2735 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2328 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
52 [comment, 4] |
| 2736 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
53 [comment, 96] | 2329 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
53 [comment, 96] |
| 2737 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2330 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2738 <me... | 2331 <me... |
| 2739 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2332 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2740 <me... | 2333 <me... |
| 2741 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | 2334 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> |
| 2742 <me... | 2335 <me... |
| 2743 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | 2336 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> |
| 2744 <me... | 2337 <me... |
| 2745 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2338 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2792 <me... | 2385 <me... |
| 2793 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
83 [doctype, 0] | 2386 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
83 [doctype, 0] |
| 2794 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | 2387 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { |
| 2795 selection.collapse(point[0], point[1]); | 2388 selection.collapse(point[0], point[1]); |
| 2796 }" 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 | 2389 }" 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 |
| 2797 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
85 [doctype, 1] | 2390 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
85 [doctype, 1] |
| 2798 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
86 [foreignDoctype, 0] | 2391 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
86 [foreignDoctype, 0] |
| 2799 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
87 [xmlDoctype, 0] | 2392 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
87 [xmlDoctype, 0] |
| 2800 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | 2393 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
0 [paras[0].firstChild, -1] |
| 2801 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | 2394 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
1 [paras[0].firstChild, 0] |
| 2802 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | 2395 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
2 [paras[0].firstChild, 1] |
| 2803 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | 2396 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
3 [paras[0].firstChild, 2] |
| 2804 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | 2397 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
4 [paras[0].firstChild, 8] |
| 2805 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | 2398 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
5 [paras[0].firstChild, 9] |
| 2806 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | 2399 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
6 [paras[0].firstChild, 10] |
| 2807 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | 2400 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] |
| 2808 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | 2401 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
8 [paras[1].firstChild, -1] |
| 2809 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | 2402 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
9 [paras[1].firstChild, 0] |
| 2810 " but got Text node "Qrstuvwx" | 2403 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
10 [paras[1].firstChild, 1] |
| 2811 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2404 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
11 [paras[1].firstChild, 2] |
| 2812 " but got Text node "Qrstuvwx" | 2405 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
12 [paras[1].firstChild, 8] |
| 2813 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | 2406 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
13 [paras[1].firstChild, 9] |
| 2814 " but got Text node "Qrstuvwx" | |
| 2815 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2816 " but got Text node "Qrstuvwx" | |
| 2817 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2818 " but got Text node "Qrstuvwx" | |
| 2819 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | 2407 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
14 [paras[1].firstChild, 10] |
| 2820 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | 2408 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] |
| 2821 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2409 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2822 <me... | 2410 <me... |
| 2823 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2411 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2824 <me... | 2412 <me... |
| 2825 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | 2413 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> |
| 2826 <me... | 2414 <me... |
| 2827 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] | 2415 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] |
| 2828 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2416 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2829 <me... | 2417 <me... |
| 2830 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2418 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2831 <me... | 2419 <me... |
| 2832 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | 2420 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> |
| 2833 <me... | 2421 <me... |
| 2834 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] | 2422 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] |
| 2835 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
24 [document.documentElement, -1] | 2423 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
24 [document.documentElement, -1] |
| 2836 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | 2424 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
25 [document.documentElement, 0] |
| 2837 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2425 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
26 [document.documentElement, 1] |
| 2838 " | 2426 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
27 [document.documentElement, 2] |
| 2839 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2840 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2841 " | |
| 2842 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2843 <me... but got Text node "Qrstuvwx" | |
| 2844 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
28 [document.documentElement, 7] | 2427 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
28 [document.documentElement, 7] |
| 2845 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | 2428 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
29 [document.head, 1] |
| 2846 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2429 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
30 [document.body, 3] |
| 2847 " | |
| 2848 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2849 </p><p id... but got Text node "Qrstuvwx" | |
| 2850 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2430 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2851 <me... | 2431 <me... |
| 2852 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | 2432 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> |
| 2853 <me... | 2433 <me... |
| 2854 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | 2434 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> |
| 2855 <me... | 2435 <me... |
| 2856 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2436 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| 2857 <me... | 2437 <me... |
| 2858 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2438 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
35 [paras[0], 0] |
| 2859 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2439 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
36 [paras[0], 1] |
| 2860 " | |
| 2861 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2862 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2863 " | |
| 2864 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
37 [paras[0], 2] | 2440 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
37 [paras[0], 2] |
| 2865 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | 2441 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
38 [paras[1], 0] |
| 2866 </p> but got Text node "Qrstuvwx" | 2442 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
39 [paras[1], 1] |
| 2867 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2868 </p> but got Text node "Qrstuvwx" | |
| 2869 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
40 [paras[1], 2] | 2443 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
40 [paras[1], 2] |
| 2870 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2444 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2871 <me... | 2445 <me... |
| 2872 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | 2446 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> |
| 2873 <me... | 2447 <me... |
| 2874 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2448 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
43 [testDiv, 0] |
| 2875 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2449 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
44 [testDiv, 3] |
| 2876 " | |
| 2877 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2878 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2879 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
45 [document, -1] | 2450 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
45 [document, -1] |
| 2880 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2451 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
46 [document, 0] |
| 2881 " | 2452 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
47 [document, 1] |
| 2882 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2453 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
48 [document, 2] |
| 2883 " | |
| 2884 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2885 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
49 [document, 3] | 2454 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
49 [document, 3] |
| 2886 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
50 [comment, -1] | 2455 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
50 [comment, -1] |
| 2887 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2456 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
51 [comment, 0] |
| 2888 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2457 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
52 [comment, 4] |
| 2889 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
53 [comment, 96] | 2458 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
53 [comment, 96] |
| 2890 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2459 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2891 <me... | 2460 <me... |
| 2892 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | 2461 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> |
| 2893 <me... | 2462 <me... |
| 2894 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | 2463 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> |
| 2895 <me... | 2464 <me... |
| 2896 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | 2465 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> |
| 2897 <me... | 2466 <me... |
| 2898 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | 2467 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2945 <me... | 2514 <me... |
| 2946 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
83 [doctype, 0] | 2515 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
83 [doctype, 0] |
| 2947 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | 2516 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { |
| 2948 selection.collapse(point[0], point[1]); | 2517 selection.collapse(point[0], point[1]); |
| 2949 }" 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 | 2518 }" 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 |
| 2950 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
85 [doctype, 1] | 2519 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
85 [doctype, 1] |
| 2951 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
86 [foreignDoctype, 0] | 2520 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
86 [foreignDoctype, 0] |
| 2952 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
87 [xmlDoctype, 0] | 2521 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
87 [xmlDoctype, 0] |
| 2953 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild
, -1] | 2522 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild
, -1] |
| 2954 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild
, 0] | 2523 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild
, 0] |
| 2955 FAIL Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 2524 PASS Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild
, 1] |
| 2956 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild
, 2] | 2525 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild
, 2] |
| 2957 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild
, 8] | 2526 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild
, 8] |
| 2958 FAIL Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 2527 PASS Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild
, 9] |
| 2959 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild
, 10] | 2528 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild
, 10] |
| 2960 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild
, 65535] | 2529 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild
, 65535] |
| 2961 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild
, -1] | 2530 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild
, -1] |
| 2962 FAIL Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 2531 PASS Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild
, 0] |
| 2963 " but got Text node "Qrstuvwx" | 2532 PASS Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChil
d, 1] |
| 2964 FAIL Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 2533 PASS Range 18 [document.head, 1, document.head, 1], point 11 [paras[1].firstChil
d, 2] |
| 2965 " but got Text node "Qrstuvwx" | 2534 PASS Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChil
d, 8] |
| 2966 FAIL Range 18 [document.head, 1, document.head, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 2535 PASS Range 18 [document.head, 1, document.head, 1], point 13 [paras[1].firstChil
d, 9] |
| 2967 " but got Text node "Qrstuvwx" | |
| 2968 FAIL Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2969 " but got Text node "Qrstuvwx" | |
| 2970 FAIL Range 18 [document.head, 1, document.head, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2971 " but got Text node "Qrstuvwx" | |
| 2972 PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChil
d, 10] | 2536 PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChil
d, 10] |
| 2973 PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChil
d, 65535] | 2537 PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChil
d, 65535] |
| 2974 FAIL Range 18 [document.head, 1, document.head, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | 2538 FAIL Range 18 [document.head, 1, document.head, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> |
| 2975 <meta nam... | 2539 <meta nam... |
| 2976 FAIL Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | 2540 FAIL Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> |
| 2977 <meta nam... | 2541 <meta nam... |
| 2978 FAIL Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | 2542 FAIL Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> |
| 2979 <meta nam... | 2543 <meta nam... |
| 2980 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs
tChild, 9] | 2544 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs
tChild, 9] |
| 2981 FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | 2545 FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> |
| 2982 <meta nam... | 2546 <meta nam... |
| 2983 FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | 2547 FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> |
| 2984 <meta nam... | 2548 <meta nam... |
| 2985 FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | 2549 FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> |
| 2986 <meta nam... | 2550 <meta nam... |
| 2987 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first
Child, 9] | 2551 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first
Child, 9] |
| 2988 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE
lement, -1] | 2552 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE
lement, -1] |
| 2989 FAIL Range 18 [document.head, 1, document.head, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 2553 PASS Range 18 [document.head, 1, document.head, 1], point 25 [document.documentE
lement, 0] |
| 2990 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2554 PASS Range 18 [document.head, 1, document.head, 1], point 26 [document.documentE
lement, 1] |
| 2991 " | 2555 PASS Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE
lement, 2] |
| 2992 FAIL Range 18 [document.head, 1, document.head, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 2993 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2994 " | |
| 2995 FAIL Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 2996 <me... but got Text node "Qrstuvwx" | |
| 2997 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE
lement, 7] | 2556 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE
lement, 7] |
| 2998 PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1] | 2557 PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1] |
| 2999 FAIL Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2558 PASS Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3] |
| 3000 </p><p id... but got Text node "Qrstuvwx" | |
| 3001 FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> | 2559 FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> |
| 3002 <meta nam... | 2560 <meta nam... |
| 3003 FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> | 2561 FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> |
| 3004 <meta nam... | 2562 <meta nam... |
| 3005 FAIL Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <head><title>Selection.
collapse() tests</title> | 2563 FAIL Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <head><title>Selection.
collapse() tests</title> |
| 3006 <meta nam... | 2564 <meta nam... |
| 3007 FAIL Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <head><title>Selection.collapse() tests</title> | 2565 FAIL Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <head><title>Selection.collapse() tests</title> |
| 3008 <meta nam... | 2566 <meta nam... |
| 3009 FAIL Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2567 PASS Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] |
| 3010 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2568 PASS Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] |
| 3011 " | |
| 3012 FAIL Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3013 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3014 " | |
| 3015 PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2] | 2569 PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2] |
| 3016 FAIL Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | 2570 PASS Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] |
| 3017 </p> but got Text node "Qrstuvwx" | 2571 PASS Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] |
| 3018 FAIL Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3019 </p> but got Text node "Qrstuvwx" | |
| 3020 PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2] | 2572 PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2] |
| 3021 FAIL Range 18 [document.head, 1, document.head, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> | 2573 FAIL Range 18 [document.head, 1, document.head, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> |
| 3022 <meta nam... | 2574 <meta nam... |
| 3023 FAIL Range 18 [document.head, 1, document.head, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> | 2575 FAIL Range 18 [document.head, 1, document.head, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> |
| 3024 <meta nam... | 2576 <meta nam... |
| 3025 FAIL Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2577 PASS Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] |
| 3026 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2578 PASS Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] |
| 3027 " | |
| 3028 FAIL Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3029 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3030 PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1] | 2579 PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1] |
| 3031 FAIL Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2580 PASS Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] |
| 3032 " | 2581 PASS Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] |
| 3033 FAIL Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2582 PASS Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] |
| 3034 " | |
| 3035 FAIL Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 3036 PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3] | 2583 PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3] |
| 3037 PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1] | 2584 PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1] |
| 3038 FAIL Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2585 PASS Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] |
| 3039 FAIL Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2586 PASS Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] |
| 3040 PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96] | 2587 PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96] |
| 3041 FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> | 2588 FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> |
| 3042 <meta nam... | 2589 <meta nam... |
| 3043 FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> | 2590 FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> |
| 3044 <meta nam... | 2591 <meta nam... |
| 3045 FAIL Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <head><title>Selection.collapse() tests</title> | 2592 FAIL Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <head><title>Selection.collapse() tests</title> |
| 3046 <meta nam... | 2593 <meta nam... |
| 3047 FAIL Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <head><title>Selection.collapse() tests</title> | 2594 FAIL Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <head><title>Selection.collapse() tests</title> |
| 3048 <meta nam... | 2595 <meta nam... |
| 3049 FAIL Range 18 [document.head, 1, document.head, 1], 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 Elem
ent node <head><title>Selection.collapse() tests</title> | 2596 FAIL Range 18 [document.head, 1, document.head, 1], 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 Elem
ent node <head><title>Selection.collapse() tests</title> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3096 <meta nam... | 2643 <meta nam... |
| 3097 PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0] | 2644 PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0] |
| 3098 FAIL Range 18 [document.head, 1, document.head, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 2645 FAIL Range 18 [document.head, 1, document.head, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 3099 selection.collapse(point[0], point[1]); | 2646 selection.collapse(point[0], point[1]); |
| 3100 }" 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 | 2647 }" 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 |
| 3101 PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1] | 2648 PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1] |
| 3102 PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
| 2649 PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
|
| 3103 PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0] | 2650 PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0] |
| 3104 PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild
, -1] | 2651 PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild
, -1] |
| 3105 PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild
, 0] | 2652 PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild
, 0] |
| 3106 FAIL Range 19 [document.body, 0, document.body, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 2653 PASS Range 19 [document.body, 0, document.body, 1], point 2 [paras[0].firstChild
, 1] |
| 3107 PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild
, 2] | 2654 PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild
, 2] |
| 3108 PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild
, 8] | 2655 PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild
, 8] |
| 3109 FAIL Range 19 [document.body, 0, document.body, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 2656 PASS Range 19 [document.body, 0, document.body, 1], point 5 [paras[0].firstChild
, 9] |
| 3110 PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild
, 10] | 2657 PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild
, 10] |
| 3111 PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild
, 65535] | 2658 PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild
, 65535] |
| 3112 PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild
, -1] | 2659 PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild
, -1] |
| 3113 FAIL Range 19 [document.body, 0, document.body, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 2660 PASS Range 19 [document.body, 0, document.body, 1], point 9 [paras[1].firstChild
, 0] |
| 3114 " but got Text node "Qrstuvwx" | 2661 PASS Range 19 [document.body, 0, document.body, 1], point 10 [paras[1].firstChil
d, 1] |
| 3115 FAIL Range 19 [document.body, 0, document.body, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 2662 PASS Range 19 [document.body, 0, document.body, 1], point 11 [paras[1].firstChil
d, 2] |
| 3116 " but got Text node "Qrstuvwx" | 2663 PASS Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChil
d, 8] |
| 3117 FAIL Range 19 [document.body, 0, document.body, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 2664 PASS Range 19 [document.body, 0, document.body, 1], point 13 [paras[1].firstChil
d, 9] |
| 3118 " but got Text node "Qrstuvwx" | |
| 3119 FAIL Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3120 " but got Text node "Qrstuvwx" | |
| 3121 FAIL Range 19 [document.body, 0, document.body, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3122 " but got Text node "Qrstuvwx" | |
| 3123 PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChil
d, 10] | 2665 PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChil
d, 10] |
| 3124 PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChil
d, 65535] | 2666 PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChil
d, 65535] |
| 3125 FAIL Range 19 [document.body, 0, document.body, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | 2667 FAIL Range 19 [document.body, 0, document.body, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ |
| 3126 </p><p id... | 2668 </p><p id... |
| 3127 FAIL Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | 2669 FAIL Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ |
| 3128 </p><p id... | 2670 </p><p id... |
| 3129 FAIL Range 19 [document.body, 0, document.body, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | 2671 FAIL Range 19 [document.body, 0, document.body, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ |
| 3130 </p><p id... | 2672 </p><p id... |
| 3131 PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firs
tChild, 9] | 2673 PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firs
tChild, 9] |
| 3132 FAIL Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | 2674 FAIL Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ |
| 3133 </p><p id... | 2675 </p><p id... |
| 3134 FAIL Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | 2676 FAIL Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ |
| 3135 </p><p id... | 2677 </p><p id... |
| 3136 FAIL Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | 2678 FAIL Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ |
| 3137 </p><p id... | 2679 </p><p id... |
| 3138 PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.first
Child, 9] | 2680 PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.first
Child, 9] |
| 3139 PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentE
lement, -1] | 2681 PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentE
lement, -1] |
| 3140 FAIL Range 19 [document.body, 0, document.body, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 2682 PASS Range 19 [document.body, 0, document.body, 1], point 25 [document.documentE
lement, 0] |
| 3141 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2683 PASS Range 19 [document.body, 0, document.body, 1], point 26 [document.documentE
lement, 1] |
| 3142 " | 2684 PASS Range 19 [document.body, 0, document.body, 1], point 27 [document.documentE
lement, 2] |
| 3143 FAIL Range 19 [document.body, 0, document.body, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3144 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3145 " | |
| 3146 FAIL Range 19 [document.body, 0, document.body, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3147 <me... but got Text node "Qrstuvwx" | |
| 3148 PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentE
lement, 7] | 2685 PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentE
lement, 7] |
| 3149 FAIL Range 19 [document.body, 0, document.body, 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 2686 PASS Range 19 [document.body, 0, document.body, 1], point 29 [document.head, 1] |
| 3150 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2687 PASS Range 19 [document.body, 0, document.body, 1], point 30 [document.body, 3] |
| 3151 " | |
| 3152 FAIL Range 19 [document.body, 0, document.body, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3153 </p><p id... but got Text node "Qrstuvwx" | |
| 3154 FAIL Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2688 FAIL Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3155 </p><p id... | 2689 </p><p id... |
| 3156 FAIL Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2690 FAIL Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3157 </p><p id... | 2691 </p><p id... |
| 3158 FAIL Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2692 FAIL Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3159 </p><p id... | 2693 </p><p id... |
| 3160 FAIL Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2694 FAIL Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3161 </p><p id... | 2695 </p><p id... |
| 3162 FAIL Range 19 [document.body, 0, document.body, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2696 PASS Range 19 [document.body, 0, document.body, 1], point 35 [paras[0], 0] |
| 3163 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2697 PASS Range 19 [document.body, 0, document.body, 1], point 36 [paras[0], 1] |
| 3164 " | |
| 3165 FAIL Range 19 [document.body, 0, document.body, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3166 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3167 " | |
| 3168 PASS Range 19 [document.body, 0, document.body, 1], point 37 [paras[0], 2] | 2698 PASS Range 19 [document.body, 0, document.body, 1], point 37 [paras[0], 2] |
| 3169 FAIL Range 19 [document.body, 0, document.body, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | 2699 PASS Range 19 [document.body, 0, document.body, 1], point 38 [paras[1], 0] |
| 3170 </p> but got Text node "Qrstuvwx" | 2700 PASS Range 19 [document.body, 0, document.body, 1], point 39 [paras[1], 1] |
| 3171 FAIL Range 19 [document.body, 0, document.body, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3172 </p> but got Text node "Qrstuvwx" | |
| 3173 PASS Range 19 [document.body, 0, document.body, 1], point 40 [paras[1], 2] | 2701 PASS Range 19 [document.body, 0, document.body, 1], point 40 [paras[1], 2] |
| 3174 FAIL Range 19 [document.body, 0, document.body, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ | 2702 FAIL Range 19 [document.body, 0, document.body, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ |
| 3175 </p><p id... | 2703 </p><p id... |
| 3176 FAIL Range 19 [document.body, 0, document.body, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ | 2704 FAIL Range 19 [document.body, 0, document.body, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ |
| 3177 </p><p id... | 2705 </p><p id... |
| 3178 FAIL Range 19 [document.body, 0, document.body, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2706 PASS Range 19 [document.body, 0, document.body, 1], point 43 [testDiv, 0] |
| 3179 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2707 PASS Range 19 [document.body, 0, document.body, 1], point 44 [testDiv, 3] |
| 3180 " | |
| 3181 FAIL Range 19 [document.body, 0, document.body, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3182 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3183 PASS Range 19 [document.body, 0, document.body, 1], point 45 [document, -1] | 2708 PASS Range 19 [document.body, 0, document.body, 1], point 45 [document, -1] |
| 3184 FAIL Range 19 [document.body, 0, document.body, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2709 PASS Range 19 [document.body, 0, document.body, 1], point 46 [document, 0] |
| 3185 " | 2710 PASS Range 19 [document.body, 0, document.body, 1], point 47 [document, 1] |
| 3186 FAIL Range 19 [document.body, 0, document.body, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2711 PASS Range 19 [document.body, 0, document.body, 1], point 48 [document, 2] |
| 3187 " | |
| 3188 FAIL Range 19 [document.body, 0, document.body, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 3189 PASS Range 19 [document.body, 0, document.body, 1], point 49 [document, 3] | 2712 PASS Range 19 [document.body, 0, document.body, 1], point 49 [document, 3] |
| 3190 PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1] | 2713 PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1] |
| 3191 FAIL Range 19 [document.body, 0, document.body, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2714 PASS Range 19 [document.body, 0, document.body, 1], point 51 [comment, 0] |
| 3192 FAIL Range 19 [document.body, 0, document.body, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2715 PASS Range 19 [document.body, 0, document.body, 1], point 52 [comment, 4] |
| 3193 PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96] | 2716 PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96] |
| 3194 FAIL Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | 2717 FAIL Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ |
| 3195 </p><p id... | 2718 </p><p id... |
| 3196 FAIL Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | 2719 FAIL Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ |
| 3197 </p><p id... | 2720 </p><p id... |
| 3198 FAIL Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2721 FAIL Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3199 </p><p id... | 2722 </p><p id... |
| 3200 FAIL Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2723 FAIL Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3201 </p><p id... | 2724 </p><p id... |
| 3202 FAIL Range 19 [document.body, 0, document.body, 1], 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 Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 2725 FAIL Range 19 [document.body, 0, document.body, 1], 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 Elem
ent 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... |
| 3249 </p><p id... | 2772 </p><p id... |
| 3250 PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0] | 2773 PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0] |
| 3251 FAIL Range 19 [document.body, 0, document.body, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 2774 FAIL Range 19 [document.body, 0, document.body, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 3252 selection.collapse(point[0], point[1]); | 2775 selection.collapse(point[0], point[1]); |
| 3253 }" 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 | 2776 }" 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 |
| 3254 PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1] | 2777 PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1] |
| 3255 PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
| 2778 PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
|
| 3256 PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0] | 2779 PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0] |
| 3257 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 0 [paras[0].firstChild, -1] | 2780 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 0 [paras[0].firstChild, -1] |
| 3258 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 1 [paras[0].firstChild, 0] | 2781 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 1 [paras[0].firstChild, 0] |
| 3259 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset
we collapse()d to expected 1 but got 2 | 2782 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 2 [paras[0].firstChild, 1] |
| 3260 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 3 [paras[0].firstChild, 2] | 2783 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 3 [paras[0].firstChild, 2] |
| 3261 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 4 [paras[0].firstChild, 8] | 2784 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 4 [paras[0].firstChild, 8] |
| 3262 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset
we collapse()d to expected 9 but got 10 | 2785 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 5 [paras[0].firstChild, 9] |
| 3263 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 6 [paras[0].firstChild, 10] | 2786 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 6 [paras[0].firstChild, 10] |
| 3264 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 7 [paras[0].firstChild, 65535] | 2787 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 7 [paras[0].firstChild, 65535] |
| 3265 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 8 [paras[1].firstChild, -1] | 2788 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 8 [paras[1].firstChild, -1] |
| 3266 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Text node "Ijklmnop | 2789 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 9 [paras[1].firstChild, 0] |
| 3267 " but got Text node "Qrstuvwx" | 2790 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 10 [paras[1].firstChild, 1] |
| 3268 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | 2791 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 11 [paras[1].firstChild, 2] |
| 3269 " but got Text node "Qrstuvwx" | 2792 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 12 [paras[1].firstChild, 8] |
| 3270 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | 2793 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 13 [paras[1].firstChild, 9] |
| 3271 " but got Text node "Qrstuvwx" | |
| 3272 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3273 " but got Text node "Qrstuvwx" | |
| 3274 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3275 " but got Text node "Qrstuvwx" | |
| 3276 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 14 [paras[1].firstChild, 10] | 2794 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 14 [paras[1].firstChild, 10] |
| 3277 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 15 [paras[1].firstChild, 65535] | 2795 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 15 [paras[1].firstChild, 65535] |
| 3278 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2796 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
| 3279 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2797 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
| 3280 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2798 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
| 3281 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 19 [detachedPara1.firstChild, 9] | 2799 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 19 [detachedPara1.firstChild, 9] |
| 3282 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | 2800 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 |
| 3283 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | 2801 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 |
| 3284 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | 2802 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 |
| 3285 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 23 [foreignPara1.firstChild, 9] | 2803 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 23 [foreignPara1.firstChild, 9] |
| 3286 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 24 [document.documentElement, -1] | 2804 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 24 [document.documentElement, -1] |
| 3287 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 25 [document.documentElement, 0] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | 2805 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 25 [document.documentElement, 0] |
| 3288 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2806 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 26 [document.documentElement, 1] |
| 3289 " | 2807 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 27 [document.documentElement, 2] |
| 3290 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 26 [document.documentElement, 1] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 3291 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3292 " | |
| 3293 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 27 [document.documentElement, 2] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 3294 <me... but got Text node "Qrstuvwx" | |
| 3295 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 28 [document.documentElement, 7] | 2808 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 28 [document.documentElement, 7] |
| 3296 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 29 [document.head, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <head><title>Selection.collapse() tests</title> | 2809 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 29 [document.head, 1] |
| 3297 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2810 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 30 [document.body, 3] |
| 3298 " | |
| 3299 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 30 [document.body, 3] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3300 </p><p id... but got Text node "Qrstuvwx" | |
| 3301 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | 2811 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 |
| 3302 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | 2812 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 |
| 3303 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2813 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3304 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2814 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3305 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | 2815 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 35 [paras[0], 0] |
| 3306 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2816 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 36 [paras[0], 1] |
| 3307 " | |
| 3308 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | |
| 3309 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3310 " | |
| 3311 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 37 [paras[0], 2] | 2817 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 37 [paras[0], 2] |
| 3312 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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 | 2818 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 38 [paras[1], 0] |
| 3313 </p> but got Text node "Qrstuvwx" | 2819 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 39 [paras[1], 1] |
| 3314 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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 | |
| 3315 </p> but got Text node "Qrstuvwx" | |
| 3316 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 40 [paras[1], 2] | 2820 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 40 [paras[1], 2] |
| 3317 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2821 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 3318 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2822 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
| 3319 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | 2823 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 43 [testDiv, 0] |
| 3320 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2824 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 44 [testDiv, 3] |
| 3321 " | |
| 3322 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | |
| 3323 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3324 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 45 [document, -1] | 2825 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 45 [document, -1] |
| 3325 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | 2826 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 46 [document, 0] |
| 3326 " | 2827 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 47 [document, 1] |
| 3327 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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̈ḧ | 2828 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 48 [document, 2] |
| 3328 " | |
| 3329 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 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" | |
| 3330 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 49 [document, 3] | 2829 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 49 [document, 3] |
| 3331 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 50 [comment, -1] | 2830 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 50 [comment, -1] |
| 3332 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2831 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 51 [comment, 0] |
| 3333 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 2832 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 52 [comment, 4] |
| 3334 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 53 [comment, 96] | 2833 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 53 [comment, 96] |
| 3335 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2834 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 3336 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2835 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 3337 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 2836 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
| 3338 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2837 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
| 3339 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2838 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
| 3340 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 59 [xmlDoc, -1] | 2839 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 59 [xmlDoc, -1] |
| 3341 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 2840 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 3342 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 2841 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
| 3343 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 62 [xmlDoc, 5] | 2842 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3363 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2862 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
| 3364 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 83 [doctype, 0] | 2863 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 83 [doctype, 0] |
| 3365 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when colla
pse()ing if the node is a DocumentType function "function () { | 2864 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when colla
pse()ing if the node is a DocumentType function "function () { |
| 3366 selection.collapse(point[0], point[1]); | 2865 selection.collapse(point[0], point[1]); |
| 3367 }" 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 | 2866 }" 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 |
| 3368 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 85 [doctype, 1] | 2867 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 85 [doctype, 1] |
| 3369 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 86 [foreignDoctype, 0] | 2868 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 86 [foreignDoctype, 0] |
| 3370 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 87 [xmlDoctype, 0] | 2869 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 87 [xmlDoctype, 0] |
| 3371 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstC
hild, -1] | 2870 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstC
hild, -1] |
| 3372 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstC
hild, 0] | 2871 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstC
hild, 0] |
| 3373 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 2872 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 2 [paras[0].firstC
hild, 1] |
| 3374 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstC
hild, 2] | 2873 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstC
hild, 2] |
| 3375 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstC
hild, 8] | 2874 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstC
hild, 8] |
| 3376 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 2875 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 5 [paras[0].firstC
hild, 9] |
| 3377 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstC
hild, 10] | 2876 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstC
hild, 10] |
| 3378 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstC
hild, 65535] | 2877 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstC
hild, 65535] |
| 3379 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstC
hild, -1] | 2878 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstC
hild, -1] |
| 3380 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2879 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 9 [paras[1].firstC
hild, 0] |
| 3381 " but got Text node "Qrstuvwx" | 2880 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 10 [paras[1].first
Child, 1] |
| 3382 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2881 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 11 [paras[1].first
Child, 2] |
| 3383 " but got Text node "Qrstuvwx" | 2882 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].first
Child, 8] |
| 3384 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2883 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 13 [paras[1].first
Child, 9] |
| 3385 " but got Text node "Qrstuvwx" | |
| 3386 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3387 " but got Text node "Qrstuvwx" | |
| 3388 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3389 " but got Text node "Qrstuvwx" | |
| 3390 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].first
Child, 10] | 2884 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].first
Child, 10] |
| 3391 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].first
Child, 65535] | 2885 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].first
Child, 65535] |
| 3392 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2886 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3393 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2887 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3394 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2888 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3395 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.
firstChild, 9] | 2889 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.
firstChild, 9] |
| 3396 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2890 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3397 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2891 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3398 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2892 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3399 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.f
irstChild, 9] | 2893 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.f
irstChild, 9] |
| 3400 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.docum
entElement, -1] | 2894 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.docum
entElement, -1] |
| 3401 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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> | 2895 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 25 [document.docum
entElement, 0] |
| 3402 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2896 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 26 [document.docum
entElement, 1] |
| 3403 " | 2897 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 27 [document.docum
entElement, 2] |
| 3404 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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> | |
| 3405 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3406 " | |
| 3407 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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> | |
| 3408 <me... but got Text node "Qrstuvwx" | |
| 3409 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.docum
entElement, 7] | 2898 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.docum
entElement, 7] |
| 3410 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | 2899 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 29 [document.head,
1] |
| 3411 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2900 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 30 [document.body,
3] |
| 3412 " | |
| 3413 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3414 </p><p id... but got Text node "Qrstuvwx" | |
| 3415 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2901 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3416 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2902 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3417 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2903 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3418 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2904 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3419 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | 2905 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 35 [paras[0], 0] |
| 3420 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2906 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 36 [paras[0], 1] |
| 3421 " | |
| 3422 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | |
| 3423 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3424 " | |
| 3425 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 37 [paras[0], 2] | 2907 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 37 [paras[0], 2] |
| 3426 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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 | 2908 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 38 [paras[1], 0] |
| 3427 </p> but got Text node "Qrstuvwx" | 2909 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 39 [paras[1], 1] |
| 3428 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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 | |
| 3429 </p> but got Text node "Qrstuvwx" | |
| 3430 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 40 [paras[1], 2] | 2910 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 40 [paras[1], 2] |
| 3431 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2911 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3432 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 2912 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3433 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | 2913 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 43 [testDiv, 0] |
| 3434 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2914 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 44 [testDiv, 3] |
| 3435 " | |
| 3436 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | |
| 3437 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3438 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 45 [document, -1] | 2915 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 45 [document, -1] |
| 3439 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | 2916 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 46 [document, 0] |
| 3440 " | 2917 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 47 [document, 1] |
| 3441 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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̈ḧ | 2918 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 48 [document, 2] |
| 3442 " | |
| 3443 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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" | |
| 3444 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 49 [document, 3] | 2919 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 49 [document, 3] |
| 3445 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1] | 2920 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1] |
| 3446 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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" | 2921 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 51 [comment, 0] |
| 3447 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], 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" | 2922 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 52 [comment, 4] |
| 3448 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96] | 2923 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96] |
| 3449 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2924 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3450 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2925 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3451 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2926 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3452 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2927 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3453 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 2928 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3454 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1] | 2929 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1] |
| 3455 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2930 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3456 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 2931 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3457 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5] | 2932 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3477 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 2952 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3478 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0] | 2953 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0] |
| 3479 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 2954 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
| 3480 selection.collapse(point[0], point[1]); | 2955 selection.collapse(point[0], point[1]); |
| 3481 }" 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 | 2956 }" 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 |
| 3482 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1] | 2957 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1] |
| 3483 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
, 0] | 2958 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
, 0] |
| 3484 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
| 2959 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
|
| 3485 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstC
hild, -1] | 2960 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstC
hild, -1] |
| 3486 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstC
hild, 0] | 2961 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstC
hild, 0] |
| 3487 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | 2962 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 2 [paras[0].firstC
hild, 1] |
| 3488 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstC
hild, 2] | 2963 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstC
hild, 2] |
| 3489 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstC
hild, 8] | 2964 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstC
hild, 8] |
| 3490 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | 2965 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 5 [paras[0].firstC
hild, 9] |
| 3491 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstC
hild, 10] | 2966 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstC
hild, 10] |
| 3492 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstC
hild, 65535] | 2967 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstC
hild, 65535] |
| 3493 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstC
hild, -1] | 2968 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstC
hild, -1] |
| 3494 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | 2969 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 9 [paras[1].firstC
hild, 0] |
| 3495 " but got Text node "Qrstuvwx" | 2970 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 10 [paras[1].first
Child, 1] |
| 3496 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2971 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 11 [paras[1].first
Child, 2] |
| 3497 " but got Text node "Qrstuvwx" | 2972 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].first
Child, 8] |
| 3498 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | 2973 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 13 [paras[1].first
Child, 9] |
| 3499 " but got Text node "Qrstuvwx" | |
| 3500 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3501 " but got Text node "Qrstuvwx" | |
| 3502 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3503 " but got Text node "Qrstuvwx" | |
| 3504 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].first
Child, 10] | 2974 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].first
Child, 10] |
| 3505 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].first
Child, 65535] | 2975 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].first
Child, 65535] |
| 3506 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2976 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3507 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2977 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3508 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2978 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3509 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.
firstChild, 9] | 2979 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.
firstChild, 9] |
| 3510 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2980 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3511 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2981 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3512 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2982 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
| 3513 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.f
irstChild, 9] | 2983 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.f
irstChild, 9] |
| 3514 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.docum
entElement, -1] | 2984 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.docum
entElement, -1] |
| 3515 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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> | 2985 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 25 [document.docum
entElement, 0] |
| 3516 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2986 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 26 [document.docum
entElement, 1] |
| 3517 " | 2987 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 27 [document.docum
entElement, 2] |
| 3518 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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> | |
| 3519 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3520 " | |
| 3521 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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> | |
| 3522 <me... but got Text node "Qrstuvwx" | |
| 3523 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.docum
entElement, 7] | 2988 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.docum
entElement, 7] |
| 3524 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | 2989 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 29 [document.head,
1] |
| 3525 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2990 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 30 [document.body,
3] |
| 3526 " | |
| 3527 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3528 </p><p id... but got Text node "Qrstuvwx" | |
| 3529 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2991 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3530 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2992 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
| 3531 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2993 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3532 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 2994 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3533 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | 2995 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 35 [paras[0], 0] |
| 3534 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2996 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 36 [paras[0], 1] |
| 3535 " | |
| 3536 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | |
| 3537 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3538 " | |
| 3539 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 37 [paras[0], 2] | 2997 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 37 [paras[0], 2] |
| 3540 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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 | 2998 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 38 [paras[1], 0] |
| 3541 </p> but got Text node "Qrstuvwx" | 2999 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 39 [paras[1], 1] |
| 3542 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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 | |
| 3543 </p> but got Text node "Qrstuvwx" | |
| 3544 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 40 [paras[1], 2] | 3000 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 40 [paras[1], 2] |
| 3545 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3001 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3546 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3002 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3547 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | 3003 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 43 [testDiv, 0] |
| 3548 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3004 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 44 [testDiv, 3] |
| 3549 " | |
| 3550 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | |
| 3551 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3552 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 45 [document, -1] | 3005 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 45 [document, -1] |
| 3553 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | 3006 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 46 [document, 0] |
| 3554 " | 3007 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 47 [document, 1] |
| 3555 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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̈ḧ | 3008 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 48 [document, 2] |
| 3556 " | |
| 3557 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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" | |
| 3558 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 49 [document, 3] | 3009 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 49 [document, 3] |
| 3559 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1] | 3010 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1] |
| 3560 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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" | 3011 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 51 [comment, 0] |
| 3561 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], 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" | 3012 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 52 [comment, 4] |
| 3562 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96] | 3013 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96] |
| 3563 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3014 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3564 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3015 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3565 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3016 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3566 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3017 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
| 3567 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3018 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
| 3568 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1] | 3019 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1] |
| 3569 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3020 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3570 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3021 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3571 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5] | 3022 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3591 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3042 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3592 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] | 3043 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] |
| 3593 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | 3044 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { |
| 3594 selection.collapse(point[0], point[1]); | 3045 selection.collapse(point[0], point[1]); |
| 3595 }" 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 | 3046 }" 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 |
| 3596 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] | 3047 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] |
| 3597 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
, 0] | 3048 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
, 0] |
| 3598 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
| 3049 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
|
| 3599 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] | 3050 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] |
| 3600 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] | 3051 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] |
| 3601 FAIL Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 3052 PASS Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] |
| 3602 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] | 3053 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] |
| 3603 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] | 3054 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] |
| 3604 FAIL Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 3055 PASS Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] |
| 3605 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] | 3056 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] |
| 3606 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] | 3057 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] |
| 3607 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] | 3058 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] |
| 3608 FAIL Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 3059 PASS Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] |
| 3609 " but got Text node "Qrstuvwx" | 3060 PASS Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] |
| 3610 FAIL Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 3061 PASS Range 23 [paras[0], 0, paras[0], 0], point 11 [paras[1].firstChild, 2] |
| 3611 " but got Text node "Qrstuvwx" | 3062 PASS Range 23 [paras[0], 0, paras[0], 0], point 12 [paras[1].firstChild, 8] |
| 3612 FAIL Range 23 [paras[0], 0, paras[0], 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 3063 PASS Range 23 [paras[0], 0, paras[0], 0], point 13 [paras[1].firstChild, 9] |
| 3613 " but got Text node "Qrstuvwx" | |
| 3614 FAIL Range 23 [paras[0], 0, paras[0], 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3615 " but got Text node "Qrstuvwx" | |
| 3616 FAIL Range 23 [paras[0], 0, paras[0], 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3617 " but got Text node "Qrstuvwx" | |
| 3618 PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10] | 3064 PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10] |
| 3619 PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535] | 3065 PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535] |
| 3620 FAIL Range 23 [paras[0], 0, paras[0], 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3066 FAIL Range 23 [paras[0], 0, paras[0], 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3621 </p> | 3067 </p> |
| 3622 FAIL Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3068 FAIL Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3623 </p> | 3069 </p> |
| 3624 FAIL Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3070 FAIL Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3625 </p> | 3071 </p> |
| 3626 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
| 3072 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
|
| 3627 FAIL Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3073 FAIL Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3628 </p> | 3074 </p> |
| 3629 FAIL Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3075 FAIL Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3630 </p> | 3076 </p> |
| 3631 FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3077 FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3632 </p> | 3078 </p> |
| 3633 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9] | 3079 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9] |
| 3634 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1
] | 3080 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1
] |
| 3635 FAIL Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 3081 PASS Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0]
|
| 3636 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3082 PASS Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1]
|
| 3637 " | 3083 PASS Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2]
|
| 3638 FAIL Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3639 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3640 " | |
| 3641 FAIL Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3642 <me... but got Text node "Qrstuvwx" | |
| 3643 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
| 3084 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
|
| 3644 FAIL Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title>Selection.collapse() tests</title> | 3085 PASS Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] |
| 3645 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3086 PASS Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] |
| 3646 " | |
| 3647 FAIL Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <body
><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3648 </p><p id... but got Text node "Qrstuvwx" | |
| 3649 FAIL Range 23 [paras[0], 0, paras[0], 0], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3087 FAIL Range 23 [paras[0], 0, paras[0], 0], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3650 </p> | 3088 </p> |
| 3651 FAIL Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3089 FAIL Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3652 </p> | 3090 </p> |
| 3653 FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <he
ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3091 FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <he
ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3654 </p> | 3092 </p> |
| 3655 FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <bo
dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3093 FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <bo
dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3656 </p> | 3094 </p> |
| 3657 PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0] | 3095 PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0] |
| 3658 FAIL Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 3096 PASS Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] |
| 3659 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3660 " | |
| 3661 PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2] | 3097 PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2] |
| 3662 FAIL Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 3098 PASS Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] |
| 3663 </p> but got Text node "Qrstuvwx" | 3099 PASS Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] |
| 3664 FAIL Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3665 </p> but got Text node "Qrstuvwx" | |
| 3666 PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2] | 3100 PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2] |
| 3667 FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3101 FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3668 </p> | 3102 </p> |
| 3669 FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3103 FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3670 </p> | 3104 </p> |
| 3671 FAIL Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3105 PASS Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] |
| 3672 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3106 PASS Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] |
| 3673 " | |
| 3674 FAIL Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3675 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3676 PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1] | 3107 PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1] |
| 3677 FAIL Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3108 PASS Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] |
| 3678 " | 3109 PASS Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] |
| 3679 FAIL Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3110 PASS Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] |
| 3680 " | |
| 3681 FAIL Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 3682 PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3] | 3111 PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3] |
| 3683 PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1] | 3112 PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1] |
| 3684 FAIL Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | 3113 PASS Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] |
| 3685 FAIL Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | 3114 PASS Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] |
| 3686 PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96] | 3115 PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96] |
| 3687 FAIL Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3116 FAIL Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3688 </p> | 3117 </p> |
| 3689 FAIL Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3118 FAIL Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3690 </p> | 3119 </p> |
| 3691 FAIL Range 23 [paras[0], 0, paras[0], 0], 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 Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3120 FAIL Range 23 [paras[0], 0, paras[0], 0], 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 Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3692 </p> | 3121 </p> |
| 3693 FAIL Range 23 [paras[0], 0, paras[0], 0], 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 Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3122 FAIL Range 23 [paras[0], 0, paras[0], 0], 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 Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3694 </p> | 3123 </p> |
| 3695 FAIL Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3124 FAIL Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3742 </p> | 3171 </p> |
| 3743 PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0] | 3172 PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0] |
| 3744 FAIL Range 23 [paras[0], 0, paras[0], 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 3173 FAIL Range 23 [paras[0], 0, paras[0], 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 3745 selection.collapse(point[0], point[1]); | 3174 selection.collapse(point[0], point[1]); |
| 3746 }" 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 | 3175 }" 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 |
| 3747 PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1] | 3176 PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1] |
| 3748 PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0] | 3177 PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0] |
| 3749 PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0] | 3178 PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0] |
| 3750 PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1] | 3179 PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1] |
| 3751 PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0] | 3180 PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0] |
| 3752 FAIL Range 24 [paras[0], 0, paras[0], 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | 3181 PASS Range 24 [paras[0], 0, paras[0], 1], point 2 [paras[0].firstChild, 1] |
| 3753 PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2] | 3182 PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2] |
| 3754 PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8] | 3183 PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8] |
| 3755 FAIL Range 24 [paras[0], 0, paras[0], 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | 3184 PASS Range 24 [paras[0], 0, paras[0], 1], point 5 [paras[0].firstChild, 9] |
| 3756 PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10] | 3185 PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10] |
| 3757 PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535] | 3186 PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535] |
| 3758 PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1] | 3187 PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1] |
| 3759 FAIL Range 24 [paras[0], 0, paras[0], 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | 3188 PASS Range 24 [paras[0], 0, paras[0], 1], point 9 [paras[1].firstChild, 0] |
| 3760 " but got Text node "Qrstuvwx" | 3189 PASS Range 24 [paras[0], 0, paras[0], 1], point 10 [paras[1].firstChild, 1] |
| 3761 FAIL Range 24 [paras[0], 0, paras[0], 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 3190 PASS Range 24 [paras[0], 0, paras[0], 1], point 11 [paras[1].firstChild, 2] |
| 3762 " but got Text node "Qrstuvwx" | 3191 PASS Range 24 [paras[0], 0, paras[0], 1], point 12 [paras[1].firstChild, 8] |
| 3763 FAIL Range 24 [paras[0], 0, paras[0], 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | 3192 PASS Range 24 [paras[0], 0, paras[0], 1], point 13 [paras[1].firstChild, 9] |
| 3764 " but got Text node "Qrstuvwx" | |
| 3765 FAIL Range 24 [paras[0], 0, paras[0], 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3766 " but got Text node "Qrstuvwx" | |
| 3767 FAIL Range 24 [paras[0], 0, paras[0], 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3768 " but got Text node "Qrstuvwx" | |
| 3769 PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10] | 3193 PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10] |
| 3770 PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535] | 3194 PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535] |
| 3771 FAIL Range 24 [paras[0], 0, paras[0], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3195 FAIL Range 24 [paras[0], 0, paras[0], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3772 </p> | 3196 </p> |
| 3773 FAIL Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3197 FAIL Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3774 </p> | 3198 </p> |
| 3775 FAIL Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3199 FAIL Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3776 </p> | 3200 </p> |
| 3777 PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
| 3201 PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
|
| 3778 FAIL Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3202 FAIL Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3779 </p> | 3203 </p> |
| 3780 FAIL Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3204 FAIL Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3781 </p> | 3205 </p> |
| 3782 FAIL Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3206 FAIL Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3783 </p> | 3207 </p> |
| 3784 PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9] | 3208 PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9] |
| 3785 PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1
] | 3209 PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1
] |
| 3786 FAIL Range 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | 3210 PASS Range 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0]
|
| 3787 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3211 PASS Range 24 [paras[0], 0, paras[0], 1], point 26 [document.documentElement, 1]
|
| 3788 " | 3212 PASS Range 24 [paras[0], 0, paras[0], 1], point 27 [document.documentElement, 2]
|
| 3789 FAIL Range 24 [paras[0], 0, paras[0], 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3790 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3791 " | |
| 3792 FAIL Range 24 [paras[0], 0, paras[0], 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3793 <me... but got Text node "Qrstuvwx" | |
| 3794 PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
| 3213 PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
|
| 3795 FAIL Range 24 [paras[0], 0, paras[0], 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> | 3214 PASS Range 24 [paras[0], 0, paras[0], 1], point 29 [document.head, 1] |
| 3796 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3215 PASS Range 24 [paras[0], 0, paras[0], 1], point 30 [document.body, 3] |
| 3797 " | |
| 3798 FAIL Range 24 [paras[0], 0, paras[0], 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̈ḧ | |
| 3799 </p><p id... but got Text node "Qrstuvwx" | |
| 3800 FAIL Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3216 FAIL Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3801 </p> | 3217 </p> |
| 3802 FAIL Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3218 FAIL Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3803 </p> | 3219 </p> |
| 3804 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3220 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3805 </p> | 3221 </p> |
| 3806 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3222 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3807 </p> | 3223 </p> |
| 3808 FAIL Range 24 [paras[0], 0, paras[0], 1], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | 3224 PASS Range 24 [paras[0], 0, paras[0], 1], point 35 [paras[0], 0] |
| 3809 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3225 PASS Range 24 [paras[0], 0, paras[0], 1], point 36 [paras[0], 1] |
| 3810 " | |
| 3811 FAIL Range 24 [paras[0], 0, paras[0], 1], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 3812 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3813 " | |
| 3814 PASS Range 24 [paras[0], 0, paras[0], 1], point 37 [paras[0], 2] | 3226 PASS Range 24 [paras[0], 0, paras[0], 1], point 37 [paras[0], 2] |
| 3815 FAIL Range 24 [paras[0], 0, paras[0], 1], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | 3227 PASS Range 24 [paras[0], 0, paras[0], 1], point 38 [paras[1], 0] |
| 3816 </p> but got Text node "Qrstuvwx" | 3228 PASS Range 24 [paras[0], 0, paras[0], 1], point 39 [paras[1], 1] |
| 3817 FAIL Range 24 [paras[0], 0, paras[0], 1], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3818 </p> but got Text node "Qrstuvwx" | |
| 3819 PASS Range 24 [paras[0], 0, paras[0], 1], point 40 [paras[1], 2] | 3229 PASS Range 24 [paras[0], 0, paras[0], 1], point 40 [paras[1], 2] |
| 3820 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3230 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3821 </p> | 3231 </p> |
| 3822 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3232 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3823 </p> | 3233 </p> |
| 3824 FAIL Range 24 [paras[0], 0, paras[0], 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̈ḧ | 3234 PASS Range 24 [paras[0], 0, paras[0], 1], point 43 [testDiv, 0] |
| 3825 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3235 PASS Range 24 [paras[0], 0, paras[0], 1], point 44 [testDiv, 3] |
| 3826 " | |
| 3827 FAIL Range 24 [paras[0], 0, paras[0], 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̈ḧ | |
| 3828 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3829 PASS Range 24 [paras[0], 0, paras[0], 1], point 45 [document, -1] | 3236 PASS Range 24 [paras[0], 0, paras[0], 1], point 45 [document, -1] |
| 3830 FAIL Range 24 [paras[0], 0, paras[0], 1], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3237 PASS Range 24 [paras[0], 0, paras[0], 1], point 46 [document, 0] |
| 3831 " | 3238 PASS Range 24 [paras[0], 0, paras[0], 1], point 47 [document, 1] |
| 3832 FAIL Range 24 [paras[0], 0, paras[0], 1], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3239 PASS Range 24 [paras[0], 0, paras[0], 1], point 48 [document, 2] |
| 3833 " | |
| 3834 FAIL Range 24 [paras[0], 0, paras[0], 1], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 3835 PASS Range 24 [paras[0], 0, paras[0], 1], point 49 [document, 3] | 3240 PASS Range 24 [paras[0], 0, paras[0], 1], point 49 [document, 3] |
| 3836 PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1] | 3241 PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1] |
| 3837 FAIL Range 24 [paras[0], 0, paras[0], 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" | 3242 PASS Range 24 [paras[0], 0, paras[0], 1], point 51 [comment, 0] |
| 3838 FAIL Range 24 [paras[0], 0, paras[0], 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" | 3243 PASS Range 24 [paras[0], 0, paras[0], 1], point 52 [comment, 4] |
| 3839 PASS Range 24 [paras[0], 0, paras[0], 1], point 53 [comment, 96] | 3244 PASS Range 24 [paras[0], 0, paras[0], 1], point 53 [comment, 96] |
| 3840 FAIL Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3245 FAIL Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3841 </p> | 3246 </p> |
| 3842 FAIL Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3247 FAIL Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3843 </p> | 3248 </p> |
| 3844 FAIL Range 24 [paras[0], 0, paras[0], 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 Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3249 FAIL Range 24 [paras[0], 0, paras[0], 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 Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3845 </p> | 3250 </p> |
| 3846 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3251 FAIL Range 24 [paras[0], 0, paras[0], 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 Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| 3847 </p> | 3252 </p> |
| 3848 FAIL Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3253 FAIL Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3895 </p> | 3300 </p> |
| 3896 PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0] | 3301 PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0] |
| 3897 FAIL Range 24 [paras[0], 0, paras[0], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | 3302 FAIL Range 24 [paras[0], 0, paras[0], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { |
| 3898 selection.collapse(point[0], point[1]); | 3303 selection.collapse(point[0], point[1]); |
| 3899 }" 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 | 3304 }" 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 |
| 3900 PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1] | 3305 PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1] |
| 3901 PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0] | 3306 PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0] |
| 3902 PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0] | 3307 PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0] |
| 3903 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild
, -1] | 3308 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild
, -1] |
| 3904 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild
, 0] | 3309 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild
, 0] |
| 3905 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 3310 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 2 [paras[0].firstChild
, 1] |
| 3906 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild
, 2] | 3311 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild
, 2] |
| 3907 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild
, 8] | 3312 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild
, 8] |
| 3908 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 3313 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 5 [paras[0].firstChild
, 9] |
| 3909 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild
, 10] | 3314 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild
, 10] |
| 3910 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild
, 65535] | 3315 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild
, 65535] |
| 3911 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild
, -1] | 3316 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild
, -1] |
| 3912 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 3317 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 9 [paras[1].firstChild
, 0] |
| 3913 " but got Text node "Qrstuvwx" | 3318 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 10 [paras[1].firstChil
d, 1] |
| 3914 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 3319 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 11 [paras[1].firstChil
d, 2] |
| 3915 " but got Text node "Qrstuvwx" | 3320 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChil
d, 8] |
| 3916 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 3321 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 13 [paras[1].firstChil
d, 9] |
| 3917 " but got Text node "Qrstuvwx" | |
| 3918 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3919 " but got Text node "Qrstuvwx" | |
| 3920 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3921 " but got Text node "Qrstuvwx" | |
| 3922 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChil
d, 10] | 3322 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChil
d, 10] |
| 3923 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChil
d, 65535] | 3323 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChil
d, 65535] |
| 3924 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3324 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3925 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3325 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3926 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3326 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 3927 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firs
tChild, 9] | 3327 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firs
tChild, 9] |
| 3928 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3328 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 3929 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3329 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 3930 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3330 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 3931 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.first
Child, 9] | 3331 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.first
Child, 9] |
| 3932 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentE
lement, -1] | 3332 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentE
lement, -1] |
| 3933 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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> | 3333 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 25 [document.documentE
lement, 0] |
| 3934 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3334 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 26 [document.documentE
lement, 1] |
| 3935 " | 3335 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 27 [document.documentE
lement, 2] |
| 3936 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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> | |
| 3937 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3938 " | |
| 3939 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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> | |
| 3940 <me... but got Text node "Qrstuvwx" | |
| 3941 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentE
lement, 7] | 3336 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentE
lement, 7] |
| 3942 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 3337 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 29 [document.head, 1] |
| 3943 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3338 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 30 [document.body, 3] |
| 3944 " | |
| 3945 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3946 </p><p id... but got Text node "Qrstuvwx" | |
| 3947 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3339 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3948 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3340 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 3949 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3341 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 3950 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3342 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 3951 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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̈ḧ | 3343 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 35 [paras[0], 0] |
| 3952 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3344 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 36 [paras[0], 1] |
| 3953 " | |
| 3954 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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̈ḧ | |
| 3955 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3956 " | |
| 3957 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 37 [paras[0], 2] | 3345 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 37 [paras[0], 2] |
| 3958 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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 | 3346 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 38 [paras[1], 0] |
| 3959 </p> but got Text node "Qrstuvwx" | 3347 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 39 [paras[1], 1] |
| 3960 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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 | |
| 3961 </p> but got Text node "Qrstuvwx" | |
| 3962 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 40 [paras[1], 2] | 3348 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 40 [paras[1], 2] |
| 3963 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3349 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3964 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3350 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 3965 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3351 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 43 [testDiv, 0] |
| 3966 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3352 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 44 [testDiv, 3] |
| 3967 " | |
| 3968 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3969 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3970 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 45 [document, -1] | 3353 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 45 [document, -1] |
| 3971 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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̈ḧ | 3354 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 46 [document, 0] |
| 3972 " | 3355 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 47 [document, 1] |
| 3973 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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̈ḧ | 3356 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 48 [document, 2] |
| 3974 " | |
| 3975 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], 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" | |
| 3976 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 49 [document, 3] | 3357 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 49 [document, 3] |
| 3977 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1] | 3358 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1] |
| 3978 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3359 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 51 [comment, 0] |
| 3979 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3360 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 52 [comment, 4] |
| 3980 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96] | 3361 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96] |
| 3981 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3362 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3982 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3363 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 3983 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3364 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 3984 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3365 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 3985 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3366 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 3986 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1] | 3367 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1] |
| 3987 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3368 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3988 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3369 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 3989 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5] | 3370 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 4009 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3390 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 4010 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0] | 3391 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0] |
| 4011 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 3392 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 4012 selection.collapse(point[0], point[1]); | 3393 selection.collapse(point[0], point[1]); |
| 4013 }" 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 | 3394 }" 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 |
| 4014 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1] | 3395 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1] |
| 4015 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
| 3396 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
|
| 4016 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0] | 3397 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0] |
| 4017 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild
, -1] | 3398 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild
, -1] |
| 4018 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild
, 0] | 3399 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild
, 0] |
| 4019 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | 3400 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 2 [paras[0].firstChild
, 1] |
| 4020 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild
, 2] | 3401 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild
, 2] |
| 4021 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild
, 8] | 3402 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild
, 8] |
| 4022 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | 3403 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 5 [paras[0].firstChild
, 9] |
| 4023 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild
, 10] | 3404 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild
, 10] |
| 4024 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild
, 65535] | 3405 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild
, 65535] |
| 4025 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild
, -1] | 3406 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild
, -1] |
| 4026 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | 3407 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 9 [paras[1].firstChild
, 0] |
| 4027 " but got Text node "Qrstuvwx" | 3408 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 10 [paras[1].firstChil
d, 1] |
| 4028 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 3409 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 11 [paras[1].firstChil
d, 2] |
| 4029 " but got Text node "Qrstuvwx" | 3410 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChil
d, 8] |
| 4030 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 3411 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 13 [paras[1].firstChil
d, 9] |
| 4031 " but got Text node "Qrstuvwx" | |
| 4032 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4033 " but got Text node "Qrstuvwx" | |
| 4034 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4035 " but got Text node "Qrstuvwx" | |
| 4036 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChil
d, 10] | 3412 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChil
d, 10] |
| 4037 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChil
d, 65535] | 3413 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChil
d, 65535] |
| 4038 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3414 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 4039 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3415 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 4040 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | 3416 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 |
| 4041 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firs
tChild, 9] | 3417 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firs
tChild, 9] |
| 4042 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3418 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 4043 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3419 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 4044 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3420 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
| 4045 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.first
Child, 9] | 3421 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.first
Child, 9] |
| 4046 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentE
lement, -1] | 3422 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentE
lement, -1] |
| 4047 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | 3423 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentE
lement, 0] |
| 4048 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3424 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 26 [document.documentE
lement, 1] |
| 4049 " | 3425 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentE
lement, 2] |
| 4050 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 4051 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4052 " | |
| 4053 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 4054 <me... but got Text node "Qrstuvwx" | |
| 4055 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentE
lement, 7] | 3426 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentE
lement, 7] |
| 4056 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 3427 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 29 [document.head, 1] |
| 4057 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3428 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 30 [document.body, 3] |
| 4058 " | |
| 4059 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4060 </p><p id... but got Text node "Qrstuvwx" | |
| 4061 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3429 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 4062 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3430 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
| 4063 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3431 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 4064 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3432 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 4065 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3433 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 35 [paras[0], 0] |
| 4066 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3434 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 36 [paras[0], 1] |
| 4067 " | |
| 4068 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4069 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4070 " | |
| 4071 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 37 [paras[0], 2] | 3435 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 37 [paras[0], 2] |
| 4072 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | 3436 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 38 [paras[1], 0] |
| 4073 </p> but got Text node "Qrstuvwx" | 3437 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 39 [paras[1], 1] |
| 4074 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 4075 </p> but got Text node "Qrstuvwx" | |
| 4076 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 40 [paras[1], 2] | 3438 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 40 [paras[1], 2] |
| 4077 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3439 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 4078 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | 3440 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 |
| 4079 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3441 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 43 [testDiv, 0] |
| 4080 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3442 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 44 [testDiv, 3] |
| 4081 " | |
| 4082 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4083 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4084 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 45 [document, -1] | 3443 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 45 [document, -1] |
| 4085 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3444 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 46 [document, 0] |
| 4086 " | 3445 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 47 [document, 1] |
| 4087 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3446 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 48 [document, 2] |
| 4088 " | |
| 4089 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 4090 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 49 [document, 3] | 3447 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 49 [document, 3] |
| 4091 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1] | 3448 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1] |
| 4092 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3449 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 51 [comment, 0] |
| 4093 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | 3450 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 52 [comment, 4] |
| 4094 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96] | 3451 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96] |
| 4095 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3452 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 4096 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3453 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 4097 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3454 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
| 4098 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3455 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
| 4099 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3456 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
| 4100 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1] | 3457 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1] |
| 4101 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3458 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 4102 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3459 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
| 4103 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5] | 3460 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 4123 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3480 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
| 4124 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0] | 3481 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0] |
| 4125 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 3482 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 4126 selection.collapse(point[0], point[1]); | 3483 selection.collapse(point[0], point[1]); |
| 4127 }" 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 | 3484 }" 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 |
| 4128 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1] | 3485 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1] |
| 4129 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
| 3486 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
|
| 4130 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0] | 3487 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0] |
| 4131 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0
].firstChild, -1] | 3488 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0
].firstChild, -1] |
| 4132 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0
].firstChild, 0] | 3489 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0
].firstChild, 0] |
| 4133 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 3490 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0
].firstChild, 1] |
| 4134 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0
].firstChild, 2] | 3491 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0
].firstChild, 2] |
| 4135 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0
].firstChild, 8] | 3492 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0
].firstChild, 8] |
| 4136 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 3493 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0
].firstChild, 9] |
| 4137 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0
].firstChild, 10] | 3494 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0
].firstChild, 10] |
| 4138 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0
].firstChild, 65535] | 3495 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0
].firstChild, 65535] |
| 4139 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1
].firstChild, -1] | 3496 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1
].firstChild, -1] |
| 4140 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3497 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1
].firstChild, 0] |
| 4141 " but got Text node "Qrstuvwx" | 3498 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[
1].firstChild, 1] |
| 4142 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3499 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[
1].firstChild, 2] |
| 4143 " but got Text node "Qrstuvwx" | 3500 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[
1].firstChild, 8] |
| 4144 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3501 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[
1].firstChild, 9] |
| 4145 " but got Text node "Qrstuvwx" | |
| 4146 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4147 " but got Text node "Qrstuvwx" | |
| 4148 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4149 " but got Text node "Qrstuvwx" | |
| 4150 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[
1].firstChild, 10] | 3502 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[
1].firstChild, 10] |
| 4151 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[
1].firstChild, 65535] | 3503 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[
1].firstChild, 65535] |
| 4152 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3504 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4153 " | 3505 " |
| 4154 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3506 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4155 " | 3507 " |
| 4156 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3508 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4157 " | 3509 " |
| 4158 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detach
edPara1.firstChild, 9] | 3510 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detach
edPara1.firstChild, 9] |
| 4159 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3511 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4160 " | 3512 " |
| 4161 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3513 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4162 " | 3514 " |
| 4163 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3515 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4164 " | 3516 " |
| 4165 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreig
nPara1.firstChild, 9] | 3517 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreig
nPara1.firstChild, 9] |
| 4166 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [docume
nt.documentElement, -1] | 3518 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [docume
nt.documentElement, -1] |
| 4167 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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
> | 3519 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 25 [docume
nt.documentElement, 0] |
| 4168 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3520 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 26 [docume
nt.documentElement, 1] |
| 4169 " | 3521 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 27 [docume
nt.documentElement, 2] |
| 4170 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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
> | |
| 4171 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4172 " | |
| 4173 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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
> | |
| 4174 <me... but got Text node "Qrstuvwx" | |
| 4175 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [docume
nt.documentElement, 7] | 3522 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [docume
nt.documentElement, 7] |
| 4176 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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> | 3523 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 29 [docume
nt.head, 1] |
| 4177 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3524 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 30 [docume
nt.body, 3] |
| 4178 " | |
| 4179 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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̈ḧ | |
| 4180 </p><p id... but got Text node "Qrstuvwx" | |
| 4181 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | 3525 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop |
| 4182 " | 3526 " |
| 4183 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | 3527 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop |
| 4184 " | 3528 " |
| 4185 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop | 3529 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop |
| 4186 " | 3530 " |
| 4187 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop | 3531 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop |
| 4188 " | 3532 " |
| 4189 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3533 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[
0], 0] |
| 4190 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3534 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[
0], 1] |
| 4191 " | |
| 4192 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4193 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4194 " | |
| 4195 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[
0], 2] | 3535 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[
0], 2] |
| 4196 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | 3536 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[
1], 0] |
| 4197 </p> but got Text node "Qrstuvwx" | 3537 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[
1], 1] |
| 4198 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4199 </p> but got Text node "Qrstuvwx" | |
| 4200 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[
1], 2] | 3538 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[
1], 2] |
| 4201 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 3539 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 4202 " | 3540 " |
| 4203 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 3541 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 4204 " | 3542 " |
| 4205 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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̈ḧ | 3543 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 43 [testDi
v, 0] |
| 4206 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3544 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 44 [testDi
v, 3] |
| 4207 " | |
| 4208 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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̈ḧ | |
| 4209 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4210 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 45 [docume
nt, -1] | 3545 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 45 [docume
nt, -1] |
| 4211 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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̈ḧ | 3546 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 46 [docume
nt, 0] |
| 4212 " | 3547 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 47 [docume
nt, 1] |
| 4213 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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̈ḧ | 3548 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 48 [docume
nt, 2] |
| 4214 " | |
| 4215 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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" | |
| 4216 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 49 [docume
nt, 3] | 3549 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 49 [docume
nt, 3] |
| 4217 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [commen
t, -1] | 3550 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [commen
t, -1] |
| 4218 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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" | 3551 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 51 [commen
t, 0] |
| 4219 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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" | 3552 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 52 [commen
t, 4] |
| 4220 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [commen
t, 96] | 3553 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [commen
t, 96] |
| 4221 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 3554 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 4222 " | 3555 " |
| 4223 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 3556 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 4224 " | 3557 " |
| 4225 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop | 3558 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop |
| 4226 " | 3559 " |
| 4227 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreig
nTextNode, 0] 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 Text node "Ijklmnop | 3560 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreig
nTextNode, 0] 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 Text node "Ijklmnop |
| 4228 " | 3561 " |
| 4229 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop | 3562 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4276 " | 3609 " |
| 4277 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctyp
e, 0] | 3610 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctyp
e, 0] |
| 4278 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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 () { | 3611 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], 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 () { |
| 4279 selection.collapse(point[0], point[1]); | 3612 selection.collapse(point[0], point[1]); |
| 4280 }" 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 | 3613 }" 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 |
| 4281 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctyp
e, 1] | 3614 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctyp
e, 1] |
| 4282 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
nDoctype, 0] | 3615 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
nDoctype, 0] |
| 4283 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoc
type, 0] | 3616 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoc
type, 0] |
| 4284 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0
].firstChild, -1] | 3617 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0
].firstChild, -1] |
| 4285 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0
].firstChild, 0] | 3618 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0
].firstChild, 0] |
| 4286 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 3619 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 2 [paras[0
].firstChild, 1] |
| 4287 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0
].firstChild, 2] | 3620 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0
].firstChild, 2] |
| 4288 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0
].firstChild, 8] | 3621 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0
].firstChild, 8] |
| 4289 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 3622 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 5 [paras[0
].firstChild, 9] |
| 4290 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0
].firstChild, 10] | 3623 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0
].firstChild, 10] |
| 4291 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0
].firstChild, 65535] | 3624 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0
].firstChild, 65535] |
| 4292 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1
].firstChild, -1] | 3625 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1
].firstChild, -1] |
| 4293 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3626 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 9 [paras[1
].firstChild, 0] |
| 4294 " but got Text node "Qrstuvwx" | 3627 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 10 [paras[
1].firstChild, 1] |
| 4295 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3628 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 11 [paras[
1].firstChild, 2] |
| 4296 " but got Text node "Qrstuvwx" | 3629 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[
1].firstChild, 8] |
| 4297 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 3630 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 13 [paras[
1].firstChild, 9] |
| 4298 " but got Text node "Qrstuvwx" | |
| 4299 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4300 " but got Text node "Qrstuvwx" | |
| 4301 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4302 " but got Text node "Qrstuvwx" | |
| 4303 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[
1].firstChild, 10] | 3631 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[
1].firstChild, 10] |
| 4304 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[
1].firstChild, 65535] | 3632 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[
1].firstChild, 65535] |
| 4305 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3633 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4306 " | 3634 " |
| 4307 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3635 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4308 " | 3636 " |
| 4309 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | 3637 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop |
| 4310 " | 3638 " |
| 4311 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detach
edPara1.firstChild, 9] | 3639 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detach
edPara1.firstChild, 9] |
| 4312 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3640 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4313 " | 3641 " |
| 4314 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3642 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4315 " | 3643 " |
| 4316 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | 3644 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop |
| 4317 " | 3645 " |
| 4318 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreig
nPara1.firstChild, 9] | 3646 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreig
nPara1.firstChild, 9] |
| 4319 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [docume
nt.documentElement, -1] | 3647 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [docume
nt.documentElement, -1] |
| 4320 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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
> | 3648 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 25 [docume
nt.documentElement, 0] |
| 4321 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3649 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 26 [docume
nt.documentElement, 1] |
| 4322 " | 3650 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 27 [docume
nt.documentElement, 2] |
| 4323 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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
> | |
| 4324 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4325 " | |
| 4326 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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
> | |
| 4327 <me... but got Text node "Qrstuvwx" | |
| 4328 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [docume
nt.documentElement, 7] | 3651 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [docume
nt.documentElement, 7] |
| 4329 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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> | 3652 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 29 [docume
nt.head, 1] |
| 4330 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3653 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 30 [docume
nt.body, 3] |
| 4331 " | |
| 4332 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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̈ḧ | |
| 4333 </p><p id... but got Text node "Qrstuvwx" | |
| 4334 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | 3654 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop |
| 4335 " | 3655 " |
| 4336 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | 3656 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop |
| 4337 " | 3657 " |
| 4338 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop | 3658 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop |
| 4339 " | 3659 " |
| 4340 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop | 3660 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop |
| 4341 " | 3661 " |
| 4342 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 3662 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 35 [paras[
0], 0] |
| 4343 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3663 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 36 [paras[
0], 1] |
| 4344 " | |
| 4345 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4346 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4347 " | |
| 4348 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 37 [paras[
0], 2] | 3664 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 37 [paras[
0], 2] |
| 4349 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | 3665 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 38 [paras[
1], 0] |
| 4350 </p> but got Text node "Qrstuvwx" | 3666 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 39 [paras[
1], 1] |
| 4351 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4352 </p> but got Text node "Qrstuvwx" | |
| 4353 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 40 [paras[
1], 2] | 3667 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 40 [paras[
1], 2] |
| 4354 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 3668 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 4355 " | 3669 " |
| 4356 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | 3670 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop |
| 4357 " | 3671 " |
| 4358 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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̈ḧ | 3672 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 43 [testDi
v, 0] |
| 4359 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3673 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 44 [testDi
v, 3] |
| 4360 " | |
| 4361 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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̈ḧ | |
| 4362 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4363 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 45 [docume
nt, -1] | 3674 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 45 [docume
nt, -1] |
| 4364 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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̈ḧ | 3675 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 46 [docume
nt, 0] |
| 4365 " | 3676 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 47 [docume
nt, 1] |
| 4366 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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̈ḧ | 3677 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 48 [docume
nt, 2] |
| 4367 " | |
| 4368 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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" | |
| 4369 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 49 [docume
nt, 3] | 3678 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 49 [docume
nt, 3] |
| 4370 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [commen
t, -1] | 3679 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [commen
t, -1] |
| 4371 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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" | 3680 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 51 [commen
t, 0] |
| 4372 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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" | 3681 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 52 [commen
t, 4] |
| 4373 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [commen
t, 96] | 3682 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [commen
t, 96] |
| 4374 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 3683 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 4375 " | 3684 " |
| 4376 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | 3685 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop |
| 4377 " | 3686 " |
| 4378 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop | 3687 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop |
| 4379 " | 3688 " |
| 4380 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreig
nTextNode, 0] 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 Text node "Ijklmnop | 3689 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreig
nTextNode, 0] 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 Text node "Ijklmnop |
| 4381 " | 3690 " |
| 4382 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop | 3691 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4429 " | 3738 " |
| 4430 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctyp
e, 0] | 3739 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctyp
e, 0] |
| 4431 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 () { | 3740 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 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 () { |
| 4432 selection.collapse(point[0], point[1]); | 3741 selection.collapse(point[0], point[1]); |
| 4433 }" 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 | 3742 }" 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 |
| 4434 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctyp
e, 1] | 3743 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctyp
e, 1] |
| 4435 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
nDoctype, 0] | 3744 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
nDoctype, 0] |
| 4436 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoc
type, 0] | 3745 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoc
type, 0] |
| 4437 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChil
d, -1] | 3746 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChil
d, -1] |
| 4438 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChil
d, 0] | 3747 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChil
d, 0] |
| 4439 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 2 [paras[0].firstChil
d, 1] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 1 but got 2 | 3748 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 2 [paras[0].firstChil
d, 1] |
| 4440 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChil
d, 2] | 3749 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChil
d, 2] |
| 4441 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChil
d, 8] | 3750 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChil
d, 8] |
| 4442 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 5 [paras[0].firstChil
d, 9] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 9 but got 10 | 3751 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 5 [paras[0].firstChil
d, 9] |
| 4443 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChil
d, 10] | 3752 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChil
d, 10] |
| 4444 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChil
d, 65535] | 3753 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChil
d, 65535] |
| 4445 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChil
d, -1] | 3754 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChil
d, -1] |
| 4446 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 9 [paras[1].firstChil
d, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | 3755 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 9 [paras[1].firstChil
d, 0] |
| 4447 " but got Text node "Qrstuvwx" | 3756 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 10 [paras[1].firstChi
ld, 1] |
| 4448 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 10 [paras[1].firstChi
ld, 1] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 3757 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 11 [paras[1].firstChi
ld, 2] |
| 4449 " but got Text node "Qrstuvwx" | 3758 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChi
ld, 8] |
| 4450 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 11 [paras[1].firstChi
ld, 2] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | 3759 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 13 [paras[1].firstChi
ld, 9] |
| 4451 " but got Text node "Qrstuvwx" | |
| 4452 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChi
ld, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4453 " but got Text node "Qrstuvwx" | |
| 4454 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4455 " but got Text node "Qrstuvwx" | |
| 4456 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChi
ld, 10] | 3760 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChi
ld, 10] |
| 4457 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChi
ld, 65535] | 3761 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChi
ld, 65535] |
| 4458 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | 3762 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> |
| 4459 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | 3763 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> |
| 4460 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | 3764 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> |
| 4461 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.fir
stChild, 9] | 3765 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.fir
stChild, 9] |
| 4462 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | 3766 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> |
| 4463 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | 3767 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> |
| 4464 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | 3768 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> |
| 4465 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firs
tChild, 9] | 3769 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firs
tChild, 9] |
| 4466 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.document
Element, -1] | 3770 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.document
Element, -1] |
| 4467 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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> | 3771 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 25 [document.document
Element, 0] |
| 4468 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3772 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 26 [document.document
Element, 1] |
| 4469 " | 3773 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 27 [document.document
Element, 2] |
| 4470 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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> | |
| 4471 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4472 " | |
| 4473 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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> | |
| 4474 <me... but got Text node "Qrstuvwx" | |
| 4475 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.document
Element, 7] | 3774 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.document
Element, 7] |
| 4476 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | 3775 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 29 [document.head, 1]
|
| 4477 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3776 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 30 [document.body, 3]
|
| 4478 " | |
| 4479 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4480 </p><p id... but got Text node "Qrstuvwx" | |
| 4481 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef</p> | 3777 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef</p> |
| 4482 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef</p> | 3778 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef</p> |
| 4483 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <head><title></title></head> but got Element node <p id="d" style="displ
ay:none">Yzabcdef</p> | 3779 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <head><title></title></head> but got Element node <p id="d" style="displ
ay:none">Yzabcdef</p> |
| 4484 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> | 3780 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> |
| 4485 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | 3781 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 35 [paras[0], 0] |
| 4486 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3782 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 36 [paras[0], 1] |
| 4487 " | |
| 4488 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | |
| 4489 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4490 " | |
| 4491 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 37 [paras[0], 2] | 3783 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 37 [paras[0], 2] |
| 4492 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 | 3784 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 38 [paras[1], 0] |
| 4493 </p> but got Text node "Qrstuvwx" | 3785 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 39 [paras[1], 1] |
| 4494 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 | |
| 4495 </p> but got Text node "Qrstuvwx" | |
| 4496 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 40 [paras[1], 2] | 3786 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 40 [paras[1], 2] |
| 4497 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> | 3787 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> |
| 4498 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> | 3788 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> |
| 4499 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | 3789 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 43 [testDiv, 0] |
| 4500 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3790 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 44 [testDiv, 3] |
| 4501 " | |
| 4502 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | |
| 4503 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4504 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 45 [document, -1] | 3791 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 45 [document, -1] |
| 4505 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | 3792 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 46 [document, 0] |
| 4506 " | 3793 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 47 [document, 1] |
| 4507 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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̈ḧ | 3794 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 48 [document, 2] |
| 4508 " | |
| 4509 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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" | |
| 4510 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 49 [document, 3] | 3795 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 49 [document, 3] |
| 4511 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1] | 3796 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1] |
| 4512 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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" | 3797 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 51 [comment, 0] |
| 4513 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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" | 3798 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 52 [comment, 4] |
| 4514 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96] | 3799 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96] |
| 4515 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef
</p> | 3800 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef
</p> |
| 4516 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef
</p> | 3801 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], 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 Element node <p id="d" style="display:none">Yzabcdef
</p> |
| 4517 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--"Commenter" and "commentator" mean different things. I'v...--> but g
ot Element node <p id="d" style="display:none">Yzabcdef</p> | 3802 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--"Commenter" and "commentator" mean different things. I'v...--> but g
ot Element node <p id="d" style="display:none">Yzabcdef</p> |
| 4518 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Elem
ent node <p id="d" style="display:none">Yzabcdef</p> | 3803 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Elem
ent node <p id="d" style="display:none">Yzabcdef</p> |
| 4519 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> | 3804 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> |
| 4520 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1] | 3805 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1] |
| 4521 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> | 3806 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> |
| 4522 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> | 3807 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> |
| 4523 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5] | 3808 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 4543 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr
agment node with 0 children but got Element node <p id="d" style="display:none">
Yzabcdef</p> | 3828 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr
agment node with 0 children but got Element node <p id="d" style="display:none">
Yzabcdef</p> |
| 4544 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] | 3829 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] |
| 4545 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | 3830 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { |
| 4546 selection.collapse(point[0], point[1]); | 3831 selection.collapse(point[0], point[1]); |
| 4547 }" 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 | 3832 }" 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 |
| 4548 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] | 3833 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] |
| 4549 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0
] | 3834 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0
] |
| 4550 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] | 3835 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] |
| 4551 Harness: the test ran to completion. | 3836 Harness: the test ran to completion. |
| 4552 | 3837 |
| OLD | NEW |