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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 " but got Text node "Qrstuvwx" | 486 " but got Text node "Qrstuvwx" |
487 FAIL Range 0 [], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | 487 FAIL Range 0 [], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop |
488 " but got Text node "Qrstuvwx" | 488 " but got Text node "Qrstuvwx" |
489 FAIL Range 0 [], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | 489 FAIL Range 0 [], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop |
490 " but got Text node "Qrstuvwx" | 490 " but got Text node "Qrstuvwx" |
491 PASS Range 0 [], point 14 [paras[1].firstChild, 10] | 491 PASS Range 0 [], point 14 [paras[1].firstChild, 10] |
492 PASS Range 0 [], point 15 [paras[1].firstChild, 65535] | 492 PASS Range 0 [], point 15 [paras[1].firstChild, 65535] |
493 FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 493 FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
494 FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 494 FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
495 FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | 495 FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 |
496 FAIL Range 0 [], point 19 [detachedPara1.firstChild, 9] assert_throws: Must thro
w INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater than th
e node's length function "function () { | 496 PASS Range 0 [], point 19 [detachedPara1.firstChild, 9] |
497 selection.collapse(point[0], point[1]); | |
498 }" did not throw | |
499 FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 497 FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
500 FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 498 FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
501 FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 499 FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
502 FAIL Range 0 [], point 23 [foreignPara1.firstChild, 9] assert_throws: Must throw
INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater than the
node's length function "function () { | 500 PASS Range 0 [], point 23 [foreignPara1.firstChild, 9] |
503 selection.collapse(point[0], point[1]); | |
504 }" did not throw | |
505 PASS Range 0 [], point 24 [document.documentElement, -1] | 501 PASS Range 0 [], point 24 [document.documentElement, -1] |
506 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> | 502 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> |
507 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 503 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
508 " | 504 " |
509 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> | 505 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> |
510 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 506 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
511 " | 507 " |
512 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> | 508 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> |
513 <me... but got Text node "Qrstuvwx" | 509 <me... but got Text node "Qrstuvwx" |
514 PASS Range 0 [], point 28 [document.documentElement, 7] | 510 PASS Range 0 [], point 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 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" | 548 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" |
553 PASS Range 0 [], point 53 [comment, 96] | 549 PASS Range 0 [], point 53 [comment, 96] |
554 FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 550 FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
555 FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 551 FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
556 FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 | 552 FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 |
557 FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 553 FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
558 FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | 554 FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 |
559 PASS Range 0 [], point 59 [xmlDoc, -1] | 555 PASS Range 0 [], point 59 [xmlDoc, -1] |
560 FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | 556 FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 |
561 FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | 557 FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 |
562 FAIL Range 0 [], point 62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR w
hen collapse()ing if the offset is negative or greater than the node's length fu
nction "function () { | 558 PASS Range 0 [], point 62 [xmlDoc, 5] |
563 selection.collapse(point[0], point[1]); | |
564 }" did not throw | |
565 FAIL Range 0 [], point 63 [xmlComment, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 559 FAIL Range 0 [], point 63 [xmlComment, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
566 FAIL Range 0 [], point 64 [xmlComment, 4] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 560 FAIL Range 0 [], point 64 [xmlComment, 4] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
567 FAIL Range 0 [], point 65 [processingInstruction, 0] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | 561 FAIL Range 0 [], point 65 [processingInstruction, 0] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 |
568 FAIL Range 0 [], point 66 [processingInstruction, 5] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | 562 FAIL Range 0 [], point 66 [processingInstruction, 5] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 |
569 FAIL Range 0 [], point 67 [processingInstruction, 9] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | 563 FAIL Range 0 [], point 67 [processingInstruction, 9] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 |
570 FAIL Range 0 [], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | 564 FAIL Range 0 [], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 |
571 FAIL Range 0 [], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | 565 FAIL Range 0 [], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 |
572 FAIL Range 0 [], point 70 [detachedForeignTextNode, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 566 FAIL Range 0 [], point 70 [detachedForeignTextNode, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
573 FAIL Range 0 [], point 71 [detachedForeignTextNode, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | 567 FAIL Range 0 [], point 71 [detachedForeignTextNode, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 |
574 FAIL Range 0 [], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 | 568 FAIL Range 0 [], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 |
575 FAIL Range 0 [], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 | 569 FAIL Range 0 [], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 |
576 FAIL Range 0 [], point 74 [detachedProcessingInstruction, 12] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 570 FAIL Range 0 [], point 74 [detachedProcessingInstruction, 12] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
577 FAIL Range 0 [], point 75 [detachedComment, 3] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 571 FAIL Range 0 [], point 75 [detachedComment, 3] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
578 FAIL Range 0 [], point 76 [detachedComment, 5] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | 572 FAIL Range 0 [], point 76 [detachedComment, 5] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 |
579 FAIL Range 0 [], point 77 [detachedForeignComment, 0] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 | 573 FAIL Range 0 [], point 77 [detachedForeignComment, 0] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 |
580 FAIL Range 0 [], point 78 [detachedForeignComment, 4] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 | 574 FAIL Range 0 [], point 78 [detachedForeignComment, 4] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 |
581 FAIL Range 0 [], point 79 [detachedXmlComment, 2] assert_equals: selection.range
Count must equal 1 after collapse() expected 1 but got 0 | 575 FAIL Range 0 [], point 79 [detachedXmlComment, 2] assert_equals: selection.range
Count must equal 1 after collapse() expected 1 but got 0 |
582 FAIL Range 0 [], point 80 [docfrag, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | 576 FAIL Range 0 [], point 80 [docfrag, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 |
583 FAIL Range 0 [], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 | 577 FAIL Range 0 [], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 |
584 FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | 578 FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 |
585 PASS Range 0 [], point 83 [doctype, 0] | 579 PASS Range 0 [], point 83 [doctype, 0] |
586 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 ()
{ | 580 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 ()
{ |
587 selection.collapse(point[0], point[1]); | 581 selection.collapse(point[0], point[1]); |
588 }" 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 | 582 }" 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 |
589 PASS Range 0 [], point 85 [doctype, 1] | 583 PASS Range 0 [], point 85 [doctype, 1] |
590 FAIL Range 0 [], point 86 [foreignDoctype, 0] assert_throws: Must throw INVALID_
NODE_TYPE_ERR when collapse()ing if the node is a DocumentType function "functio
n () { | 584 PASS Range 0 [], point 86 [foreignDoctype, 0] |
591 selection.collapse(point[0], point[1]); | 585 PASS Range 0 [], point 87 [xmlDoctype, 0] |
592 }" did not throw | |
593 FAIL Range 0 [], point 87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE
_TYPE_ERR when collapse()ing if the node is a DocumentType function "function ()
{ | |
594 selection.collapse(point[0], point[1]); | |
595 }" did not throw | |
596 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | 586 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0]
.firstChild, -1] |
597 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | 587 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0]
.firstChild, 0] |
598 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 | 588 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 |
599 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | 589 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0]
.firstChild, 2] |
600 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | 590 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0]
.firstChild, 8] |
601 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 | 591 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 |
602 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | 592 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0]
.firstChild, 10] |
603 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | 593 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] |
604 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | 594 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1]
.firstChild, -1] |
605 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 | 595 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 |
606 " but got Text node "Qrstuvwx" | 596 " but got Text node "Qrstuvwx" |
607 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 | 597 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 |
608 " but got Text node "Qrstuvwx" | 598 " but got Text node "Qrstuvwx" |
609 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 | 599 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 |
610 " but got Text node "Qrstuvwx" | 600 " but got Text node "Qrstuvwx" |
611 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 | 601 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 |
612 " but got Text node "Qrstuvwx" | 602 " but got Text node "Qrstuvwx" |
613 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 | 603 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 |
614 " but got Text node "Qrstuvwx" | 604 " but got Text node "Qrstuvwx" |
615 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1
].firstChild, 10] | 605 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1
].firstChild, 10] |
616 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | 606 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1
].firstChild, 65535] |
617 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̈ḧ | 607 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̈ḧ |
618 " | 608 " |
619 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̈ḧ | 609 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̈ḧ |
620 " | 610 " |
621 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̈ḧ | 611 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̈ḧ |
622 " | 612 " |
623 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 613 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] |
624 selection.collapse(point[0], point[1]); | |
625 }" did not throw | |
626 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̈ḧ | 614 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̈ḧ |
627 " | 615 " |
628 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̈ḧ | 616 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̈ḧ |
629 " | 617 " |
630 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̈ḧ | 618 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̈ḧ |
631 " | 619 " |
632 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 620 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] |
633 selection.collapse(point[0], point[1]); | |
634 }" did not throw | |
635 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [documen
t.documentElement, -1] | 621 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [documen
t.documentElement, -1] |
636 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> | 622 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> |
637 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 623 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
638 " | 624 " |
639 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> | 625 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> |
640 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 626 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
641 " | 627 " |
642 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> | 628 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> |
643 <me... but got Text node "Qrstuvwx" | 629 <me... but got Text node "Qrstuvwx" |
644 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [documen
t.documentElement, 7] | 630 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [documen
t.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 " | 681 " |
696 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̈ḧ | 682 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̈ḧ |
697 " | 683 " |
698 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̈ḧ | 684 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̈ḧ |
699 " | 685 " |
700 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc,
-1] | 686 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc,
-1] |
701 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 687 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
702 " | 688 " |
703 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 689 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
704 " | 690 " |
705 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 691 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc,
5] |
706 selection.collapse(point[0], point[1]); | |
707 }" did not throw | |
708 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 692 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
709 " | 693 " |
710 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 694 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
711 " | 695 " |
712 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 696 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
713 " | 697 " |
714 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 698 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
715 " | 699 " |
716 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 700 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
717 " | 701 " |
(...skipping 25 matching lines...) Expand all Loading... |
743 " | 727 " |
744 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 728 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
745 " | 729 " |
746 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 730 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
747 " | 731 " |
748 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype
, 0] | 732 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype
, 0] |
749 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 () { | 733 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 () { |
750 selection.collapse(point[0], point[1]); | 734 selection.collapse(point[0], point[1]); |
751 }" 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 | 735 }" 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 |
752 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype
, 1] | 736 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype
, 1] |
753 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 737 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
Doctype, 0] |
754 selection.collapse(point[0], point[1]); | 738 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoct
ype, 0] |
755 }" did not throw | |
756 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
757 selection.collapse(point[0], point[1]); | |
758 }" did not throw | |
759 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | 739 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0]
.firstChild, -1] |
760 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | 740 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0]
.firstChild, 0] |
761 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 | 741 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 |
762 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | 742 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0]
.firstChild, 2] |
763 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | 743 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0]
.firstChild, 8] |
764 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 | 744 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 |
765 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | 745 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0]
.firstChild, 10] |
766 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | 746 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] |
767 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | 747 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1]
.firstChild, -1] |
768 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 | 748 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 |
769 " but got Text node "Qrstuvwx" | 749 " but got Text node "Qrstuvwx" |
770 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 | 750 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 |
771 " but got Text node "Qrstuvwx" | 751 " but got Text node "Qrstuvwx" |
772 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 | 752 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 |
773 " but got Text node "Qrstuvwx" | 753 " but got Text node "Qrstuvwx" |
774 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 | 754 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 |
775 " but got Text node "Qrstuvwx" | 755 " but got Text node "Qrstuvwx" |
776 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 | 756 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 |
777 " but got Text node "Qrstuvwx" | 757 " but got Text node "Qrstuvwx" |
778 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1
].firstChild, 10] | 758 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1
].firstChild, 10] |
779 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | 759 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1
].firstChild, 65535] |
780 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̈ḧ | 760 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̈ḧ |
781 " | 761 " |
782 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̈ḧ | 762 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̈ḧ |
783 " | 763 " |
784 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̈ḧ | 764 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̈ḧ |
785 " | 765 " |
786 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 766 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] |
787 selection.collapse(point[0], point[1]); | |
788 }" did not throw | |
789 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̈ḧ | 767 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̈ḧ |
790 " | 768 " |
791 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̈ḧ | 769 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̈ḧ |
792 " | 770 " |
793 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̈ḧ | 771 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̈ḧ |
794 " | 772 " |
795 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 773 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] |
796 selection.collapse(point[0], point[1]); | |
797 }" did not throw | |
798 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [documen
t.documentElement, -1] | 774 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [documen
t.documentElement, -1] |
799 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> | 775 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> |
800 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 776 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
801 " | 777 " |
802 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> | 778 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> |
803 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 779 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
804 " | 780 " |
805 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> | 781 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> |
806 <me... but got Text node "Qrstuvwx" | 782 <me... but got Text node "Qrstuvwx" |
807 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [documen
t.documentElement, 7] | 783 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [documen
t.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 " | 834 " |
859 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̈ḧ | 835 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̈ḧ |
860 " | 836 " |
861 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̈ḧ | 837 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̈ḧ |
862 " | 838 " |
863 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc,
-1] | 839 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc,
-1] |
864 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 840 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
865 " | 841 " |
866 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 842 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
867 " | 843 " |
868 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 844 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc,
5] |
869 selection.collapse(point[0], point[1]); | |
870 }" did not throw | |
871 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 845 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
872 " | 846 " |
873 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 847 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
874 " | 848 " |
875 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 849 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
876 " | 850 " |
877 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 851 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
878 " | 852 " |
879 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 853 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
880 " | 854 " |
(...skipping 25 matching lines...) Expand all Loading... |
906 " | 880 " |
907 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 881 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
908 " | 882 " |
909 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 883 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
910 " | 884 " |
911 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype
, 0] | 885 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype
, 0] |
912 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 () { | 886 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 () { |
913 selection.collapse(point[0], point[1]); | 887 selection.collapse(point[0], point[1]); |
914 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | 888 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 |
915 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype
, 1] | 889 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype
, 1] |
916 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 890 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
Doctype, 0] |
917 selection.collapse(point[0], point[1]); | 891 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoct
ype, 0] |
918 }" did not throw | |
919 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
920 selection.collapse(point[0], point[1]); | |
921 }" did not throw | |
922 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | 892 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0]
.firstChild, -1] |
923 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | 893 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0]
.firstChild, 0] |
924 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 | 894 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 |
925 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | 895 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0]
.firstChild, 2] |
926 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | 896 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0]
.firstChild, 8] |
927 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 | 897 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 |
928 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | 898 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0]
.firstChild, 10] |
929 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | 899 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] |
930 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | 900 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1]
.firstChild, -1] |
931 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 | 901 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 |
932 " but got Text node "Qrstuvwx" | 902 " but got Text node "Qrstuvwx" |
933 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 | 903 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 |
934 " but got Text node "Qrstuvwx" | 904 " but got Text node "Qrstuvwx" |
935 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 | 905 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 |
936 " but got Text node "Qrstuvwx" | 906 " but got Text node "Qrstuvwx" |
937 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 | 907 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 |
938 " but got Text node "Qrstuvwx" | 908 " but got Text node "Qrstuvwx" |
939 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 | 909 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 |
940 " but got Text node "Qrstuvwx" | 910 " but got Text node "Qrstuvwx" |
941 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1
].firstChild, 10] | 911 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1
].firstChild, 10] |
942 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | 912 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1
].firstChild, 65535] |
943 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̈ḧ | 913 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̈ḧ |
944 " | 914 " |
945 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̈ḧ | 915 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̈ḧ |
946 " | 916 " |
947 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̈ḧ | 917 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̈ḧ |
948 " | 918 " |
949 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 919 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] |
950 selection.collapse(point[0], point[1]); | |
951 }" did not throw | |
952 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̈ḧ | 920 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̈ḧ |
953 " | 921 " |
954 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̈ḧ | 922 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̈ḧ |
955 " | 923 " |
956 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̈ḧ | 924 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̈ḧ |
957 " | 925 " |
958 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 926 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] |
959 selection.collapse(point[0], point[1]); | |
960 }" did not throw | |
961 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [documen
t.documentElement, -1] | 927 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [documen
t.documentElement, -1] |
962 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> | 928 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> |
963 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 929 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
964 " | 930 " |
965 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> | 931 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> |
966 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 932 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
967 " | 933 " |
968 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> | 934 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> |
969 <me... but got Text node "Qrstuvwx" | 935 <me... but got Text node "Qrstuvwx" |
970 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [documen
t.documentElement, 7] | 936 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [documen
t.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 " | 987 " |
1022 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̈ḧ | 988 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̈ḧ |
1023 " | 989 " |
1024 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̈ḧ | 990 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̈ḧ |
1025 " | 991 " |
1026 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc,
-1] | 992 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc,
-1] |
1027 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 993 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1028 " | 994 " |
1029 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 995 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1030 " | 996 " |
1031 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 997 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc,
5] |
1032 selection.collapse(point[0], point[1]); | |
1033 }" did not throw | |
1034 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 998 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1035 " | 999 " |
1036 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1000 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1037 " | 1001 " |
1038 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1002 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1039 " | 1003 " |
1040 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1004 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1041 " | 1005 " |
1042 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1006 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1043 " | 1007 " |
(...skipping 25 matching lines...) Expand all Loading... |
1069 " | 1033 " |
1070 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1034 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1071 " | 1035 " |
1072 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1036 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1073 " | 1037 " |
1074 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype
, 0] | 1038 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype
, 0] |
1075 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 () { | 1039 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 () { |
1076 selection.collapse(point[0], point[1]); | 1040 selection.collapse(point[0], point[1]); |
1077 }" 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 | 1041 }" 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 |
1078 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype
, 1] | 1042 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype
, 1] |
1079 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1043 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
Doctype, 0] |
1080 selection.collapse(point[0], point[1]); | 1044 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoct
ype, 0] |
1081 }" did not throw | |
1082 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1083 selection.collapse(point[0], point[1]); | |
1084 }" did not throw | |
1085 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | 1045 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0]
.firstChild, -1] |
1086 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | 1046 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0]
.firstChild, 0] |
1087 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 | 1047 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 |
1088 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | 1048 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0]
.firstChild, 2] |
1089 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | 1049 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0]
.firstChild, 8] |
1090 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 | 1050 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 |
1091 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | 1051 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0]
.firstChild, 10] |
1092 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | 1052 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] |
1093 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | 1053 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1]
.firstChild, -1] |
1094 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 | 1054 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 |
1095 " but got Text node "Qrstuvwx" | 1055 " but got Text node "Qrstuvwx" |
1096 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 | 1056 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 |
1097 " but got Text node "Qrstuvwx" | 1057 " but got Text node "Qrstuvwx" |
1098 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 | 1058 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 |
1099 " but got Text node "Qrstuvwx" | 1059 " but got Text node "Qrstuvwx" |
1100 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 | 1060 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 |
1101 " but got Text node "Qrstuvwx" | 1061 " but got Text node "Qrstuvwx" |
1102 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 | 1062 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 |
1103 " but got Text node "Qrstuvwx" | 1063 " but got Text node "Qrstuvwx" |
1104 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1
].firstChild, 10] | 1064 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1
].firstChild, 10] |
1105 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | 1065 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1
].firstChild, 65535] |
1106 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̈ḧ | 1066 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̈ḧ |
1107 " | 1067 " |
1108 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̈ḧ | 1068 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̈ḧ |
1109 " | 1069 " |
1110 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̈ḧ | 1070 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̈ḧ |
1111 " | 1071 " |
1112 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 1072 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] |
1113 selection.collapse(point[0], point[1]); | |
1114 }" did not throw | |
1115 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̈ḧ | 1073 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̈ḧ |
1116 " | 1074 " |
1117 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̈ḧ | 1075 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̈ḧ |
1118 " | 1076 " |
1119 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̈ḧ | 1077 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̈ḧ |
1120 " | 1078 " |
1121 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 1079 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] |
1122 selection.collapse(point[0], point[1]); | |
1123 }" did not throw | |
1124 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [documen
t.documentElement, -1] | 1080 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [documen
t.documentElement, -1] |
1125 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> | 1081 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> |
1126 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1082 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1127 " | 1083 " |
1128 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> | 1084 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> |
1129 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1085 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1130 " | 1086 " |
1131 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> | 1087 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> |
1132 <me... but got Text node "Qrstuvwx" | 1088 <me... but got Text node "Qrstuvwx" |
1133 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [documen
t.documentElement, 7] | 1089 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [documen
t.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 " | 1140 " |
1185 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̈ḧ | 1141 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̈ḧ |
1186 " | 1142 " |
1187 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̈ḧ | 1143 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̈ḧ |
1188 " | 1144 " |
1189 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc,
-1] | 1145 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc,
-1] |
1190 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1146 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1191 " | 1147 " |
1192 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1148 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1193 " | 1149 " |
1194 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1150 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc,
5] |
1195 selection.collapse(point[0], point[1]); | |
1196 }" did not throw | |
1197 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1151 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1198 " | 1152 " |
1199 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1153 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1200 " | 1154 " |
1201 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1155 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1202 " | 1156 " |
1203 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1157 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1204 " | 1158 " |
1205 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 1159 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
1206 " | 1160 " |
(...skipping 25 matching lines...) Expand all Loading... |
1232 " | 1186 " |
1233 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1187 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1234 " | 1188 " |
1235 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1189 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1236 " | 1190 " |
1237 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype
, 0] | 1191 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype
, 0] |
1238 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 () { | 1192 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 () { |
1239 selection.collapse(point[0], point[1]); | 1193 selection.collapse(point[0], point[1]); |
1240 }" 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 | 1194 }" 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 |
1241 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype
, 1] | 1195 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype
, 1] |
1242 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1196 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
Doctype, 0] |
1243 selection.collapse(point[0], point[1]); | 1197 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoct
ype, 0] |
1244 }" did not throw | |
1245 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1246 selection.collapse(point[0], point[1]); | |
1247 }" did not throw | |
1248 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | 1198 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0]
.firstChild, -1] |
1249 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | 1199 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0]
.firstChild, 0] |
1250 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | 1200 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 |
1251 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | 1201 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0]
.firstChild, 2] |
1252 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | 1202 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0]
.firstChild, 8] |
1253 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | 1203 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 |
1254 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | 1204 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0]
.firstChild, 10] |
1255 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | 1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] |
1256 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | 1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1]
.firstChild, -1] |
1257 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | 1207 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop |
1258 " but got Text node "Qrstuvwx" | 1208 " but got Text node "Qrstuvwx" |
1259 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1209 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
1260 " but got Text node "Qrstuvwx" | 1210 " but got Text node "Qrstuvwx" |
1261 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1211 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop |
1262 " but got Text node "Qrstuvwx" | 1212 " but got Text node "Qrstuvwx" |
1263 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1213 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 |
1264 " but got Text node "Qrstuvwx" | 1214 " but got Text node "Qrstuvwx" |
1265 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1215 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 |
1266 " but got Text node "Qrstuvwx" | 1216 " but got Text node "Qrstuvwx" |
1267 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1
].firstChild, 10] | 1217 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1
].firstChild, 10] |
1268 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | 1218 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1
].firstChild, 65535] |
1269 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 "Qrstuvwx" | 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 "Qrstuvwx" |
1270 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 "Qrstuvwx" | 1220 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Qrstuvwx" |
1271 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 "Qrstuvwx" | 1221 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 "Qrstuvwx" |
1272 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 1222 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] |
1273 selection.collapse(point[0], point[1]); | |
1274 }" did not throw | |
1275 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 "Qrstuvwx" | 1223 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 "Qrstuvwx" |
1276 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 "Qrstuvwx" | 1224 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 "Qrstuvwx" |
1277 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 "Qrstuvwx" | 1225 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 "Qrstuvwx" |
1278 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 1226 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] |
1279 selection.collapse(point[0], point[1]); | |
1280 }" did not throw | |
1281 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [documen
t.documentElement, -1] | 1227 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [documen
t.documentElement, -1] |
1282 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> | 1228 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> |
1283 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1229 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1284 " | 1230 " |
1285 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> | 1231 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> |
1286 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1232 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1287 " | 1233 " |
1288 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> | 1234 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> |
1289 <me... but got Text node "Qrstuvwx" | 1235 <me... but got Text node "Qrstuvwx" |
1290 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [documen
t.documentElement, 7] | 1236 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [documen
t.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 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" | 1274 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" |
1329 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment
, 96] | 1275 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment
, 96] |
1330 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 "Qrstuvwx" | 1276 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 "Qrstuvwx" |
1331 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 "Qrstuvwx" | 1277 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 "Qrstuvwx" |
1332 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 "Qrstuvwx" | 1278 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 "Qrstuvwx" |
1333 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 "Qrstuvwx" | 1279 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 "Qrstuvwx" |
1334 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 "Qrstuvwx" | 1280 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 "Qrstuvwx" |
1335 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc,
-1] | 1281 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc,
-1] |
1336 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1282 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1337 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1283 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1338 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1284 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc,
5] |
1339 selection.collapse(point[0], point[1]); | |
1340 }" did not throw | |
1341 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1285 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1342 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1286 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1343 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1287 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1344 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1288 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1345 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1289 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1346 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1290 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1347 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1291 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1348 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1292 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1349 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1293 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1350 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1294 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1351 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1295 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1352 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" | 1296 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" |
1353 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1297 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1354 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1298 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1355 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1299 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1356 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1300 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1357 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" | 1301 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" |
1358 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" | 1302 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" |
1359 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1303 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1360 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1304 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1361 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype
, 0] | 1305 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype
, 0] |
1362 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 () { | 1306 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 () { |
1363 selection.collapse(point[0], point[1]); | 1307 selection.collapse(point[0], point[1]); |
1364 }" 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 | 1308 }" 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 |
1365 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype
, 1] | 1309 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype
, 1] |
1366 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1310 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
Doctype, 0] |
1367 selection.collapse(point[0], point[1]); | 1311 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct
ype, 0] |
1368 }" did not throw | |
1369 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1370 selection.collapse(point[0], point[1]); | |
1371 }" did not throw | |
1372 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | 1312 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0]
.firstChild, -1] |
1373 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | 1313 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0]
.firstChild, 0] |
1374 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 | 1314 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 |
1375 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | 1315 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0]
.firstChild, 2] |
1376 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | 1316 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0]
.firstChild, 8] |
1377 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 | 1317 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 |
1378 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | 1318 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0]
.firstChild, 10] |
1379 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | 1319 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] |
1380 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | 1320 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1]
.firstChild, -1] |
1381 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 | 1321 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 |
1382 " but got Text node "Qrstuvwx" | 1322 " but got Text node "Qrstuvwx" |
1383 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 | 1323 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 |
1384 " but got Text node "Qrstuvwx" | 1324 " but got Text node "Qrstuvwx" |
1385 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 | 1325 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 |
1386 " but got Text node "Qrstuvwx" | 1326 " but got Text node "Qrstuvwx" |
1387 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 | 1327 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 |
1388 " but got Text node "Qrstuvwx" | 1328 " but got Text node "Qrstuvwx" |
1389 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 | 1329 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 |
1390 " but got Text node "Qrstuvwx" | 1330 " but got Text node "Qrstuvwx" |
1391 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1
].firstChild, 10] | 1331 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1
].firstChild, 10] |
1392 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | 1332 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1
].firstChild, 65535] |
1393 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 "Qrstuvwx" | 1333 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 "Qrstuvwx" |
1394 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 "Qrstuvwx" | 1334 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 "Qrstuvwx" |
1395 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 "Qrstuvwx" | 1335 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 "Qrstuvwx" |
1396 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 1336 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] |
1397 selection.collapse(point[0], point[1]); | |
1398 }" did not throw | |
1399 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 "Qrstuvwx" | 1337 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 "Qrstuvwx" |
1400 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 "Qrstuvwx" | 1338 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 "Qrstuvwx" |
1401 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 "Qrstuvwx" | 1339 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 "Qrstuvwx" |
1402 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 1340 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] |
1403 selection.collapse(point[0], point[1]); | |
1404 }" did not throw | |
1405 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [documen
t.documentElement, -1] | 1341 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [documen
t.documentElement, -1] |
1406 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> | 1342 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> |
1407 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1343 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1408 " | 1344 " |
1409 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> | 1345 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> |
1410 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1346 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1411 " | 1347 " |
1412 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> | 1348 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> |
1413 <me... but got Text node "Qrstuvwx" | 1349 <me... but got Text node "Qrstuvwx" |
1414 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [documen
t.documentElement, 7] | 1350 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [documen
t.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 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" | 1388 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" |
1453 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment
, 96] | 1389 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment
, 96] |
1454 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 "Qrstuvwx" | 1390 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 "Qrstuvwx" |
1455 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 "Qrstuvwx" | 1391 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 "Qrstuvwx" |
1456 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 "Qrstuvwx" | 1392 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 "Qrstuvwx" |
1457 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 "Qrstuvwx" | 1393 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 "Qrstuvwx" |
1458 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 "Qrstuvwx" | 1394 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 "Qrstuvwx" |
1459 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc,
-1] | 1395 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc,
-1] |
1460 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1396 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1461 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1397 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1462 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1398 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc,
5] |
1463 selection.collapse(point[0], point[1]); | |
1464 }" did not throw | |
1465 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1399 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1466 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1400 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1467 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1401 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1468 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1402 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1469 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1403 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1470 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1404 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1471 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1405 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1472 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1406 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1473 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1407 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1474 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1408 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1475 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1409 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1476 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" | 1410 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" |
1477 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1411 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1478 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1412 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1479 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1413 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1480 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1414 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1481 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" | 1415 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" |
1482 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" | 1416 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" |
1483 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1417 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1484 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1418 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1485 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype
, 0] | 1419 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype
, 0] |
1486 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 () { | 1420 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 () { |
1487 selection.collapse(point[0], point[1]); | 1421 selection.collapse(point[0], point[1]); |
1488 }" 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 | 1422 }" 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 |
1489 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype
, 1] | 1423 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype
, 1] |
1490 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1424 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
Doctype, 0] |
1491 selection.collapse(point[0], point[1]); | 1425 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct
ype, 0] |
1492 }" did not throw | |
1493 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1494 selection.collapse(point[0], point[1]); | |
1495 }" did not throw | |
1496 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | 1426 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0]
.firstChild, -1] |
1497 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | 1427 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0]
.firstChild, 0] |
1498 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 | 1428 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 |
1499 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | 1429 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0]
.firstChild, 2] |
1500 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | 1430 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0]
.firstChild, 8] |
1501 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 | 1431 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 |
1502 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | 1432 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0]
.firstChild, 10] |
1503 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | 1433 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] |
1504 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | 1434 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1]
.firstChild, -1] |
1505 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 | 1435 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 |
1506 " but got Text node "Qrstuvwx" | 1436 " but got Text node "Qrstuvwx" |
1507 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 | 1437 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 |
1508 " but got Text node "Qrstuvwx" | 1438 " but got Text node "Qrstuvwx" |
1509 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | 1439 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 |
1510 " but got Text node "Qrstuvwx" | 1440 " but got Text node "Qrstuvwx" |
1511 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 | 1441 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 |
1512 " but got Text node "Qrstuvwx" | 1442 " but got Text node "Qrstuvwx" |
1513 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 | 1443 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 |
1514 " but got Text node "Qrstuvwx" | 1444 " but got Text node "Qrstuvwx" |
1515 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1
].firstChild, 10] | 1445 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1
].firstChild, 10] |
1516 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | 1446 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1
].firstChild, 65535] |
1517 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 "Qrstuvwx" | 1447 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 "Qrstuvwx" |
1518 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 "Qrstuvwx" | 1448 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 "Qrstuvwx" |
1519 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 "Qrstuvwx" | 1449 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 "Qrstuvwx" |
1520 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 1450 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] |
1521 selection.collapse(point[0], point[1]); | |
1522 }" did not throw | |
1523 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 "Qrstuvwx" | 1451 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 "Qrstuvwx" |
1524 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 "Qrstuvwx" | 1452 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 "Qrstuvwx" |
1525 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 "Qrstuvwx" | 1453 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 "Qrstuvwx" |
1526 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 1454 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] |
1527 selection.collapse(point[0], point[1]); | |
1528 }" did not throw | |
1529 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [documen
t.documentElement, -1] | 1455 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [documen
t.documentElement, -1] |
1530 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> | 1456 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> |
1531 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1457 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1532 " | 1458 " |
1533 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> | 1459 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> |
1534 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1460 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1535 " | 1461 " |
1536 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> | 1462 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> |
1537 <me... but got Text node "Qrstuvwx" | 1463 <me... but got Text node "Qrstuvwx" |
1538 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [documen
t.documentElement, 7] | 1464 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [documen
t.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1576 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" | 1502 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" |
1577 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment
, 96] | 1503 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment
, 96] |
1578 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 "Qrstuvwx" | 1504 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 "Qrstuvwx" |
1579 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 "Qrstuvwx" | 1505 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 "Qrstuvwx" |
1580 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 "Qrstuvwx" | 1506 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 "Qrstuvwx" |
1581 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 "Qrstuvwx" | 1507 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 "Qrstuvwx" |
1582 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 "Qrstuvwx" | 1508 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 "Qrstuvwx" |
1583 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc,
-1] | 1509 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc,
-1] |
1584 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1510 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1585 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1511 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1586 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1512 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc,
5] |
1587 selection.collapse(point[0], point[1]); | |
1588 }" did not throw | |
1589 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1513 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1590 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1514 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1591 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1515 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1592 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1516 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1593 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1517 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1594 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1518 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1595 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1519 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1596 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1520 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1597 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1521 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1598 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1522 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1599 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1523 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1600 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" | 1524 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" |
1601 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1525 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1602 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1526 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1603 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1527 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1604 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1528 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1605 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" | 1529 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" |
1606 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" | 1530 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" |
1607 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1531 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1608 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1532 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1609 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype
, 0] | 1533 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype
, 0] |
1610 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 () { | 1534 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 () { |
1611 selection.collapse(point[0], point[1]); | 1535 selection.collapse(point[0], point[1]); |
1612 }" 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 | 1536 }" 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 |
1613 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype
, 1] | 1537 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype
, 1] |
1614 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1538 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
Doctype, 0] |
1615 selection.collapse(point[0], point[1]); | 1539 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct
ype, 0] |
1616 }" did not throw | |
1617 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1618 selection.collapse(point[0], point[1]); | |
1619 }" did not throw | |
1620 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | 1540 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0]
.firstChild, -1] |
1621 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | 1541 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0]
.firstChild, 0] |
1622 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 | 1542 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 |
1623 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | 1543 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0]
.firstChild, 2] |
1624 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | 1544 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0]
.firstChild, 8] |
1625 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 | 1545 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 |
1626 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | 1546 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0]
.firstChild, 10] |
1627 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | 1547 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] |
1628 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | 1548 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1]
.firstChild, -1] |
1629 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 | 1549 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 |
1630 " but got Text node "Qrstuvwx" | 1550 " but got Text node "Qrstuvwx" |
1631 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 | 1551 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 |
1632 " but got Text node "Qrstuvwx" | 1552 " but got Text node "Qrstuvwx" |
1633 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 | 1553 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 |
1634 " but got Text node "Qrstuvwx" | 1554 " but got Text node "Qrstuvwx" |
1635 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 | 1555 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 |
1636 " but got Text node "Qrstuvwx" | 1556 " but got Text node "Qrstuvwx" |
1637 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 | 1557 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 |
1638 " but got Text node "Qrstuvwx" | 1558 " but got Text node "Qrstuvwx" |
1639 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1
].firstChild, 10] | 1559 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1
].firstChild, 10] |
1640 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | 1560 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1
].firstChild, 65535] |
1641 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 "Qrstuvwx" | 1561 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 "Qrstuvwx" |
1642 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 "Qrstuvwx" | 1562 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 "Qrstuvwx" |
1643 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 "Qrstuvwx" | 1563 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 "Qrstuvwx" |
1644 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 1564 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] |
1645 selection.collapse(point[0], point[1]); | |
1646 }" did not throw | |
1647 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 "Qrstuvwx" | 1565 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 "Qrstuvwx" |
1648 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 "Qrstuvwx" | 1566 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 "Qrstuvwx" |
1649 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 "Qrstuvwx" | 1567 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 "Qrstuvwx" |
1650 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing
if the offset is negative or greater than the node's length function "function
() { | 1568 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] |
1651 selection.collapse(point[0], point[1]); | |
1652 }" did not throw | |
1653 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [documen
t.documentElement, -1] | 1569 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [documen
t.documentElement, -1] |
1654 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> | 1570 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> |
1655 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1571 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1656 " | 1572 " |
1657 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> | 1573 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> |
1658 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1574 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1659 " | 1575 " |
1660 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> | 1576 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> |
1661 <me... but got Text node "Qrstuvwx" | 1577 <me... but got Text node "Qrstuvwx" |
1662 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [documen
t.documentElement, 7] | 1578 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [documen
t.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1700 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" | 1616 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" |
1701 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment
, 96] | 1617 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment
, 96] |
1702 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 "Qrstuvwx" | 1618 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 "Qrstuvwx" |
1703 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 "Qrstuvwx" | 1619 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 "Qrstuvwx" |
1704 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 "Qrstuvwx" | 1620 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 "Qrstuvwx" |
1705 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 "Qrstuvwx" | 1621 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 "Qrstuvwx" |
1706 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 "Qrstuvwx" | 1622 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 "Qrstuvwx" |
1707 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc,
-1] | 1623 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc,
-1] |
1708 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1624 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1709 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" | 1625 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Qrstuvwx" |
1710 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc,
5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is
negative or greater than the node's length function "function () { | 1626 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc,
5] |
1711 selection.collapse(point[0], point[1]); | |
1712 }" did not throw | |
1713 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1627 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1714 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" | 1628 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Qrstuvwx" |
1715 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1629 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1716 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1630 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1717 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" | 1631 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx
" |
1718 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1632 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1719 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 1633 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
1720 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1634 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1721 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 1635 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
1722 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1636 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1723 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 1637 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
1724 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" | 1638 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Qrstuvwx" |
1725 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1639 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1726 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 1640 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
1727 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1641 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1728 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 1642 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
1729 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" | 1643 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuv
wx" |
1730 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" | 1644 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Qrstuvwx" |
1731 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1645 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1732 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 1646 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
1733 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype
, 0] | 1647 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype
, 0] |
1734 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 () { | 1648 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 () { |
1735 selection.collapse(point[0], point[1]); | 1649 selection.collapse(point[0], point[1]); |
1736 }" 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 | 1650 }" 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 |
1737 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype
, 1] | 1651 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype
, 1] |
1738 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
Doctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing i
f the node is a DocumentType function "function () { | 1652 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
Doctype, 0] |
1739 selection.collapse(point[0], point[1]); | 1653 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoct
ype, 0] |
1740 }" did not throw | |
1741 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoct
ype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
1742 selection.collapse(point[0], point[1]); | |
1743 }" did not throw | |
1744 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | 1654 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] |
1745 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | 1655 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] |
1746 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 | 1656 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 |
1747 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | 1657 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] |
1748 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | 1658 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] |
1749 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 | 1659 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 |
1750 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | 1660 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] |
1751 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | 1661 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] |
1752 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | 1662 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] |
1753 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 | 1663 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 |
1754 " but got Text node "Qrstuvwx" | 1664 " but got Text node "Qrstuvwx" |
1755 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 | 1665 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 |
1756 " but got Text node "Qrstuvwx" | 1666 " but got Text node "Qrstuvwx" |
1757 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 | 1667 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 |
1758 " but got Text node "Qrstuvwx" | 1668 " but got Text node "Qrstuvwx" |
1759 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 | 1669 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 |
1760 " but got Text node "Qrstuvwx" | 1670 " but got Text node "Qrstuvwx" |
1761 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 | 1671 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 |
1762 " but got Text node "Qrstuvwx" | 1672 " but got Text node "Qrstuvwx" |
1763 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
4 [paras[1].firstChild, 10] | 1673 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
4 [paras[1].firstChild, 10] |
1764 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
5 [paras[1].firstChild, 65535] | 1674 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
5 [paras[1].firstChild, 65535] |
1765 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 | 1675 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 |
1766 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 | 1676 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 |
1767 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 | 1677 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 |
1768 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
9 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 1678 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
9 [detachedPara1.firstChild, 9] |
1769 selection.collapse(point[0], point[1]); | |
1770 }" did not throw | |
1771 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 | 1679 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 |
1772 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 | 1680 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 |
1773 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 | 1681 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 |
1774 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
3 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 1682 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
3 [foreignPara1.firstChild, 9] |
1775 selection.collapse(point[0], point[1]); | |
1776 }" did not throw | |
1777 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
4 [document.documentElement, -1] | 1683 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
4 [document.documentElement, -1] |
1778 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> | 1684 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> |
1779 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1685 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1780 " | 1686 " |
1781 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> | 1687 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> |
1782 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1688 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1783 " | 1689 " |
1784 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> | 1690 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> |
1785 <me... but got Text node "Qrstuvwx" | 1691 <me... but got Text node "Qrstuvwx" |
1786 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
8 [document.documentElement, 7] | 1692 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
8 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 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" | 1730 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" |
1825 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
3 [comment, 96] | 1731 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
3 [comment, 96] |
1826 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 | 1732 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 |
1827 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 | 1733 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 |
1828 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 | 1734 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 |
1829 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 | 1735 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 |
1830 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 | 1736 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 |
1831 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
9 [xmlDoc, -1] | 1737 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
9 [xmlDoc, -1] |
1832 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 | 1738 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 |
1833 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 | 1739 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 |
1834 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
2 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 1740 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
2 [xmlDoc, 5] |
1835 selection.collapse(point[0], point[1]); | |
1836 }" did not throw | |
1837 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
3 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1741 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
3 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
1838 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
4 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | 1742 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
4 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 |
1839 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
5 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 1743 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
5 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
1840 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
6 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 1744 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
6 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
1841 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
7 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 1745 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
7 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
1842 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
8 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1746 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
8 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1843 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
9 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1747 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
9 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1844 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
0 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1748 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
0 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1845 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
1 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1749 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
1 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1846 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
2 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 1750 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
2 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
1847 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
3 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 1751 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
3 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
1848 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
4 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | 1752 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
4 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 |
1849 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
5 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1753 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
5 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1850 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
6 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1754 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
6 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1851 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
7 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1755 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
7 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
1852 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
8 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1756 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
8 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
1853 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
9 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1757 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
9 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
1854 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
0 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 1758 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
0 [docfrag, 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 8
1 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 1759 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
1 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
1856 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 | 1760 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 |
1857 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
3 [doctype, 0] | 1761 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
3 [doctype, 0] |
1858 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 () { | 1762 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 () { |
1859 selection.collapse(point[0], point[1]); | 1763 selection.collapse(point[0], point[1]); |
1860 }" 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 | 1764 }" 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 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
5 [doctype, 1] | 1765 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
5 [doctype, 1] |
1862 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
6 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when colla
pse()ing if the node is a DocumentType function "function () { | 1766 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
6 [foreignDoctype, 0] |
1863 selection.collapse(point[0], point[1]); | 1767 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
7 [xmlDoctype, 0] |
1864 }" did not throw | |
1865 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
7 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
1866 selection.collapse(point[0], point[1]); | |
1867 }" did not throw | |
1868 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
0 [paras[0].firstChild, -1] | 1768 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
0 [paras[0].firstChild, -1] |
1869 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
1 [paras[0].firstChild, 0] | 1769 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
1 [paras[0].firstChild, 0] |
1870 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 | 1770 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 |
1871 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
3 [paras[0].firstChild, 2] | 1771 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
3 [paras[0].firstChild, 2] |
1872 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
4 [paras[0].firstChild, 8] | 1772 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
4 [paras[0].firstChild, 8] |
1873 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 | 1773 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 |
1874 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
6 [paras[0].firstChild, 10] | 1774 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
6 [paras[0].firstChild, 10] |
1875 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
7 [paras[0].firstChild, 65535] | 1775 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
7 [paras[0].firstChild, 65535] |
1876 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
8 [paras[1].firstChild, -1] | 1776 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
8 [paras[1].firstChild, -1] |
1877 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 | 1777 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 |
1878 " but got Text node "Qrstuvwx" | 1778 " but got Text node "Qrstuvwx" |
1879 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 | 1779 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 |
1880 " but got Text node "Qrstuvwx" | 1780 " but got Text node "Qrstuvwx" |
1881 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 | 1781 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 |
1882 " but got Text node "Qrstuvwx" | 1782 " but got Text node "Qrstuvwx" |
1883 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 | 1783 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 |
1884 " but got Text node "Qrstuvwx" | 1784 " but got Text node "Qrstuvwx" |
1885 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 | 1785 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 |
1886 " but got Text node "Qrstuvwx" | 1786 " but got Text node "Qrstuvwx" |
1887 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
14 [paras[1].firstChild, 10] | 1787 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
14 [paras[1].firstChild, 10] |
1888 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
15 [paras[1].firstChild, 65535] | 1788 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
15 [paras[1].firstChild, 65535] |
1889 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 | 1789 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 |
1890 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 | 1790 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 |
1891 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 | 1791 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 |
1892 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when c
ollapse()ing if the offset is negative or greater than the node's length functio
n "function () { | 1792 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
19 [detachedPara1.firstChild, 9] |
1893 selection.collapse(point[0], point[1]); | |
1894 }" did not throw | |
1895 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 | 1793 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 |
1896 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 | 1794 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 |
1897 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 | 1795 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 |
1898 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 1796 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
23 [foreignPara1.firstChild, 9] |
1899 selection.collapse(point[0], point[1]); | |
1900 }" did not throw | |
1901 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
24 [document.documentElement, -1] | 1797 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
24 [document.documentElement, -1] |
1902 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> | 1798 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> |
1903 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1799 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1904 " | 1800 " |
1905 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> | 1801 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> |
1906 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1802 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
1907 " | 1803 " |
1908 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> | 1804 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> |
1909 <me... but got Text node "Qrstuvwx" | 1805 <me... but got Text node "Qrstuvwx" |
1910 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
28 [document.documentElement, 7] | 1806 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1948 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" | 1844 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" |
1949 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
53 [comment, 96] | 1845 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
53 [comment, 96] |
1950 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 | 1846 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 |
1951 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 | 1847 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 |
1952 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 | 1848 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 |
1953 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 | 1849 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 |
1954 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 | 1850 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 |
1955 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
59 [xmlDoc, -1] | 1851 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
59 [xmlDoc, -1] |
1956 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 | 1852 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 |
1957 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 | 1853 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 |
1958 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 1854 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
62 [xmlDoc, 5] |
1959 selection.collapse(point[0], point[1]); | |
1960 }" did not throw | |
1961 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1855 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
1962 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1856 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
1963 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1857 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
1964 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1858 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
1965 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1859 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
1966 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1860 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
1967 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1861 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
1968 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1862 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1969 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1863 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1970 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 1864 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
1971 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 1865 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
1972 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | 1866 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 |
1973 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1867 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1974 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1868 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
1975 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1869 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1976 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1870 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
1977 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 1871 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
1978 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1872 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
1979 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1873 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
1980 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 | 1874 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 |
1981 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
83 [doctype, 0] | 1875 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
83 [doctype, 0] |
1982 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 () { | 1876 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 () { |
1983 selection.collapse(point[0], point[1]); | 1877 selection.collapse(point[0], point[1]); |
1984 }" 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 | 1878 }" 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 |
1985 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
85 [doctype, 1] | 1879 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
85 [doctype, 1] |
1986 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | 1880 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
86 [foreignDoctype, 0] |
1987 selection.collapse(point[0], point[1]); | 1881 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
87 [xmlDoctype, 0] |
1988 }" did not throw | |
1989 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | |
1990 selection.collapse(point[0], point[1]); | |
1991 }" did not throw | |
1992 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
0 [paras[0].firstChild, -1] | 1882 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
0 [paras[0].firstChild, -1] |
1993 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
1 [paras[0].firstChild, 0] | 1883 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
1 [paras[0].firstChild, 0] |
1994 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 | 1884 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 |
1995 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
3 [paras[0].firstChild, 2] | 1885 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
3 [paras[0].firstChild, 2] |
1996 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
4 [paras[0].firstChild, 8] | 1886 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
4 [paras[0].firstChild, 8] |
1997 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 | 1887 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 |
1998 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
6 [paras[0].firstChild, 10] | 1888 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
6 [paras[0].firstChild, 10] |
1999 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
7 [paras[0].firstChild, 65535] | 1889 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
7 [paras[0].firstChild, 65535] |
2000 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
8 [paras[1].firstChild, -1] | 1890 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
8 [paras[1].firstChild, -1] |
2001 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 | 1891 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 |
2002 " but got Text node "Qrstuvwx" | 1892 " but got Text node "Qrstuvwx" |
2003 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 | 1893 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 |
2004 " but got Text node "Qrstuvwx" | 1894 " but got Text node "Qrstuvwx" |
2005 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 | 1895 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 |
2006 " but got Text node "Qrstuvwx" | 1896 " but got Text node "Qrstuvwx" |
2007 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 | 1897 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 |
2008 " but got Text node "Qrstuvwx" | 1898 " but got Text node "Qrstuvwx" |
2009 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 | 1899 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 |
2010 " but got Text node "Qrstuvwx" | 1900 " but got Text node "Qrstuvwx" |
2011 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
14 [paras[1].firstChild, 10] | 1901 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
14 [paras[1].firstChild, 10] |
2012 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
15 [paras[1].firstChild, 65535] | 1902 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
15 [paras[1].firstChild, 65535] |
2013 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 | 1903 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 |
2014 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 | 1904 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 |
2015 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 | 1905 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 |
2016 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when c
ollapse()ing if the offset is negative or greater than the node's length functio
n "function () { | 1906 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
19 [detachedPara1.firstChild, 9] |
2017 selection.collapse(point[0], point[1]); | |
2018 }" did not throw | |
2019 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 | 1907 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 |
2020 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 | 1908 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 |
2021 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 | 1909 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 |
2022 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 1910 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
23 [foreignPara1.firstChild, 9] |
2023 selection.collapse(point[0], point[1]); | |
2024 }" did not throw | |
2025 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
24 [document.documentElement, -1] | 1911 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
24 [document.documentElement, -1] |
2026 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> | 1912 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> |
2027 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1913 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2028 " | 1914 " |
2029 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> | 1915 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> |
2030 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 1916 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2031 " | 1917 " |
2032 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> | 1918 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> |
2033 <me... but got Text node "Qrstuvwx" | 1919 <me... but got Text node "Qrstuvwx" |
2034 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
28 [document.documentElement, 7] | 1920 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 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" | 1958 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" |
2073 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
53 [comment, 96] | 1959 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
53 [comment, 96] |
2074 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 | 1960 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 |
2075 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 | 1961 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 |
2076 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 | 1962 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 |
2077 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 | 1963 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 |
2078 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 | 1964 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 |
2079 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
59 [xmlDoc, -1] | 1965 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
59 [xmlDoc, -1] |
2080 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 | 1966 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 |
2081 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 | 1967 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 |
2082 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 1968 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
62 [xmlDoc, 5] |
2083 selection.collapse(point[0], point[1]); | |
2084 }" did not throw | |
2085 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1969 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
2086 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | 1970 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 |
2087 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1971 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2088 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1972 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2089 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 1973 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2090 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1974 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2091 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 1975 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2092 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1976 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2093 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1977 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2094 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 1978 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2095 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 1979 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2096 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | 1980 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 |
2097 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1981 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
2098 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | 1982 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 |
2099 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1983 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2100 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 1984 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
2101 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 1985 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
2102 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | 1986 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 |
2103 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 1987 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2104 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 | 1988 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 |
2105 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
83 [doctype, 0] | 1989 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
83 [doctype, 0] |
2106 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 () { | 1990 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 () { |
2107 selection.collapse(point[0], point[1]); | 1991 selection.collapse(point[0], point[1]); |
2108 }" 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 | 1992 }" 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 |
2109 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
85 [doctype, 1] | 1993 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
85 [doctype, 1] |
2110 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | 1994 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
86 [foreignDoctype, 0] |
2111 selection.collapse(point[0], point[1]); | 1995 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
87 [xmlDoctype, 0] |
2112 }" did not throw | |
2113 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | |
2114 selection.collapse(point[0], point[1]); | |
2115 }" did not throw | |
2116 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | 1996 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] |
2117 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | 1997 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] |
2118 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 | 1998 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 |
2119 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | 1999 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] |
2120 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | 2000 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] |
2121 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 | 2001 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 |
2122 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | 2002 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] |
2123 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | 2003 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] |
2124 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | 2004 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] |
2125 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 | 2005 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 |
2126 " but got Text node "Qrstuvwx" | 2006 " but got Text node "Qrstuvwx" |
2127 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 | 2007 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 |
2128 " but got Text node "Qrstuvwx" | 2008 " but got Text node "Qrstuvwx" |
2129 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 | 2009 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 |
2130 " but got Text node "Qrstuvwx" | 2010 " but got Text node "Qrstuvwx" |
2131 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 | 2011 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 |
2132 " but got Text node "Qrstuvwx" | 2012 " but got Text node "Qrstuvwx" |
2133 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 | 2013 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 |
2134 " but got Text node "Qrstuvwx" | 2014 " but got Text node "Qrstuvwx" |
2135 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14
[paras[1].firstChild, 10] | 2015 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14
[paras[1].firstChild, 10] |
2136 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15
[paras[1].firstChild, 65535] | 2016 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15
[paras[1].firstChild, 65535] |
2137 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 | 2017 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 |
2138 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 | 2018 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 |
2139 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 | 2019 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 |
2140 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19
[detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 2020 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19
[detachedPara1.firstChild, 9] |
2141 selection.collapse(point[0], point[1]); | |
2142 }" did not throw | |
2143 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 | 2021 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 |
2144 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 | 2022 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 |
2145 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 | 2023 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 |
2146 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23
[foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when coll
apse()ing if the offset is negative or greater than the node's length function "
function () { | 2024 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23
[foreignPara1.firstChild, 9] |
2147 selection.collapse(point[0], point[1]); | |
2148 }" did not throw | |
2149 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24
[document.documentElement, -1] | 2025 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24
[document.documentElement, -1] |
2150 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> | 2026 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> |
2151 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2027 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2152 " | 2028 " |
2153 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> | 2029 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> |
2154 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2030 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2155 " | 2031 " |
2156 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> | 2032 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> |
2157 <me... but got Text node "Qrstuvwx" | 2033 <me... but got Text node "Qrstuvwx" |
2158 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28
[document.documentElement, 7] | 2034 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28
[document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2196 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" | 2072 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" |
2197 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53
[comment, 96] | 2073 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53
[comment, 96] |
2198 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 | 2074 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 |
2199 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 | 2075 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 |
2200 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 | 2076 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 |
2201 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 | 2077 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 |
2202 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 | 2078 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 |
2203 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59
[xmlDoc, -1] | 2079 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59
[xmlDoc, -1] |
2204 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 | 2080 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 |
2205 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 | 2081 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 |
2206 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62
[xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2082 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62
[xmlDoc, 5] |
2207 selection.collapse(point[0], point[1]); | |
2208 }" did not throw | |
2209 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2083 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2210 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2084 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2211 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2085 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2212 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2086 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2213 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2087 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2214 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2088 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2215 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2089 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2216 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2090 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2217 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2091 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2218 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2092 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2219 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2093 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2220 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2094 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
2221 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2095 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2222 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2096 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2223 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2097 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2224 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2098 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2225 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2099 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2226 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2100 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2227 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2101 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2228 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 | 2102 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 |
2229 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83
[doctype, 0] | 2103 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83
[doctype, 0] |
2230 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 () { | 2104 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 () { |
2231 selection.collapse(point[0], point[1]); | 2105 selection.collapse(point[0], point[1]); |
2232 }" 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 | 2106 }" 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 |
2233 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85
[doctype, 1] | 2107 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85
[doctype, 1] |
2234 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
[foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collap
se()ing if the node is a DocumentType function "function () { | 2108 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
[foreignDoctype, 0] |
2235 selection.collapse(point[0], point[1]); | 2109 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87
[xmlDoctype, 0] |
2236 }" did not throw | |
2237 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87
[xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
2238 selection.collapse(point[0], point[1]); | |
2239 }" did not throw | |
2240 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0
[paras[0].firstChild, -1] | 2110 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0
[paras[0].firstChild, -1] |
2241 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1
[paras[0].firstChild, 0] | 2111 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1
[paras[0].firstChild, 0] |
2242 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 | 2112 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 |
2243 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3
[paras[0].firstChild, 2] | 2113 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3
[paras[0].firstChild, 2] |
2244 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4
[paras[0].firstChild, 8] | 2114 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4
[paras[0].firstChild, 8] |
2245 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 | 2115 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 |
2246 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6
[paras[0].firstChild, 10] | 2116 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6
[paras[0].firstChild, 10] |
2247 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7
[paras[0].firstChild, 65535] | 2117 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7
[paras[0].firstChild, 65535] |
2248 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8
[paras[1].firstChild, -1] | 2118 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8
[paras[1].firstChild, -1] |
2249 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 | 2119 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 |
2250 " but got Text node "Qrstuvwx" | 2120 " but got Text node "Qrstuvwx" |
2251 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 | 2121 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 |
2252 " but got Text node "Qrstuvwx" | 2122 " but got Text node "Qrstuvwx" |
2253 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 | 2123 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 |
2254 " but got Text node "Qrstuvwx" | 2124 " but got Text node "Qrstuvwx" |
2255 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 | 2125 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 |
2256 " but got Text node "Qrstuvwx" | 2126 " but got Text node "Qrstuvwx" |
2257 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 | 2127 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 |
2258 " but got Text node "Qrstuvwx" | 2128 " but got Text node "Qrstuvwx" |
2259 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14
[paras[1].firstChild, 10] | 2129 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14
[paras[1].firstChild, 10] |
2260 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15
[paras[1].firstChild, 65535] | 2130 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15
[paras[1].firstChild, 65535] |
2261 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 | 2131 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 |
2262 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 | 2132 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 |
2263 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 | 2133 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 |
2264 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19
[detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 2134 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19
[detachedPara1.firstChild, 9] |
2265 selection.collapse(point[0], point[1]); | |
2266 }" did not throw | |
2267 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 | 2135 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 |
2268 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 | 2136 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 |
2269 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 | 2137 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 |
2270 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23
[foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when coll
apse()ing if the offset is negative or greater than the node's length function "
function () { | 2138 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23
[foreignPara1.firstChild, 9] |
2271 selection.collapse(point[0], point[1]); | |
2272 }" did not throw | |
2273 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24
[document.documentElement, -1] | 2139 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24
[document.documentElement, -1] |
2274 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> | 2140 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> |
2275 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2141 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2276 " | 2142 " |
2277 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> | 2143 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> |
2278 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2144 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2279 " | 2145 " |
2280 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> | 2146 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> |
2281 <me... but got Text node "Qrstuvwx" | 2147 <me... but got Text node "Qrstuvwx" |
2282 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28
[document.documentElement, 7] | 2148 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28
[document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 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" | 2186 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" |
2321 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53
[comment, 96] | 2187 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53
[comment, 96] |
2322 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 | 2188 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 |
2323 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 | 2189 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 |
2324 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 | 2190 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 |
2325 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 | 2191 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 |
2326 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 | 2192 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 |
2327 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59
[xmlDoc, -1] | 2193 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59
[xmlDoc, -1] |
2328 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 | 2194 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 |
2329 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 | 2195 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 |
2330 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62
[xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2196 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62
[xmlDoc, 5] |
2331 selection.collapse(point[0], point[1]); | |
2332 }" did not throw | |
2333 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2197 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2334 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2198 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2335 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2199 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2336 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2200 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2337 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2201 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2338 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2202 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2339 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2203 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2340 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2204 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2341 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2205 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2342 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2206 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2343 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2207 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2344 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2208 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
2345 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2209 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2346 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2210 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2347 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2211 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2348 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2212 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2349 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2213 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2350 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2214 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2351 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2215 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2352 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 | 2216 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 |
2353 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83
[doctype, 0] | 2217 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83
[doctype, 0] |
2354 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 () { | 2218 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 () { |
2355 selection.collapse(point[0], point[1]); | 2219 selection.collapse(point[0], point[1]); |
2356 }" 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 | 2220 }" 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 |
2357 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85
[doctype, 1] | 2221 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85
[doctype, 1] |
2358 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
[foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collap
se()ing if the node is a DocumentType function "function () { | 2222 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
[foreignDoctype, 0] |
2359 selection.collapse(point[0], point[1]); | 2223 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87
[xmlDoctype, 0] |
2360 }" did not throw | |
2361 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87
[xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
2362 selection.collapse(point[0], point[1]); | |
2363 }" did not throw | |
2364 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0
[paras[0].firstChild, -1] | 2224 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0
[paras[0].firstChild, -1] |
2365 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1
[paras[0].firstChild, 0] | 2225 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1
[paras[0].firstChild, 0] |
2366 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 | 2226 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 |
2367 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3
[paras[0].firstChild, 2] | 2227 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3
[paras[0].firstChild, 2] |
2368 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4
[paras[0].firstChild, 8] | 2228 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4
[paras[0].firstChild, 8] |
2369 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 | 2229 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 |
2370 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6
[paras[0].firstChild, 10] | 2230 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6
[paras[0].firstChild, 10] |
2371 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7
[paras[0].firstChild, 65535] | 2231 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7
[paras[0].firstChild, 65535] |
2372 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8
[paras[1].firstChild, -1] | 2232 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8
[paras[1].firstChild, -1] |
2373 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 | 2233 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 |
2374 " but got Text node "Qrstuvwx" | 2234 " but got Text node "Qrstuvwx" |
2375 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 | 2235 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 |
2376 " but got Text node "Qrstuvwx" | 2236 " but got Text node "Qrstuvwx" |
2377 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 | 2237 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 |
2378 " but got Text node "Qrstuvwx" | 2238 " but got Text node "Qrstuvwx" |
2379 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 | 2239 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 |
2380 " but got Text node "Qrstuvwx" | 2240 " but got Text node "Qrstuvwx" |
2381 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 | 2241 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 |
2382 " but got Text node "Qrstuvwx" | 2242 " but got Text node "Qrstuvwx" |
2383 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14
[paras[1].firstChild, 10] | 2243 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14
[paras[1].firstChild, 10] |
2384 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15
[paras[1].firstChild, 65535] | 2244 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15
[paras[1].firstChild, 65535] |
2385 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 | 2245 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 |
2386 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 | 2246 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 |
2387 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 | 2247 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 |
2388 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19
[detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when col
lapse()ing if the offset is negative or greater than the node's length function
"function () { | 2248 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19
[detachedPara1.firstChild, 9] |
2389 selection.collapse(point[0], point[1]); | |
2390 }" did not throw | |
2391 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 | 2249 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 |
2392 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 | 2250 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 |
2393 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 | 2251 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 |
2394 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23
[foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when coll
apse()ing if the offset is negative or greater than the node's length function "
function () { | 2252 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23
[foreignPara1.firstChild, 9] |
2395 selection.collapse(point[0], point[1]); | |
2396 }" did not throw | |
2397 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24
[document.documentElement, -1] | 2253 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24
[document.documentElement, -1] |
2398 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> | 2254 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> |
2399 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2255 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2400 " | 2256 " |
2401 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> | 2257 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> |
2402 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2258 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2403 " | 2259 " |
2404 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> | 2260 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> |
2405 <me... but got Text node "Qrstuvwx" | 2261 <me... but got Text node "Qrstuvwx" |
2406 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28
[document.documentElement, 7] | 2262 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28
[document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2444 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" | 2300 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" |
2445 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53
[comment, 96] | 2301 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53
[comment, 96] |
2446 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 | 2302 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 |
2447 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 | 2303 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 |
2448 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 | 2304 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 |
2449 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 | 2305 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 |
2450 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 | 2306 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 |
2451 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59
[xmlDoc, -1] | 2307 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59
[xmlDoc, -1] |
2452 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 | 2308 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 |
2453 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 | 2309 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 |
2454 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62
[xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 2310 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62
[xmlDoc, 5] |
2455 selection.collapse(point[0], point[1]); | |
2456 }" did not throw | |
2457 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2311 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2458 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 2312 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
2459 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2313 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2460 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2314 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2461 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 2315 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
2462 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2316 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2463 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 2317 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
2464 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2318 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2465 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | 2319 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 |
2466 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2320 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2467 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2321 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2468 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | 2322 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 |
2469 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2323 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2470 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | 2324 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 |
2471 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2325 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2472 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 2326 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
2473 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | 2327 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 |
2474 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 2328 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
2475 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 2329 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
2476 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 | 2330 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 |
2477 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83
[doctype, 0] | 2331 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83
[doctype, 0] |
2478 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 () { | 2332 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 () { |
2479 selection.collapse(point[0], point[1]); | 2333 selection.collapse(point[0], point[1]); |
2480 }" 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 | 2334 }" 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 |
2481 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85
[doctype, 1] | 2335 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85
[doctype, 1] |
2482 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
[foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collap
se()ing if the node is a DocumentType function "function () { | 2336 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
[foreignDoctype, 0] |
2483 selection.collapse(point[0], point[1]); | 2337 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87
[xmlDoctype, 0] |
2484 }" did not throw | |
2485 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87
[xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
2486 selection.collapse(point[0], point[1]); | |
2487 }" did not throw | |
2488 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
0 [paras[0].firstChild, -1] | 2338 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
0 [paras[0].firstChild, -1] |
2489 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
1 [paras[0].firstChild, 0] | 2339 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
1 [paras[0].firstChild, 0] |
2490 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 | 2340 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 |
2491 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
3 [paras[0].firstChild, 2] | 2341 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
3 [paras[0].firstChild, 2] |
2492 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
4 [paras[0].firstChild, 8] | 2342 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
4 [paras[0].firstChild, 8] |
2493 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 | 2343 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 |
2494 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
6 [paras[0].firstChild, 10] | 2344 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
6 [paras[0].firstChild, 10] |
2495 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
7 [paras[0].firstChild, 65535] | 2345 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
7 [paras[0].firstChild, 65535] |
2496 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
8 [paras[1].firstChild, -1] | 2346 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
8 [paras[1].firstChild, -1] |
2497 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 | 2347 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 |
2498 " but got Text node "Qrstuvwx" | 2348 " but got Text node "Qrstuvwx" |
2499 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 | 2349 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 |
2500 " but got Text node "Qrstuvwx" | 2350 " but got Text node "Qrstuvwx" |
2501 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 | 2351 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 |
2502 " but got Text node "Qrstuvwx" | 2352 " but got Text node "Qrstuvwx" |
2503 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 | 2353 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 |
2504 " but got Text node "Qrstuvwx" | 2354 " but got Text node "Qrstuvwx" |
2505 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 | 2355 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 |
2506 " but got Text node "Qrstuvwx" | 2356 " but got Text node "Qrstuvwx" |
2507 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
14 [paras[1].firstChild, 10] | 2357 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
14 [paras[1].firstChild, 10] |
2508 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
15 [paras[1].firstChild, 65535] | 2358 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
15 [paras[1].firstChild, 65535] |
2509 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ | 2359 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ |
2510 " | 2360 " |
2511 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ | 2361 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ |
2512 " | 2362 " |
2513 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ | 2363 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 Text node "Äb̈c̈d̈ëf̈g̈h
̈ |
2514 " | 2364 " |
2515 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when c
ollapse()ing if the offset is negative or greater than the node's length functio
n "function () { | 2365 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
19 [detachedPara1.firstChild, 9] |
2516 selection.collapse(point[0], point[1]); | |
2517 }" did not throw | |
2518 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2366 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2519 " | 2367 " |
2520 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2368 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2521 " | 2369 " |
2522 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2370 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2523 " | 2371 " |
2524 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 2372 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
23 [foreignPara1.firstChild, 9] |
2525 selection.collapse(point[0], point[1]); | |
2526 }" did not throw | |
2527 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
24 [document.documentElement, -1] | 2373 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
24 [document.documentElement, -1] |
2528 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> | 2374 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> |
2529 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2375 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2530 " | 2376 " |
2531 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> | 2377 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> |
2532 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2378 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2533 " | 2379 " |
2534 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> | 2380 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> |
2535 <me... but got Text node "Qrstuvwx" | 2381 <me... but got Text node "Qrstuvwx" |
2536 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
28 [document.documentElement, 7] | 2382 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
28 [document.documentElement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2587 " | 2433 " |
2588 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2434 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2589 " | 2435 " |
2590 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2436 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2591 " | 2437 " |
2592 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
59 [xmlDoc, -1] | 2438 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
59 [xmlDoc, -1] |
2593 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2439 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2594 " | 2440 " |
2595 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2441 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2596 " | 2442 " |
2597 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 2443 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
62 [xmlDoc, 5] |
2598 selection.collapse(point[0], point[1]); | |
2599 }" did not throw | |
2600 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2444 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2601 " | 2445 " |
2602 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2446 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2603 " | 2447 " |
2604 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ | 2448 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ |
2605 " | 2449 " |
2606 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ | 2450 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ |
2607 " | 2451 " |
2608 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ | 2452 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Äb̈c̈d̈ëf̈g̈ḧ |
2609 " | 2453 " |
(...skipping 25 matching lines...) Expand all Loading... |
2635 " | 2479 " |
2636 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | 2480 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ |
2637 " | 2481 " |
2638 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈
g̈ḧ | 2482 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈
g̈ḧ |
2639 " | 2483 " |
2640 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
83 [doctype, 0] | 2484 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 () { | 2485 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]); | 2486 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 | 2487 }" 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] | 2488 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
85 [doctype, 1] |
2645 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | 2489 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
86 [foreignDoctype, 0] |
2646 selection.collapse(point[0], point[1]); | 2490 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
87 [xmlDoctype, 0] |
2647 }" did not throw | |
2648 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | |
2649 selection.collapse(point[0], point[1]); | |
2650 }" did not throw | |
2651 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | 2491 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
0 [paras[0].firstChild, -1] |
2652 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | 2492 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
1 [paras[0].firstChild, 0] |
2653 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 | 2493 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 |
2654 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | 2494 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
3 [paras[0].firstChild, 2] |
2655 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | 2495 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
4 [paras[0].firstChild, 8] |
2656 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 | 2496 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 |
2657 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | 2497 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
6 [paras[0].firstChild, 10] |
2658 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | 2498 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] |
2659 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | 2499 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
8 [paras[1].firstChild, -1] |
2660 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 | 2500 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 |
2661 " but got Text node "Qrstuvwx" | 2501 " but got Text node "Qrstuvwx" |
2662 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 | 2502 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 |
2663 " but got Text node "Qrstuvwx" | 2503 " but got Text node "Qrstuvwx" |
2664 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 | 2504 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 |
2665 " but got Text node "Qrstuvwx" | 2505 " but got Text node "Qrstuvwx" |
2666 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 | 2506 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 |
2667 " but got Text node "Qrstuvwx" | 2507 " but got Text node "Qrstuvwx" |
2668 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 | 2508 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 |
2669 " but got Text node "Qrstuvwx" | 2509 " but got Text node "Qrstuvwx" |
2670 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | 2510 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
14 [paras[1].firstChild, 10] |
2671 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | 2511 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] |
2672 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 Text node "Qrstuvwx" | 2512 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 Text node "Qrstuvwx" |
2673 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 Text node "Qrstuvwx" | 2513 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 Text node "Qrstuvwx" |
2674 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 Text node "Qrstuvwx" | 2514 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 Text node "Qrstuvwx" |
2675 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when c
ollapse()ing if the offset is negative or greater than the node's length functio
n "function () { | 2515 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] |
2676 selection.collapse(point[0], point[1]); | |
2677 }" did not throw | |
2678 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 Text node "Qrstuvwx" | 2516 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 Text node "Qrstuvwx" |
2679 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 Text node "Qrstuvwx" | 2517 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 Text node "Qrstuvwx" |
2680 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 Text node "Qrstuvwx" | 2518 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 Text node "Qrstuvwx" |
2681 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 2519 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] |
2682 selection.collapse(point[0], point[1]); | |
2683 }" did not throw | |
2684 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
24 [document.documentElement, -1] | 2520 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
24 [document.documentElement, -1] |
2685 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> | 2521 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> |
2686 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2522 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2687 " | 2523 " |
2688 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> | 2524 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> |
2689 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2525 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2690 " | 2526 " |
2691 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> | 2527 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> |
2692 <me... but got Text node "Qrstuvwx" | 2528 <me... but got Text node "Qrstuvwx" |
2693 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
28 [document.documentElement, 7] | 2529 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2731 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" | 2567 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" |
2732 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
53 [comment, 96] | 2568 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
53 [comment, 96] |
2733 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 Text node "Qrstuvwx" | 2569 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 Text node "Qrstuvwx" |
2734 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 Text node "Qrstuvwx" | 2570 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 Text node "Qrstuvwx" |
2735 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 Text node "Qrstuvwx" | 2571 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 Text node "Qrstuvwx" |
2736 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 Text node "Qrstuvwx" | 2572 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 Text node "Qrstuvwx" |
2737 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 Text node "Qrstuvwx" | 2573 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 Text node "Qrstuvwx" |
2738 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
59 [xmlDoc, -1] | 2574 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
59 [xmlDoc, -1] |
2739 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" | 2575 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" |
2740 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" | 2576 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" |
2741 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 2577 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
62 [xmlDoc, 5] |
2742 selection.collapse(point[0], point[1]); | |
2743 }" did not throw | |
2744 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" | 2578 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" |
2745 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" | 2579 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" |
2746 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2580 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2747 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2581 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2748 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2582 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2749 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 2583 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
2750 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 2584 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
2751 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 2585 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
2752 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 2586 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
2753 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 2587 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
2754 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 2588 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
2755 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Text node "Qrstuvwx" | 2589 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Text node "Qrstuvwx" |
2756 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2590 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
2757 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2591 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
2758 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" | 2592 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" |
2759 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" | 2593 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" |
2760 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text n
ode "Qrstuvwx" | 2594 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text n
ode "Qrstuvwx" |
2761 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 2595 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
2762 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx
" | 2596 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx
" |
2763 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 2597 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
2764 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
83 [doctype, 0] | 2598 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
83 [doctype, 0] |
2765 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 () { | 2599 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 () { |
2766 selection.collapse(point[0], point[1]); | 2600 selection.collapse(point[0], point[1]); |
2767 }" 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 | 2601 }" 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 |
2768 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
85 [doctype, 1] | 2602 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
85 [doctype, 1] |
2769 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | 2603 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
86 [foreignDoctype, 0] |
2770 selection.collapse(point[0], point[1]); | 2604 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
87 [xmlDoctype, 0] |
2771 }" did not throw | |
2772 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | |
2773 selection.collapse(point[0], point[1]); | |
2774 }" did not throw | |
2775 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | 2605 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
0 [paras[0].firstChild, -1] |
2776 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | 2606 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
1 [paras[0].firstChild, 0] |
2777 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 | 2607 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 |
2778 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | 2608 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
3 [paras[0].firstChild, 2] |
2779 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | 2609 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
4 [paras[0].firstChild, 8] |
2780 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 | 2610 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 |
2781 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | 2611 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
6 [paras[0].firstChild, 10] |
2782 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | 2612 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] |
2783 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | 2613 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
8 [paras[1].firstChild, -1] |
2784 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 | 2614 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 |
2785 " but got Text node "Qrstuvwx" | 2615 " but got Text node "Qrstuvwx" |
2786 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 | 2616 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 |
2787 " but got Text node "Qrstuvwx" | 2617 " but got Text node "Qrstuvwx" |
2788 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 | 2618 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 |
2789 " but got Text node "Qrstuvwx" | 2619 " but got Text node "Qrstuvwx" |
2790 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 | 2620 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 |
2791 " but got Text node "Qrstuvwx" | 2621 " but got Text node "Qrstuvwx" |
2792 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 | 2622 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 |
2793 " but got Text node "Qrstuvwx" | 2623 " but got Text node "Qrstuvwx" |
2794 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | 2624 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
14 [paras[1].firstChild, 10] |
2795 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | 2625 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] |
2796 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 Text node "Qrstuvwx" | 2626 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 Text node "Qrstuvwx" |
2797 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 Text node "Qrstuvwx" | 2627 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 Text node "Qrstuvwx" |
2798 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 Text node "Qrstuvwx" | 2628 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 Text node "Qrstuvwx" |
2799 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when c
ollapse()ing if the offset is negative or greater than the node's length functio
n "function () { | 2629 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] |
2800 selection.collapse(point[0], point[1]); | |
2801 }" did not throw | |
2802 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 Text node "Qrstuvwx" | 2630 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 Text node "Qrstuvwx" |
2803 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 Text node "Qrstuvwx" | 2631 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 Text node "Qrstuvwx" |
2804 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 Text node "Qrstuvwx" | 2632 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 Text node "Qrstuvwx" |
2805 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when co
llapse()ing if the offset is negative or greater than the node's length function
"function () { | 2633 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] |
2806 selection.collapse(point[0], point[1]); | |
2807 }" did not throw | |
2808 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
24 [document.documentElement, -1] | 2634 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
24 [document.documentElement, -1] |
2809 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> | 2635 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> |
2810 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2636 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2811 " | 2637 " |
2812 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> | 2638 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> |
2813 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2639 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2814 " | 2640 " |
2815 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> | 2641 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> |
2816 <me... but got Text node "Qrstuvwx" | 2642 <me... but got Text node "Qrstuvwx" |
2817 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
28 [document.documentElement, 7] | 2643 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2855 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" | 2681 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" |
2856 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
53 [comment, 96] | 2682 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
53 [comment, 96] |
2857 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 Text node "Qrstuvwx" | 2683 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 Text node "Qrstuvwx" |
2858 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 Text node "Qrstuvwx" | 2684 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 Text node "Qrstuvwx" |
2859 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 Text node "Qrstuvwx" | 2685 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 Text node "Qrstuvwx" |
2860 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 Text node "Qrstuvwx" | 2686 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 Text node "Qrstuvwx" |
2861 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 Text node "Qrstuvwx" | 2687 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 Text node "Qrstuvwx" |
2862 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
59 [xmlDoc, -1] | 2688 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
59 [xmlDoc, -1] |
2863 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" | 2689 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" |
2864 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" | 2690 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Text node "Qrstuvwx" |
2865 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 2691 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
62 [xmlDoc, 5] |
2866 selection.collapse(point[0], point[1]); | |
2867 }" did not throw | |
2868 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" | 2692 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" |
2869 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" | 2693 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Text node "Qrstuvwx" |
2870 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2694 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2871 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2695 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2872 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" | 2696 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Text nod
e "Qrstuvwx" |
2873 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 2697 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
2874 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" | 2698 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Text node "Qrstuvwx" |
2875 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 2699 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
2876 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" | 2700 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Text node "Qrstuvwx" |
2877 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 2701 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
2878 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" | 2702 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Text node "Qrstuvwx" |
2879 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Text node "Qrstuvwx" | 2703 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Text node "Qrstuvwx" |
2880 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2704 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
2881 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2705 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
2882 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" | 2706 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" |
2883 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" | 2707 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Text node
"Qrstuvwx" |
2884 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text n
ode "Qrstuvwx" | 2708 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text n
ode "Qrstuvwx" |
2885 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 2709 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
2886 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx
" | 2710 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Text node "Qrstuvwx
" |
2887 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" | 2711 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" |
2888 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
83 [doctype, 0] | 2712 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
83 [doctype, 0] |
2889 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 () { | 2713 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 () { |
2890 selection.collapse(point[0], point[1]); | 2714 selection.collapse(point[0], point[1]); |
2891 }" 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 | 2715 }" 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 |
2892 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
85 [doctype, 1] | 2716 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
85 [doctype, 1] |
2893 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | 2717 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
86 [foreignDoctype, 0] |
2894 selection.collapse(point[0], point[1]); | 2718 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
87 [xmlDoctype, 0] |
2895 }" did not throw | |
2896 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse
()ing if the node is a DocumentType function "function () { | |
2897 selection.collapse(point[0], point[1]); | |
2898 }" did not throw | |
2899 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild
, -1] | 2719 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild
, -1] |
2900 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild
, 0] | 2720 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild
, 0] |
2901 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 | 2721 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 |
2902 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild
, 2] | 2722 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild
, 2] |
2903 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild
, 8] | 2723 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild
, 8] |
2904 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 | 2724 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 |
2905 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild
, 10] | 2725 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild
, 10] |
2906 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild
, 65535] | 2726 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild
, 65535] |
2907 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild
, -1] | 2727 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild
, -1] |
2908 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 | 2728 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 |
2909 " but got Text node "Qrstuvwx" | 2729 " but got Text node "Qrstuvwx" |
2910 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 | 2730 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 |
2911 " but got Text node "Qrstuvwx" | 2731 " but got Text node "Qrstuvwx" |
2912 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 | 2732 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 |
2913 " but got Text node "Qrstuvwx" | 2733 " but got Text node "Qrstuvwx" |
2914 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 | 2734 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 |
2915 " but got Text node "Qrstuvwx" | 2735 " but got Text node "Qrstuvwx" |
2916 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 | 2736 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 |
2917 " but got Text node "Qrstuvwx" | 2737 " but got Text node "Qrstuvwx" |
2918 PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChil
d, 10] | 2738 PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChil
d, 10] |
2919 PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChil
d, 65535] | 2739 PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChil
d, 65535] |
2920 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2740 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2921 " | 2741 " |
2922 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2742 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2923 " | 2743 " |
2924 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2744 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2925 " | 2745 " |
2926 FAIL Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 2746 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs
tChild, 9] |
2927 selection.collapse(point[0], point[1]); | |
2928 }" did not throw | |
2929 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2747 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2930 " | 2748 " |
2931 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2749 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2932 " | 2750 " |
2933 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2751 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2934 " | 2752 " |
2935 FAIL Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 2753 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first
Child, 9] |
2936 selection.collapse(point[0], point[1]); | |
2937 }" did not throw | |
2938 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE
lement, -1] | 2754 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE
lement, -1] |
2939 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> | 2755 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> |
2940 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2756 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2941 " | 2757 " |
2942 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> | 2758 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> |
2943 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2759 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
2944 " | 2760 " |
2945 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> | 2761 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> |
2946 <me... but got Text node "Qrstuvwx" | 2762 <me... but got Text node "Qrstuvwx" |
2947 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE
lement, 7] | 2763 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE
lement, 7] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2998 " | 2814 " |
2999 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 Text
node "Äb̈c̈d̈ëf̈g̈ḧ | 2815 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 Text
node "Äb̈c̈d̈ëf̈g̈ḧ |
3000 " | 2816 " |
3001 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 Text
node "Äb̈c̈d̈ëf̈g̈ḧ | 2817 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 Text
node "Äb̈c̈d̈ëf̈g̈ḧ |
3002 " | 2818 " |
3003 PASS Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1] | 2819 PASS Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1] |
3004 FAIL Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2820 FAIL Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3005 " | 2821 " |
3006 FAIL Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2822 FAIL Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3007 " | 2823 " |
3008 FAIL Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 2824 PASS Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5] |
3009 selection.collapse(point[0], point[1]); | |
3010 }" did not throw | |
3011 FAIL Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Äb̈c̈d̈ëf̈g̈ḧ | 2825 FAIL Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Äb̈c̈d̈ëf̈g̈ḧ |
3012 " | 2826 " |
3013 FAIL Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Äb̈c̈d̈ëf̈g̈ḧ | 2827 FAIL Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Äb̈c̈d̈ëf̈g̈ḧ |
3014 " | 2828 " |
3015 FAIL Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2829 FAIL Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3016 " | 2830 " |
3017 FAIL Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2831 FAIL Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3018 " | 2832 " |
3019 FAIL Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2833 FAIL Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3020 " | 2834 " |
(...skipping 25 matching lines...) Expand all Loading... |
3046 " | 2860 " |
3047 FAIL Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2861 FAIL Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3048 " | 2862 " |
3049 FAIL Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2863 FAIL Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3050 " | 2864 " |
3051 PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0] | 2865 PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0] |
3052 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 () { | 2866 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 () { |
3053 selection.collapse(point[0], point[1]); | 2867 selection.collapse(point[0], point[1]); |
3054 }" 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 | 2868 }" 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 |
3055 PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1] | 2869 PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1] |
3056 FAIL Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 2870 PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
|
3057 selection.collapse(point[0], point[1]); | 2871 PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0] |
3058 }" did not throw | |
3059 FAIL Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
3060 selection.collapse(point[0], point[1]); | |
3061 }" did not throw | |
3062 PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild
, -1] | 2872 PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild
, -1] |
3063 PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild
, 0] | 2873 PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild
, 0] |
3064 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 | 2874 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 |
3065 PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild
, 2] | 2875 PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild
, 2] |
3066 PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild
, 8] | 2876 PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild
, 8] |
3067 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 | 2877 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 |
3068 PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild
, 10] | 2878 PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild
, 10] |
3069 PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild
, 65535] | 2879 PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild
, 65535] |
3070 PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild
, -1] | 2880 PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild
, -1] |
3071 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 | 2881 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 |
3072 " but got Text node "Qrstuvwx" | 2882 " but got Text node "Qrstuvwx" |
3073 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 | 2883 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 |
3074 " but got Text node "Qrstuvwx" | 2884 " but got Text node "Qrstuvwx" |
3075 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 | 2885 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 |
3076 " but got Text node "Qrstuvwx" | 2886 " but got Text node "Qrstuvwx" |
3077 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 | 2887 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 |
3078 " but got Text node "Qrstuvwx" | 2888 " but got Text node "Qrstuvwx" |
3079 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 | 2889 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 |
3080 " but got Text node "Qrstuvwx" | 2890 " but got Text node "Qrstuvwx" |
3081 PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChil
d, 10] | 2891 PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChil
d, 10] |
3082 PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChil
d, 65535] | 2892 PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChil
d, 65535] |
3083 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 Text node "Qrstuvwx" | 2893 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 Text node "Qrstuvwx" |
3084 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 Text node "Qrstuvwx" | 2894 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 Text node "Qrstuvwx" |
3085 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 Text node "Qrstuvwx" | 2895 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 Text node "Qrstuvwx" |
3086 FAIL Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 2896 PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firs
tChild, 9] |
3087 selection.collapse(point[0], point[1]); | |
3088 }" did not throw | |
3089 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 Text node "Qrstuvwx" | 2897 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 Text node "Qrstuvwx" |
3090 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 Text node "Qrstuvwx" | 2898 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 Text node "Qrstuvwx" |
3091 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 Text node "Qrstuvwx" | 2899 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 Text node "Qrstuvwx" |
3092 FAIL Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 2900 PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.first
Child, 9] |
3093 selection.collapse(point[0], point[1]); | |
3094 }" did not throw | |
3095 PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentE
lement, -1] | 2901 PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentE
lement, -1] |
3096 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> | 2902 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> |
3097 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2903 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3098 " | 2904 " |
3099 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> | 2905 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> |
3100 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 2906 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3101 " | 2907 " |
3102 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> | 2908 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> |
3103 <me... but got Text node "Qrstuvwx" | 2909 <me... but got Text node "Qrstuvwx" |
3104 PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentE
lement, 7] | 2910 PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentE
lement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3142 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" | 2948 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" |
3143 PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96] | 2949 PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96] |
3144 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 Text node "Qrstuvwx" | 2950 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 Text node "Qrstuvwx" |
3145 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 Text node "Qrstuvwx" | 2951 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 Text node "Qrstuvwx" |
3146 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 Text node "Qrstuvwx" | 2952 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 Text node "Qrstuvwx" |
3147 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 Text
node "Qrstuvwx" | 2953 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 Text
node "Qrstuvwx" |
3148 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 Text
node "Qrstuvwx" | 2954 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 Text
node "Qrstuvwx" |
3149 PASS Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1] | 2955 PASS Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1] |
3150 FAIL Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 2956 FAIL Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
3151 FAIL Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | 2957 FAIL Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" |
3152 FAIL Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 2958 PASS Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5] |
3153 selection.collapse(point[0], point[1]); | |
3154 }" did not throw | |
3155 FAIL Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 2959 FAIL Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
3156 FAIL Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" | 2960 FAIL Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got Te
xt node "Qrstuvwx" |
3157 FAIL Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 2961 FAIL Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
3158 FAIL Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 2962 FAIL Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
3159 FAIL Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 2963 FAIL Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
3160 FAIL Range 19 [document.body, 0, document.body, 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 2964 FAIL Range 19 [document.body, 0, document.body, 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
3161 FAIL Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 2965 FAIL Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
3162 FAIL Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 2966 FAIL Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
3163 FAIL Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | 2967 FAIL Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" |
3164 FAIL Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 2968 FAIL Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
3165 FAIL Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | 2969 FAIL Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" |
3166 FAIL Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" | 2970 FAIL Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Text node "Qrstuvwx" |
3167 FAIL Range 19 [document.body, 0, document.body, 1], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2971 FAIL Range 19 [document.body, 0, document.body, 1], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
3168 FAIL Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 2972 FAIL Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
3169 FAIL Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 2973 FAIL Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
3170 FAIL Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 2974 FAIL Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
3171 FAIL Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 2975 FAIL Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
3172 FAIL Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" | 2976 FAIL Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" |
3173 FAIL Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" | 2977 FAIL Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" |
3174 FAIL Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" | 2978 FAIL Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Text node "Qrstuvwx" |
3175 PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0] | 2979 PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0] |
3176 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 () { | 2980 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 () { |
3177 selection.collapse(point[0], point[1]); | 2981 selection.collapse(point[0], point[1]); |
3178 }" 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 | 2982 }" 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 |
3179 PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1] | 2983 PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1] |
3180 FAIL Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 2984 PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
|
3181 selection.collapse(point[0], point[1]); | 2985 PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0] |
3182 }" did not throw | |
3183 FAIL Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
3184 selection.collapse(point[0], point[1]); | |
3185 }" did not throw | |
3186 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 0 [paras[0].firstChild, -1] | 2986 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 0 [paras[0].firstChild, -1] |
3187 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 1 [paras[0].firstChild, 0] | 2987 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 1 [paras[0].firstChild, 0] |
3188 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 | 2988 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 |
3189 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 3 [paras[0].firstChild, 2] | 2989 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 3 [paras[0].firstChild, 2] |
3190 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 4 [paras[0].firstChild, 8] | 2990 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 4 [paras[0].firstChild, 8] |
3191 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 | 2991 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 |
3192 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 6 [paras[0].firstChild, 10] | 2992 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 6 [paras[0].firstChild, 10] |
3193 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 7 [paras[0].firstChild, 65535] | 2993 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 7 [paras[0].firstChild, 65535] |
3194 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 8 [paras[1].firstChild, -1] | 2994 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 8 [paras[1].firstChild, -1] |
3195 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 | 2995 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 |
3196 " but got Text node "Qrstuvwx" | 2996 " but got Text node "Qrstuvwx" |
3197 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 | 2997 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 |
3198 " but got Text node "Qrstuvwx" | 2998 " but got Text node "Qrstuvwx" |
3199 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 | 2999 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 |
3200 " but got Text node "Qrstuvwx" | 3000 " but got Text node "Qrstuvwx" |
3201 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 | 3001 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 |
3202 " but got Text node "Qrstuvwx" | 3002 " but got Text node "Qrstuvwx" |
3203 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 | 3003 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 |
3204 " but got Text node "Qrstuvwx" | 3004 " but got Text node "Qrstuvwx" |
3205 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 14 [paras[1].firstChild, 10] | 3005 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 14 [paras[1].firstChild, 10] |
3206 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 15 [paras[1].firstChild, 65535] | 3006 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 15 [paras[1].firstChild, 65535] |
3207 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 | 3007 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 |
3208 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 | 3008 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 |
3209 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 | 3009 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 |
3210 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 19 [detachedPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR wh
en collapse()ing if the offset is negative or greater than the node's length fun
ction "function () { | 3010 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 19 [detachedPara1.firstChild, 9] |
3211 selection.collapse(point[0], point[1]); | |
3212 }" did not throw | |
3213 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 | 3011 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 |
3214 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 | 3012 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 |
3215 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 | 3013 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 |
3216 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 23 [foreignPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR whe
n collapse()ing if the offset is negative or greater than the node's length func
tion "function () { | 3014 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 23 [foreignPara1.firstChild, 9] |
3217 selection.collapse(point[0], point[1]); | |
3218 }" did not throw | |
3219 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 24 [document.documentElement, -1] | 3015 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 24 [document.documentElement, -1] |
3220 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> | 3016 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> |
3221 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3017 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3222 " | 3018 " |
3223 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> | 3019 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> |
3224 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3020 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3225 " | 3021 " |
3226 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> | 3022 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> |
3227 <me... but got Text node "Qrstuvwx" | 3023 <me... but got Text node "Qrstuvwx" |
3228 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 28 [document.documentElement, 7] | 3024 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 28 [document.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3266 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" | 3062 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" |
3267 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 53 [comment, 96] | 3063 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 53 [comment, 96] |
3268 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 | 3064 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 |
3269 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 | 3065 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 |
3270 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 | 3066 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 |
3271 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 | 3067 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 |
3272 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 | 3068 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 |
3273 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 59 [xmlDoc, -1] | 3069 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 59 [xmlDoc, -1] |
3274 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 | 3070 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 |
3275 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 | 3071 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 |
3276 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 62 [xmlDoc, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing i
f the offset is negative or greater than the node's length function "function ()
{ | 3072 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 62 [xmlDoc, 5] |
3277 selection.collapse(point[0], point[1]); | |
3278 }" did not throw | |
3279 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 3073 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3280 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | 3074 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 |
3281 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 3075 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
3282 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 3076 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
3283 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | 3077 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 |
3284 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3078 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3285 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | 3079 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 |
3286 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | 3080 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 |
3287 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | 3081 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 |
3288 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 3082 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
3289 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 3083 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
3290 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount m
ust equal 1 after collapse() expected 1 but got 0 | 3084 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount m
ust equal 1 after collapse() expected 1 but got 0 |
3291 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3085 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3292 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | 3086 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 |
3293 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 3087 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
3294 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | 3088 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 |
3295 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | 3089 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 |
3296 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | 3090 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 |
3297 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | 3091 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 |
3298 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 | 3092 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 |
3299 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 83 [doctype, 0] | 3093 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 83 [doctype, 0] |
3300 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 () { | 3094 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 () { |
3301 selection.collapse(point[0], point[1]); | 3095 selection.collapse(point[0], point[1]); |
3302 }" 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 | 3096 }" 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 |
3303 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 85 [doctype, 1] | 3097 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 85 [doctype, 1] |
3304 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 86 [foreignDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when
collapse()ing if the node is a DocumentType function "function () { | 3098 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 86 [foreignDoctype, 0] |
3305 selection.collapse(point[0], point[1]); | 3099 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 87 [xmlDoctype, 0] |
3306 }" did not throw | |
3307 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 87 [xmlDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when coll
apse()ing if the node is a DocumentType function "function () { | |
3308 selection.collapse(point[0], point[1]); | |
3309 }" did not throw | |
3310 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstC
hild, -1] | 3100 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstC
hild, -1] |
3311 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstC
hild, 0] | 3101 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstC
hild, 0] |
3312 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 | 3102 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 |
3313 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstC
hild, 2] | 3103 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstC
hild, 2] |
3314 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstC
hild, 8] | 3104 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstC
hild, 8] |
3315 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 | 3105 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 |
3316 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstC
hild, 10] | 3106 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstC
hild, 10] |
3317 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstC
hild, 65535] | 3107 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstC
hild, 65535] |
3318 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstC
hild, -1] | 3108 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstC
hild, -1] |
3319 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 | 3109 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 |
3320 " but got Text node "Qrstuvwx" | 3110 " but got Text node "Qrstuvwx" |
3321 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 | 3111 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 |
3322 " but got Text node "Qrstuvwx" | 3112 " but got Text node "Qrstuvwx" |
3323 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 | 3113 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 |
3324 " but got Text node "Qrstuvwx" | 3114 " but got Text node "Qrstuvwx" |
3325 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 | 3115 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 |
3326 " but got Text node "Qrstuvwx" | 3116 " but got Text node "Qrstuvwx" |
3327 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 | 3117 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 |
3328 " but got Text node "Qrstuvwx" | 3118 " but got Text node "Qrstuvwx" |
3329 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].first
Child, 10] | 3119 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].first
Child, 10] |
3330 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].first
Child, 65535] | 3120 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].first
Child, 65535] |
3331 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 | 3121 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 |
3332 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 | 3122 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 |
3333 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 | 3123 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 |
3334 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.
firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 3124 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.
firstChild, 9] |
3335 selection.collapse(point[0], point[1]); | |
3336 }" did not throw | |
3337 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 | 3125 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 |
3338 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 | 3126 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 |
3339 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 | 3127 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 |
3340 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.f
irstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 3128 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.f
irstChild, 9] |
3341 selection.collapse(point[0], point[1]); | |
3342 }" did not throw | |
3343 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.docum
entElement, -1] | 3129 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.docum
entElement, -1] |
3344 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> | 3130 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> |
3345 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3131 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3346 " | 3132 " |
3347 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> | 3133 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> |
3348 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3134 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3349 " | 3135 " |
3350 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> | 3136 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> |
3351 <me... but got Text node "Qrstuvwx" | 3137 <me... but got Text node "Qrstuvwx" |
3352 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.docum
entElement, 7] | 3138 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.docum
entElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3390 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" | 3176 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" |
3391 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96] | 3177 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96] |
3392 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 | 3178 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 |
3393 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 | 3179 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 |
3394 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 | 3180 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 |
3395 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 | 3181 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 |
3396 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 | 3182 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 |
3397 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1] | 3183 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1] |
3398 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 | 3184 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 |
3399 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 | 3185 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 |
3400 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5] ass
ert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negati
ve or greater than the node's length function "function () { | 3186 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5] |
3401 selection.collapse(point[0], point[1]); | |
3402 }" did not throw | |
3403 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3187 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3404 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3188 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3405 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3189 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3406 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3190 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3407 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3191 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3408 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3192 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3409 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3193 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3410 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3194 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3411 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3195 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3412 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3196 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3413 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3197 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3414 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3198 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3415 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3199 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedCommen
t, 3] 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 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3200 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 76 [detachedCommen
t, 5] 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 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3201 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3418 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3202 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3419 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3203 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3420 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3204 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3421 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3205 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3422 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 | 3206 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 |
3423 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0] | 3207 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0] |
3424 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 () { | 3208 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 () { |
3425 selection.collapse(point[0], point[1]); | 3209 selection.collapse(point[0], point[1]); |
3426 }" 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 | 3210 }" 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 |
3427 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1] | 3211 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1] |
3428 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the n
ode is a DocumentType function "function () { | 3212 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
, 0] |
3429 selection.collapse(point[0], point[1]); | 3213 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
|
3430 }" did not throw | |
3431 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
3432 selection.collapse(point[0], point[1]); | |
3433 }" did not throw | |
3434 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstC
hild, -1] | 3214 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstC
hild, -1] |
3435 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstC
hild, 0] | 3215 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstC
hild, 0] |
3436 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 | 3216 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 |
3437 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstC
hild, 2] | 3217 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstC
hild, 2] |
3438 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstC
hild, 8] | 3218 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstC
hild, 8] |
3439 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 | 3219 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 |
3440 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstC
hild, 10] | 3220 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstC
hild, 10] |
3441 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstC
hild, 65535] | 3221 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstC
hild, 65535] |
3442 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstC
hild, -1] | 3222 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstC
hild, -1] |
3443 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 | 3223 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 |
3444 " but got Text node "Qrstuvwx" | 3224 " but got Text node "Qrstuvwx" |
3445 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 | 3225 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 |
3446 " but got Text node "Qrstuvwx" | 3226 " but got Text node "Qrstuvwx" |
3447 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 | 3227 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 |
3448 " but got Text node "Qrstuvwx" | 3228 " but got Text node "Qrstuvwx" |
3449 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 | 3229 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 |
3450 " but got Text node "Qrstuvwx" | 3230 " but got Text node "Qrstuvwx" |
3451 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 | 3231 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 |
3452 " but got Text node "Qrstuvwx" | 3232 " but got Text node "Qrstuvwx" |
3453 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].first
Child, 10] | 3233 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].first
Child, 10] |
3454 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].first
Child, 65535] | 3234 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].first
Child, 65535] |
3455 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 | 3235 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 |
3456 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 | 3236 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 |
3457 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 | 3237 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 |
3458 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.
firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if th
e offset is negative or greater than the node's length function "function () { | 3238 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.
firstChild, 9] |
3459 selection.collapse(point[0], point[1]); | |
3460 }" did not throw | |
3461 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 | 3239 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 |
3462 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 | 3240 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 |
3463 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 | 3241 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 |
3464 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.f
irstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the
offset is negative or greater than the node's length function "function () { | 3242 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.f
irstChild, 9] |
3465 selection.collapse(point[0], point[1]); | |
3466 }" did not throw | |
3467 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.docum
entElement, -1] | 3243 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.docum
entElement, -1] |
3468 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> | 3244 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> |
3469 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3245 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3470 " | 3246 " |
3471 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> | 3247 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> |
3472 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3248 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3473 " | 3249 " |
3474 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> | 3250 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> |
3475 <me... but got Text node "Qrstuvwx" | 3251 <me... but got Text node "Qrstuvwx" |
3476 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.docum
entElement, 7] | 3252 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.docum
entElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3514 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" | 3290 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" |
3515 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96] | 3291 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96] |
3516 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 | 3292 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 |
3517 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 | 3293 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 |
3518 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 | 3294 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 |
3519 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 | 3295 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 |
3520 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 | 3296 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 |
3521 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1] | 3297 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1] |
3522 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 | 3298 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 |
3523 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 | 3299 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 |
3524 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5] ass
ert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negati
ve or greater than the node's length function "function () { | 3300 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5] |
3525 selection.collapse(point[0], point[1]); | |
3526 }" did not throw | |
3527 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3301 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3528 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3302 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3529 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3303 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3530 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3304 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3531 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | 3305 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 |
3532 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3306 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3533 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | 3307 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 |
3534 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3308 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3535 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | 3309 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 |
3536 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3310 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3537 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3311 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3538 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | 3312 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 |
3539 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3313 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3540 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3314 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3541 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3315 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3542 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | 3316 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 |
3543 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3317 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3544 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | 3318 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 |
3545 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3319 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3546 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 | 3320 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 |
3547 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] | 3321 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] |
3548 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 () { | 3322 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 () { |
3549 selection.collapse(point[0], point[1]); | 3323 selection.collapse(point[0], point[1]); |
3550 }" 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 | 3324 }" 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 |
3551 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] | 3325 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] |
3552 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the n
ode is a DocumentType function "function () { | 3326 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
, 0] |
3553 selection.collapse(point[0], point[1]); | 3327 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
|
3554 }" did not throw | |
3555 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
3556 selection.collapse(point[0], point[1]); | |
3557 }" did not throw | |
3558 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] | 3328 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] |
3559 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] | 3329 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] |
3560 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 | 3330 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 |
3561 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] | 3331 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] |
3562 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] | 3332 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] |
3563 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 | 3333 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 |
3564 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] | 3334 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] |
3565 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] | 3335 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] |
3566 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] | 3336 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] |
3567 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 | 3337 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 |
3568 " but got Text node "Qrstuvwx" | 3338 " but got Text node "Qrstuvwx" |
3569 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 | 3339 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 |
3570 " but got Text node "Qrstuvwx" | 3340 " but got Text node "Qrstuvwx" |
3571 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 | 3341 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 |
3572 " but got Text node "Qrstuvwx" | 3342 " but got Text node "Qrstuvwx" |
3573 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 | 3343 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 |
3574 " but got Text node "Qrstuvwx" | 3344 " but got Text node "Qrstuvwx" |
3575 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 | 3345 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 |
3576 " but got Text node "Qrstuvwx" | 3346 " but got Text node "Qrstuvwx" |
3577 PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10] | 3347 PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10] |
3578 PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535] | 3348 PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535] |
3579 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3349 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3580 " | 3350 " |
3581 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3351 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3582 " | 3352 " |
3583 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3353 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3584 " | 3354 " |
3585 FAIL Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 3355 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
|
3586 selection.collapse(point[0], point[1]); | |
3587 }" did not throw | |
3588 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3356 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3589 " | 3357 " |
3590 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3358 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3591 " | 3359 " |
3592 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3360 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3593 " | 3361 " |
3594 FAIL Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 3362 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9] |
3595 selection.collapse(point[0], point[1]); | |
3596 }" did not throw | |
3597 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1
] | 3363 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1
] |
3598 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> | 3364 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> |
3599 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3365 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3600 " | 3366 " |
3601 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> | 3367 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> |
3602 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3368 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3603 " | 3369 " |
3604 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> | 3370 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> |
3605 <me... but got Text node "Qrstuvwx" | 3371 <me... but got Text node "Qrstuvwx" |
3606 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
| 3372 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
|
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3657 " | 3423 " |
3658 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 Text node "Äb̈
c̈d̈ëf̈g̈ḧ | 3424 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 Text node "Äb̈
c̈d̈ëf̈g̈ḧ |
3659 " | 3425 " |
3660 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 Text node "Äb
̈c̈d̈ëf̈g̈ḧ | 3426 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 Text node "Äb
̈c̈d̈ëf̈g̈ḧ |
3661 " | 3427 " |
3662 PASS Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1] | 3428 PASS Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1] |
3663 FAIL Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3429 FAIL Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3664 " | 3430 " |
3665 FAIL Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3431 FAIL Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3666 " | 3432 " |
3667 FAIL Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 3433 PASS Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5] |
3668 selection.collapse(point[0], point[1]); | |
3669 }" did not throw | |
3670 FAIL Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 3434 FAIL Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
3671 " | 3435 " |
3672 FAIL Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 3436 FAIL Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
3673 " | 3437 " |
3674 FAIL Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3438 FAIL Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3675 " | 3439 " |
3676 FAIL Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3440 FAIL Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3677 " | 3441 " |
3678 FAIL Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3442 FAIL Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3679 " | 3443 " |
(...skipping 25 matching lines...) Expand all Loading... |
3705 " | 3469 " |
3706 FAIL Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3470 FAIL Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3707 " | 3471 " |
3708 FAIL Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3472 FAIL Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3709 " | 3473 " |
3710 PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0] | 3474 PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0] |
3711 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 () { | 3475 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 () { |
3712 selection.collapse(point[0], point[1]); | 3476 selection.collapse(point[0], point[1]); |
3713 }" 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 | 3477 }" 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 |
3714 PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1] | 3478 PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1] |
3715 FAIL Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 3479 PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0] |
3716 selection.collapse(point[0], point[1]); | 3480 PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0] |
3717 }" did not throw | |
3718 FAIL Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
3719 selection.collapse(point[0], point[1]); | |
3720 }" did not throw | |
3721 PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1] | 3481 PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1] |
3722 PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0] | 3482 PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0] |
3723 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 | 3483 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 |
3724 PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2] | 3484 PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2] |
3725 PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8] | 3485 PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8] |
3726 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 | 3486 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 |
3727 PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10] | 3487 PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10] |
3728 PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535] | 3488 PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535] |
3729 PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1] | 3489 PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1] |
3730 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 | 3490 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 |
3731 " but got Text node "Qrstuvwx" | 3491 " but got Text node "Qrstuvwx" |
3732 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 | 3492 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 |
3733 " but got Text node "Qrstuvwx" | 3493 " but got Text node "Qrstuvwx" |
3734 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 | 3494 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 |
3735 " but got Text node "Qrstuvwx" | 3495 " but got Text node "Qrstuvwx" |
3736 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 | 3496 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 |
3737 " but got Text node "Qrstuvwx" | 3497 " but got Text node "Qrstuvwx" |
3738 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 | 3498 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 |
3739 " but got Text node "Qrstuvwx" | 3499 " but got Text node "Qrstuvwx" |
3740 PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10] | 3500 PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10] |
3741 PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535] | 3501 PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535] |
3742 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3502 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3743 " | 3503 " |
3744 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3504 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3745 " | 3505 " |
3746 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3506 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3747 " | 3507 " |
3748 FAIL Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is ne
gative or greater than the node's length function "function () { | 3508 PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
|
3749 selection.collapse(point[0], point[1]); | |
3750 }" did not throw | |
3751 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3509 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3752 " | 3510 " |
3753 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3511 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3754 " | 3512 " |
3755 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3513 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3756 " | 3514 " |
3757 FAIL Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9]
assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is neg
ative or greater than the node's length function "function () { | 3515 PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9] |
3758 selection.collapse(point[0], point[1]); | |
3759 }" did not throw | |
3760 PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1
] | 3516 PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1
] |
3761 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> | 3517 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> |
3762 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3518 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3763 " | 3519 " |
3764 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> | 3520 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> |
3765 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3521 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3766 " | 3522 " |
3767 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> | 3523 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> |
3768 <me... but got Text node "Qrstuvwx" | 3524 <me... but got Text node "Qrstuvwx" |
3769 PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
| 3525 PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
|
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3820 " | 3576 " |
3821 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 Text node "Äb̈
c̈d̈ëf̈g̈ḧ | 3577 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 Text node "Äb̈
c̈d̈ëf̈g̈ḧ |
3822 " | 3578 " |
3823 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 Text node "Äb
̈c̈d̈ëf̈g̈ḧ | 3579 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 Text node "Äb
̈c̈d̈ëf̈g̈ḧ |
3824 " | 3580 " |
3825 PASS Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1] | 3581 PASS Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1] |
3826 FAIL Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3582 FAIL Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3827 " | 3583 " |
3828 FAIL Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3584 FAIL Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3829 " | 3585 " |
3830 FAIL Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5] assert_throws: Mu
st throw INDEX_SIZE_ERR when collapse()ing if the offset is negative or greater
than the node's length function "function () { | 3586 PASS Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5] |
3831 selection.collapse(point[0], point[1]); | |
3832 }" did not throw | |
3833 FAIL Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 3587 FAIL Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
3834 " | 3588 " |
3835 FAIL Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ | 3589 FAIL Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Text node "A
̈b̈c̈d̈ëf̈g̈ḧ |
3836 " | 3590 " |
3837 FAIL Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3591 FAIL Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3838 " | 3592 " |
3839 FAIL Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3593 FAIL Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3840 " | 3594 " |
3841 FAIL Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3595 FAIL Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3842 " | 3596 " |
(...skipping 25 matching lines...) Expand all Loading... |
3868 " | 3622 " |
3869 FAIL Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3623 FAIL Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3870 " | 3624 " |
3871 FAIL Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3625 FAIL Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3872 " | 3626 " |
3873 PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0] | 3627 PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0] |
3874 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 () { | 3628 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 () { |
3875 selection.collapse(point[0], point[1]); | 3629 selection.collapse(point[0], point[1]); |
3876 }" 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 | 3630 }" 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 |
3877 PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1] | 3631 PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1] |
3878 FAIL Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0] assert_th
rows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docum
entType function "function () { | 3632 PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0] |
3879 selection.collapse(point[0], point[1]); | 3633 PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0] |
3880 }" did not throw | |
3881 FAIL Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0] assert_throws
: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentT
ype function "function () { | |
3882 selection.collapse(point[0], point[1]); | |
3883 }" did not throw | |
3884 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild
, -1] | 3634 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild
, -1] |
3885 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild
, 0] | 3635 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild
, 0] |
3886 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 | 3636 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 |
3887 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild
, 2] | 3637 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild
, 2] |
3888 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild
, 8] | 3638 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild
, 8] |
3889 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 | 3639 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 |
3890 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild
, 10] | 3640 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild
, 10] |
3891 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild
, 65535] | 3641 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild
, 65535] |
3892 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild
, -1] | 3642 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild
, -1] |
3893 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 | 3643 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 |
3894 " but got Text node "Qrstuvwx" | 3644 " but got Text node "Qrstuvwx" |
3895 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 | 3645 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 |
3896 " but got Text node "Qrstuvwx" | 3646 " but got Text node "Qrstuvwx" |
3897 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 | 3647 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 |
3898 " but got Text node "Qrstuvwx" | 3648 " but got Text node "Qrstuvwx" |
3899 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 | 3649 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 |
3900 " but got Text node "Qrstuvwx" | 3650 " but got Text node "Qrstuvwx" |
3901 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 | 3651 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 |
3902 " but got Text node "Qrstuvwx" | 3652 " but got Text node "Qrstuvwx" |
3903 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChil
d, 10] | 3653 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChil
d, 10] |
3904 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChil
d, 65535] | 3654 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChil
d, 65535] |
3905 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 | 3655 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 |
3906 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 | 3656 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 |
3907 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 | 3657 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 |
3908 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 3658 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firs
tChild, 9] |
3909 selection.collapse(point[0], point[1]); | |
3910 }" did not throw | |
3911 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 | 3659 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 |
3912 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 | 3660 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 |
3913 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 | 3661 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 |
3914 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 3662 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.first
Child, 9] |
3915 selection.collapse(point[0], point[1]); | |
3916 }" did not throw | |
3917 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentE
lement, -1] | 3663 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentE
lement, -1] |
3918 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> | 3664 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> |
3919 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3665 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3920 " | 3666 " |
3921 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> | 3667 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> |
3922 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3668 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
3923 " | 3669 " |
3924 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> | 3670 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> |
3925 <me... but got Text node "Qrstuvwx" | 3671 <me... but got Text node "Qrstuvwx" |
3926 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentE
lement, 7] | 3672 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentE
lement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3964 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" | 3710 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" |
3965 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96] | 3711 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96] |
3966 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 | 3712 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 |
3967 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 | 3713 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 |
3968 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 | 3714 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 |
3969 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 | 3715 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 |
3970 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 | 3716 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 |
3971 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1] | 3717 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1] |
3972 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 | 3718 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 |
3973 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 | 3719 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 |
3974 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 3720 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5] |
3975 selection.collapse(point[0], point[1]); | |
3976 }" did not throw | |
3977 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3721 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3978 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3722 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
3979 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3723 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
3980 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3724 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
3981 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3725 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
3982 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3726 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3983 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3727 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
3984 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3728 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3985 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3729 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
3986 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3730 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3987 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3731 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3988 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 3732 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
3989 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3733 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
3990 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3734 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
3991 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3735 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3992 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3736 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
3993 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3737 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
3994 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3738 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
3995 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3739 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
3996 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 | 3740 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 |
3997 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0] | 3741 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0] |
3998 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 () { | 3742 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 () { |
3999 selection.collapse(point[0], point[1]); | 3743 selection.collapse(point[0], point[1]); |
4000 }" 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 | 3744 }" 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 |
4001 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1] | 3745 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1] |
4002 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 3746 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
|
4003 selection.collapse(point[0], point[1]); | 3747 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0] |
4004 }" did not throw | |
4005 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
4006 selection.collapse(point[0], point[1]); | |
4007 }" did not throw | |
4008 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild
, -1] | 3748 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild
, -1] |
4009 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild
, 0] | 3749 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild
, 0] |
4010 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 | 3750 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 |
4011 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild
, 2] | 3751 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild
, 2] |
4012 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild
, 8] | 3752 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild
, 8] |
4013 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 | 3753 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 |
4014 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild
, 10] | 3754 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild
, 10] |
4015 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild
, 65535] | 3755 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild
, 65535] |
4016 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild
, -1] | 3756 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild
, -1] |
4017 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 | 3757 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 |
4018 " but got Text node "Qrstuvwx" | 3758 " but got Text node "Qrstuvwx" |
4019 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 | 3759 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 |
4020 " but got Text node "Qrstuvwx" | 3760 " but got Text node "Qrstuvwx" |
4021 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 | 3761 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 |
4022 " but got Text node "Qrstuvwx" | 3762 " but got Text node "Qrstuvwx" |
4023 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 | 3763 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 |
4024 " but got Text node "Qrstuvwx" | 3764 " but got Text node "Qrstuvwx" |
4025 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 | 3765 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 |
4026 " but got Text node "Qrstuvwx" | 3766 " but got Text node "Qrstuvwx" |
4027 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChil
d, 10] | 3767 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChil
d, 10] |
4028 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChil
d, 65535] | 3768 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChil
d, 65535] |
4029 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 | 3769 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 |
4030 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 | 3770 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 |
4031 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 | 3771 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 |
4032 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 3772 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firs
tChild, 9] |
4033 selection.collapse(point[0], point[1]); | |
4034 }" did not throw | |
4035 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 | 3773 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 |
4036 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 | 3774 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 |
4037 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 | 3775 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 |
4038 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.first
Child, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the off
set is negative or greater than the node's length function "function () { | 3776 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.first
Child, 9] |
4039 selection.collapse(point[0], point[1]); | |
4040 }" did not throw | |
4041 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentE
lement, -1] | 3777 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentE
lement, -1] |
4042 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> | 3778 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> |
4043 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3779 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4044 " | 3780 " |
4045 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> | 3781 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> |
4046 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3782 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4047 " | 3783 " |
4048 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> | 3784 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> |
4049 <me... but got Text node "Qrstuvwx" | 3785 <me... but got Text node "Qrstuvwx" |
4050 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentE
lement, 7] | 3786 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentE
lement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4088 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" | 3824 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" |
4089 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96] | 3825 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96] |
4090 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 | 3826 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 |
4091 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 | 3827 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 |
4092 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 | 3828 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 |
4093 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 | 3829 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 |
4094 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 | 3830 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 |
4095 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1] | 3831 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1] |
4096 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 | 3832 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 |
4097 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 | 3833 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 |
4098 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5] assert_
throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative o
r greater than the node's length function "function () { | 3834 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5] |
4099 selection.collapse(point[0], point[1]); | |
4100 }" did not throw | |
4101 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3835 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
4102 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | 3836 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 |
4103 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3837 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
4104 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3838 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
4105 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | 3839 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 |
4106 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3840 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4107 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | 3841 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 |
4108 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3842 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
4109 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | 3843 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 |
4110 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3844 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
4111 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3845 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
4112 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | 3846 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 |
4113 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3847 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
4114 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | 3848 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 |
4115 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3849 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
4116 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | 3850 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 |
4117 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | 3851 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 |
4118 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | 3852 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 |
4119 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | 3853 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 |
4120 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 | 3854 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 |
4121 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0] | 3855 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0] |
4122 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 () { | 3856 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 () { |
4123 selection.collapse(point[0], point[1]); | 3857 selection.collapse(point[0], point[1]); |
4124 }" 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 | 3858 }" 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 |
4125 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1] | 3859 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1] |
4126 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 3860 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
|
4127 selection.collapse(point[0], point[1]); | 3861 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0] |
4128 }" did not throw | |
4129 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
4130 selection.collapse(point[0], point[1]); | |
4131 }" did not throw | |
4132 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0
].firstChild, -1] | 3862 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0
].firstChild, -1] |
4133 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0
].firstChild, 0] | 3863 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0
].firstChild, 0] |
4134 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 | 3864 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 |
4135 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0
].firstChild, 2] | 3865 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0
].firstChild, 2] |
4136 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0
].firstChild, 8] | 3866 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0
].firstChild, 8] |
4137 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 | 3867 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 |
4138 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0
].firstChild, 10] | 3868 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0
].firstChild, 10] |
4139 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0
].firstChild, 65535] | 3869 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0
].firstChild, 65535] |
4140 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1
].firstChild, -1] | 3870 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1
].firstChild, -1] |
4141 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 | 3871 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 |
4142 " but got Text node "Qrstuvwx" | 3872 " but got Text node "Qrstuvwx" |
4143 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 | 3873 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 |
4144 " but got Text node "Qrstuvwx" | 3874 " but got Text node "Qrstuvwx" |
4145 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 | 3875 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 |
4146 " but got Text node "Qrstuvwx" | 3876 " but got Text node "Qrstuvwx" |
4147 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 | 3877 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 |
4148 " but got Text node "Qrstuvwx" | 3878 " but got Text node "Qrstuvwx" |
4149 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 | 3879 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 |
4150 " but got Text node "Qrstuvwx" | 3880 " but got Text node "Qrstuvwx" |
4151 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[
1].firstChild, 10] | 3881 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[
1].firstChild, 10] |
4152 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[
1].firstChild, 65535] | 3882 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[
1].firstChild, 65535] |
4153 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 Element node <p id="c">Qrstuvwx</p> | 3883 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 Element node <p id="c">Qrstuvwx</p> |
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 Element node <p id="c">Qrstuvwx</p> | 3884 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 Element node <p id="c">Qrstuvwx</p> |
4155 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 Element node <p id="c">Qrstuvwx</p> | 3885 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 Element node <p id="c">Qrstuvwx</p> |
4156 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detach
edPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()i
ng if the offset is negative or greater than the node's length function "functio
n () { | 3886 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detach
edPara1.firstChild, 9] |
4157 selection.collapse(point[0], point[1]); | |
4158 }" did not throw | |
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 Element node <p id="c">Qrstuvwx</p> | 3887 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 Element node <p id="c">Qrstuvwx</p> |
4160 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 Element node <p id="c">Qrstuvwx</p> | 3888 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 Element node <p id="c">Qrstuvwx</p> |
4161 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 Element node <p id="c">Qrstuvwx</p> | 3889 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 Element node <p id="c">Qrstuvwx</p> |
4162 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreig
nPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 3890 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreig
nPara1.firstChild, 9] |
4163 selection.collapse(point[0], point[1]); | |
4164 }" did not throw | |
4165 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [docume
nt.documentElement, -1] | 3891 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [docume
nt.documentElement, -1] |
4166 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
> | 3892 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
> |
4167 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3893 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4168 " | 3894 " |
4169 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
> | 3895 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
> |
4170 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 3896 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4171 " | 3897 " |
4172 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
> | 3898 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
> |
4173 <me... but got Text node "Qrstuvwx" | 3899 <me... but got Text node "Qrstuvwx" |
4174 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [docume
nt.documentElement, 7] | 3900 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [docume
nt.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4212 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" | 3938 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" |
4213 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [commen
t, 96] | 3939 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [commen
t, 96] |
4214 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 Element node <p id="c">Qrstuvwx</p> | 3940 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 Element node <p id="c">Qrstuvwx</p> |
4215 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 Element node <p id="c">Qrstuvwx</p> | 3941 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 Element node <p id="c">Qrstuvwx</p> |
4216 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 Element node <p id="c">Qrstuvwx</p> | 3942 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 Element node <p id="c">Qrstuvwx</p> |
4217 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 Element node <p id="c">Qrstuvwx</p> | 3943 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 Element node <p id="c">Qrstuvwx</p> |
4218 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 Element node <p id="c">Qrstuvwx</p> | 3944 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 Element node <p id="c">Qrstuvwx</p> |
4219 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc
, -1] | 3945 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc
, -1] |
4220 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> | 3946 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> |
4221 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> | 3947 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> |
4222 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc
, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 3948 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc
, 5] |
4223 selection.collapse(point[0], point[1]); | |
4224 }" did not throw | |
4225 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> | 3949 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> |
4226 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> | 3950 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> |
4227 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 3951 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4228 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 3952 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4229 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 3953 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4230 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> | 3954 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> |
4231 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> | 3955 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> |
4232 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> | 3956 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> |
4233 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> | 3957 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> |
4234 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> | 3958 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> |
4235 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> | 3959 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> |
4236 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Element node <p id="c">Qrstuvwx</p> | 3960 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Element node <p id="c">Qrstuvwx</p> |
4237 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> | 3961 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> |
4238 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> | 3962 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> |
4239 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> | 3963 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> |
4240 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> | 3964 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> |
4241 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p
id="c">Qrstuvwx</p> | 3965 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p
id="c">Qrstuvwx</p> |
4242 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</p> | 3966 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</p> |
4243 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Element node <p id="c">Qrstuv
wx</p> | 3967 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Element node <p id="c">Qrstuv
wx</p> |
4244 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</
p> | 3968 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</
p> |
4245 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctyp
e, 0] | 3969 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctyp
e, 0] |
4246 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 () { | 3970 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 () { |
4247 selection.collapse(point[0], point[1]); | 3971 selection.collapse(point[0], point[1]); |
4248 }" 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 | 3972 }" 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 |
4249 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctyp
e, 1] | 3973 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctyp
e, 1] |
4250 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
nDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 3974 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
nDoctype, 0] |
4251 selection.collapse(point[0], point[1]); | 3975 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoc
type, 0] |
4252 }" did not throw | |
4253 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoc
type, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if t
he node is a DocumentType function "function () { | |
4254 selection.collapse(point[0], point[1]); | |
4255 }" did not throw | |
4256 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0
].firstChild, -1] | 3976 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0
].firstChild, -1] |
4257 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0
].firstChild, 0] | 3977 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0
].firstChild, 0] |
4258 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 | 3978 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 |
4259 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0
].firstChild, 2] | 3979 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0
].firstChild, 2] |
4260 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0
].firstChild, 8] | 3980 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0
].firstChild, 8] |
4261 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 | 3981 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 |
4262 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0
].firstChild, 10] | 3982 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0
].firstChild, 10] |
4263 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0
].firstChild, 65535] | 3983 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0
].firstChild, 65535] |
4264 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1
].firstChild, -1] | 3984 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1
].firstChild, -1] |
4265 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 | 3985 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 |
4266 " but got Text node "Qrstuvwx" | 3986 " but got Text node "Qrstuvwx" |
4267 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 | 3987 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 |
4268 " but got Text node "Qrstuvwx" | 3988 " but got Text node "Qrstuvwx" |
4269 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 | 3989 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 |
4270 " but got Text node "Qrstuvwx" | 3990 " but got Text node "Qrstuvwx" |
4271 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 | 3991 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 |
4272 " but got Text node "Qrstuvwx" | 3992 " but got Text node "Qrstuvwx" |
4273 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 | 3993 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 |
4274 " but got Text node "Qrstuvwx" | 3994 " but got Text node "Qrstuvwx" |
4275 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[
1].firstChild, 10] | 3995 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[
1].firstChild, 10] |
4276 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[
1].firstChild, 65535] | 3996 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[
1].firstChild, 65535] |
4277 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 Element node <p id="c">Qrstuvwx</p> | 3997 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 Element node <p id="c">Qrstuvwx</p> |
4278 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 Element node <p id="c">Qrstuvwx</p> | 3998 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 Element node <p id="c">Qrstuvwx</p> |
4279 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 Element node <p id="c">Qrstuvwx</p> | 3999 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 Element node <p id="c">Qrstuvwx</p> |
4280 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detach
edPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()i
ng if the offset is negative or greater than the node's length function "functio
n () { | 4000 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detach
edPara1.firstChild, 9] |
4281 selection.collapse(point[0], point[1]); | |
4282 }" did not throw | |
4283 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 Element node <p id="c">Qrstuvwx</p> | 4001 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 Element node <p id="c">Qrstuvwx</p> |
4284 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 Element node <p id="c">Qrstuvwx</p> | 4002 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 Element node <p id="c">Qrstuvwx</p> |
4285 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 Element node <p id="c">Qrstuvwx</p> | 4003 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 Element node <p id="c">Qrstuvwx</p> |
4286 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreig
nPara1.firstChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()in
g if the offset is negative or greater than the node's length function "function
() { | 4004 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreig
nPara1.firstChild, 9] |
4287 selection.collapse(point[0], point[1]); | |
4288 }" did not throw | |
4289 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [docume
nt.documentElement, -1] | 4005 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [docume
nt.documentElement, -1] |
4290 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
> | 4006 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
> |
4291 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 4007 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4292 " | 4008 " |
4293 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
> | 4009 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
> |
4294 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 4010 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4295 " | 4011 " |
4296 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
> | 4012 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
> |
4297 <me... but got Text node "Qrstuvwx" | 4013 <me... but got Text node "Qrstuvwx" |
4298 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [docume
nt.documentElement, 7] | 4014 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [docume
nt.documentElement, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4336 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" | 4052 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" |
4337 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [commen
t, 96] | 4053 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [commen
t, 96] |
4338 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 Element node <p id="c">Qrstuvwx</p> | 4054 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 Element node <p id="c">Qrstuvwx</p> |
4339 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 Element node <p id="c">Qrstuvwx</p> | 4055 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 Element node <p id="c">Qrstuvwx</p> |
4340 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 Element node <p id="c">Qrstuvwx</p> | 4056 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 Element node <p id="c">Qrstuvwx</p> |
4341 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 Element node <p id="c">Qrstuvwx</p> | 4057 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 Element node <p id="c">Qrstuvwx</p> |
4342 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 Element node <p id="c">Qrstuvwx</p> | 4058 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 Element node <p id="c">Qrstuvwx</p> |
4343 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc
, -1] | 4059 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc
, -1] |
4344 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> | 4060 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> |
4345 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> | 4061 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Element node <p id="c">Qrstuvwx</p> |
4346 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc
, 5] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset i
s negative or greater than the node's length function "function () { | 4062 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc
, 5] |
4347 selection.collapse(point[0], point[1]); | |
4348 }" did not throw | |
4349 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> | 4063 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> |
4350 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> | 4064 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Element node <p id="c">Qrstuvwx</p> |
4351 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 4065 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4352 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 4066 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4353 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> | 4067 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Element node <p id
="c">Qrstuvwx</p> |
4354 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> | 4068 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> |
4355 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> | 4069 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Element node <p id="c">Qrstuvwx</p> |
4356 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> | 4070 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> |
4357 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> | 4071 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Element node <p id="c">Qrstuvwx</p> |
4358 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> | 4072 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> |
4359 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> | 4073 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <p id="c">Qrstuvwx</p> |
4360 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Element node <p id="c">Qrstuvwx</p> | 4074 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Element node <p id="c">Qrstuvwx</p> |
4361 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> | 4075 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> |
4362 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> | 4076 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Element node <p id="c">Qrstuvwx</p> |
4363 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> | 4077 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> |
4364 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> | 4078 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <p id=
"c">Qrstuvwx</p> |
4365 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p
id="c">Qrstuvwx</p> | 4079 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p
id="c">Qrstuvwx</p> |
4366 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</p> | 4080 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</p> |
4367 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Element node <p id="c">Qrstuv
wx</p> | 4081 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Element node <p id="c">Qrstuv
wx</p> |
4368 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</
p> | 4082 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Element node <p id="c">Qrstuvwx</
p> |
4369 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctyp
e, 0] | 4083 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctyp
e, 0] |
4370 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 () { | 4084 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 () { |
4371 selection.collapse(point[0], point[1]); | 4085 selection.collapse(point[0], point[1]); |
4372 }" 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 | 4086 }" 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 |
4373 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctyp
e, 1] | 4087 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctyp
e, 1] |
4374 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
nDoctype, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | 4088 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
nDoctype, 0] |
4375 selection.collapse(point[0], point[1]); | 4089 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoc
type, 0] |
4376 }" did not throw | |
4377 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoc
type, 0] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if t
he node is a DocumentType function "function () { | |
4378 selection.collapse(point[0], point[1]); | |
4379 }" did not throw | |
4380 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChil
d, -1] | 4090 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChil
d, -1] |
4381 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChil
d, 0] | 4091 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChil
d, 0] |
4382 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 | 4092 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 |
4383 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChil
d, 2] | 4093 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChil
d, 2] |
4384 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChil
d, 8] | 4094 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChil
d, 8] |
4385 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 | 4095 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 |
4386 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChil
d, 10] | 4096 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChil
d, 10] |
4387 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChil
d, 65535] | 4097 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChil
d, 65535] |
4388 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChil
d, -1] | 4098 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChil
d, -1] |
4389 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 | 4099 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 |
4390 " but got Text node "Qrstuvwx" | 4100 " but got Text node "Qrstuvwx" |
4391 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 | 4101 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 |
4392 " but got Text node "Qrstuvwx" | 4102 " but got Text node "Qrstuvwx" |
4393 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 | 4103 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 |
4394 " but got Text node "Qrstuvwx" | 4104 " but got Text node "Qrstuvwx" |
4395 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 | 4105 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 |
4396 " but got Text node "Qrstuvwx" | 4106 " but got Text node "Qrstuvwx" |
4397 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 | 4107 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 |
4398 " but got Text node "Qrstuvwx" | 4108 " but got Text node "Qrstuvwx" |
4399 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChi
ld, 10] | 4109 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChi
ld, 10] |
4400 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChi
ld, 65535] | 4110 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChi
ld, 65535] |
4401 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 Text node "Qrstuvwx" | 4111 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 Text node "Qrstuvwx" |
4402 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 Text node "Qrstuvwx" | 4112 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 Text node "Qrstuvwx" |
4403 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 Text node "Qrstuvwx" | 4113 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 Text node "Qrstuvwx" |
4404 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.fir
stChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the o
ffset is negative or greater than the node's length function "function () { | 4114 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.fir
stChild, 9] |
4405 selection.collapse(point[0], point[1]); | |
4406 }" did not throw | |
4407 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 Text node "Qrstuvwx" | 4115 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 Text node "Qrstuvwx" |
4408 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 Text node "Qrstuvwx" | 4116 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 Text node "Qrstuvwx" |
4409 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 Text node "Qrstuvwx" | 4117 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 Text node "Qrstuvwx" |
4410 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firs
tChild, 9] assert_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the of
fset is negative or greater than the node's length function "function () { | 4118 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firs
tChild, 9] |
4411 selection.collapse(point[0], point[1]); | |
4412 }" did not throw | |
4413 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.document
Element, -1] | 4119 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.document
Element, -1] |
4414 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> | 4120 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> |
4415 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 4121 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4416 " | 4122 " |
4417 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> | 4123 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> |
4418 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 4124 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
4419 " | 4125 " |
4420 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> | 4126 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> |
4421 <me... but got Text node "Qrstuvwx" | 4127 <me... but got Text node "Qrstuvwx" |
4422 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.document
Element, 7] | 4128 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.document
Element, 7] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4460 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" | 4166 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" |
4461 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96] | 4167 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96] |
4462 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 Text node "Qrstuvwx" | 4168 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 Text node "Qrstuvwx" |
4463 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 Text node "Qrstuvwx" | 4169 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 Text node "Qrstuvwx" |
4464 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 Text node "Qrstuvwx" | 4170 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 Text node "Qrstuvwx" |
4465 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 Text
node "Qrstuvwx" | 4171 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 Text
node "Qrstuvwx" |
4466 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 Tex
t node "Qrstuvwx" | 4172 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 Tex
t node "Qrstuvwx" |
4467 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1] | 4173 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1] |
4468 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 Text node "Qrstuvwx" | 4174 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 Text node "Qrstuvwx" |
4469 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 Text node "Qrstuvwx" | 4175 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 Text node "Qrstuvwx" |
4470 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5] assert
_throws: Must throw INDEX_SIZE_ERR when collapse()ing if the offset is negative
or greater than the node's length function "function () { | 4176 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5] |
4471 selection.collapse(point[0], point[1]); | |
4472 }" did not throw | |
4473 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Qrstuvwx" | 4177 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Qrstuvwx" |
4474 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Qrstuvwx" | 4178 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got T
ext node "Qrstuvwx" |
4475 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruc
tion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 4179 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruc
tion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
4476 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruc
tion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 4180 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruc
tion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
4477 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruc
tion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" | 4181 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruc
tion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Text node "Qrstuvwx" |
4478 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 4182 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
4479 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | 4183 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" |
4480 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTe
xtNode, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Qrstuvwx" | 4184 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTe
xtNode, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Qrstuvwx" |
4481 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTe
xtNode, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Qrstuvwx" | 4185 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTe
xtNode, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Qrstuvwx" |
4482 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNo
de, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Qrstuvwx" | 4186 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNo
de, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Qrstuvwx" |
4483 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNo
de, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Qrstuvwx" | 4187 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNo
de, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Qrstuvwx" |
4484 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessin
gInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp
chirp chirp" but got Text node "Qrstuvwx" | 4188 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessin
gInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp
chirp chirp" but got Text node "Qrstuvwx" |
4485 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment,
3] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 4189 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment,
3] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
4486 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment,
5] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | 4190 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment,
5] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Qrstuvwx" |
4487 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignCo
mment, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 4191 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignCo
mment, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
4488 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignCo
mment, 4] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | 4192 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignCo
mment, 4] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" |
4489 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlCommen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | 4193 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlCommen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" |
4490 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected DocumentFragm
ent node with 0 children but got Text node "Qrstuvwx" | 4194 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected DocumentFragm
ent node with 0 children but got Text node "Qrstuvwx" |
4491 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Text node "Qrstuvwx" | 4195 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Text node "Qrstuvwx" |
4492 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 Text node "Qrstuvwx" | 4196 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 Text node "Qrstuvwx" |
4493 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] | 4197 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] |
4494 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 () { | 4198 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 () { |
4495 selection.collapse(point[0], point[1]); | 4199 selection.collapse(point[0], point[1]); |
4496 }" 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 | 4200 }" 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 |
4497 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] | 4201 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] |
4498 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | 4202 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0
] |
4499 selection.collapse(point[0], point[1]); | 4203 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] |
4500 }" did not throw | |
4501 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | |
4502 selection.collapse(point[0], point[1]); | |
4503 }" did not throw | |
4504 Harness: the test ran to completion. | 4204 Harness: the test ran to completion. |
4505 | 4205 |
OLD | NEW |