mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement ParentNode attributes
This commit is contained in:
parent
e57630711f
commit
33f2cd29fd
15 changed files with 48 additions and 233 deletions
|
@ -99,15 +99,6 @@
|
|||
[Document interface: operation createTreeWalker(Node,unsigned long,NodeFilter)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: operation prepend([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -171,15 +162,6 @@
|
|||
[DocumentFragment interface: operation getElementById(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: attribute firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: attribute lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: attribute childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: operation prepend([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -198,15 +180,6 @@
|
|||
[DocumentFragment interface: calling getElementById(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: document.createDocumentFragment() must inherit property "firstElementChild" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: document.createDocumentFragment() must inherit property "lastElementChild" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: document.createDocumentFragment() must inherit property "childElementCount" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: document.createDocumentFragment() must inherit property "prepend" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -267,15 +240,6 @@
|
|||
[Element interface: operation removeAttributeNode(Attr)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: attribute firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: attribute lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: attribute childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: operation prepend([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -333,15 +297,6 @@
|
|||
[Element interface: calling removeAttributeNode(Attr) on element with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "firstElementChild" with the proper type (28)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "lastElementChild" with the proper type (29)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "childElementCount" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "prepend" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1026,15 +981,6 @@
|
|||
[Document interface: xmlDoc must inherit property "createNodeIterator" with the proper type (25)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "firstElementChild" with the proper type (29)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "lastElementChild" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "childElementCount" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "prepend" with the proper type (32)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[Element-childElement-null.html]
|
||||
type: testharness
|
||||
[Null test]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-childElementCount-dynamic-add.html]
|
||||
type: testharness
|
||||
[Dynamic Adding of Elements]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-childElementCount-dynamic-remove.html]
|
||||
type: testharness
|
||||
[Dynamic Removal of Elements]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-childElementCount-nochild.html]
|
||||
type: testharness
|
||||
[childElementCount without Child Element Nodes]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-childElementCount.html]
|
||||
type: testharness
|
||||
[childElementCount]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-firstElementChild-namespace.html]
|
||||
type: testharness
|
||||
[firstElementChild with namespaces]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-firstElementChild.html]
|
||||
type: testharness
|
||||
[firstElementChild]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Element-lastElementChild.html]
|
||||
type: testharness
|
||||
[lastElementChild]
|
||||
expected: FAIL
|
||||
|
|
@ -3,120 +3,48 @@
|
|||
[testDiv.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[testDiv.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[testDiv.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[testDiv.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedDiv.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedDiv.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedDiv.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[detachedDiv.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedDiv.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara1.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara1.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara1.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara1.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara1.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara2.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara2.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara2.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara2.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedPara2.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara1.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara1.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara1.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara1.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara1.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara2.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara2.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara2.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara2.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[foreignPara2.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[xmlElement.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[xmlElement.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[xmlElement.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[xmlElement.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[xmlElement.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedXmlElement.previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedXmlElement.nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[detachedXmlElement.childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[detachedXmlElement.lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedXmlElement.firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[detachedTextNode.wholeText]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -138,72 +66,26 @@
|
|||
[paras[0\].nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[0\].childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[paras[0\].lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[0\].firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[1\].previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[1\].nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[1\].childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[paras[1\].lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[1\].firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[2\].previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[2\].nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[2\].childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[paras[2\].lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[2\].firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[3\].previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[3\].nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[3\].childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[paras[3\].lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[3\].firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[4\].previousElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[4\].nextElementSibling]
|
||||
expected: FAIL
|
||||
|
||||
[paras[4\].childElementCount]
|
||||
expected: FAIL
|
||||
|
||||
[paras[4\].lastElementChild]
|
||||
expected: FAIL
|
||||
|
||||
[paras[4\].firstElementChild]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1191,15 +1191,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "all" with the proper type (81)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "firstElementChild" with the proper type (84)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "lastElementChild" with the proper type (85)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "childElementCount" with the proper type (86)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "prepend" with the proper type (87)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2205,15 +2196,6 @@
|
|||
[Element interface: calling removeAttributeNode(Attr) on document.createElement("noscript") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "firstElementChild" with the proper type (28)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "lastElementChild" with the proper type (29)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "childElementCount" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "prepend" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue