mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Auto merge of #11668 - GuillaumeGomez:insert_adjacent, r=nox
Insert adjacent Fixes #11622. r? @nox <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11668) <!-- Reviewable:end -->
This commit is contained in:
commit
da5007ef1c
6 changed files with 65 additions and 124 deletions
|
@ -3,12 +3,6 @@
|
|||
[insertAdjacentHTML(beforebegin, <h3>beforebegin</h3> )]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentHTML(afterbegin, <h3>afterbegin</h3> )]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentHTML(beforeend, <h3>beforeend</h3> )]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentHTML(afterend, <h3>afterend</h3> )]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,87 +3,30 @@
|
|||
[beforeBegin content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Should throw when inserting with invalid position string]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements)]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting after being and before end should order things correctly]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[afterend child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting kids of the <html> element should not do weird things with implied <body>/<head> tags]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,84 +3,30 @@
|
|||
[beforeBegin content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content again, with next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Should throw when inserting with invalid position string]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments)]
|
||||
expected: FAIL
|
||||
|
||||
[When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements)]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting after being and before end should order things correctly]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[afterend child node not in tree but has parent]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content2 without next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[beforeBegin content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Afterbegin content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[BeforeEnd content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
[afterend content2 test again, now that there's a next sibling]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue