mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add Element::InsertAdjacentHTML
This commit is contained in:
parent
40feb524d9
commit
8c572085c7
5 changed files with 37 additions and 117 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