Implement NonDocumentTypeChildNode::*ElementSibling()

This commit is contained in:
Anthony Ramine 2015-04-08 22:30:54 +02:00
parent f8d0237956
commit 3d68a46fee
12 changed files with 44 additions and 141 deletions

View file

@ -246,12 +246,6 @@
[Element interface: operation queryAll(DOMString)]
expected: FAIL
[Element interface: attribute previousElementSibling]
expected: FAIL
[Element interface: attribute nextElementSibling]
expected: FAIL
[Element interface: operation before([object Object\],[object Object\])]
expected: FAIL
@ -315,12 +309,6 @@
[Element interface: calling queryAll(DOMString) on element with too few arguments must throw TypeError]
expected: FAIL
[Element interface: element must inherit property "previousElementSibling" with the proper type (37)]
expected: FAIL
[Element interface: element must inherit property "nextElementSibling" with the proper type (38)]
expected: FAIL
[Element interface: element must inherit property "before" with the proper type (39)]
expected: FAIL
@ -339,12 +327,6 @@
[NamedNodeMap interface: operation setNamedItemNS(Attr)]
expected: FAIL
[CharacterData interface: attribute previousElementSibling]
expected: FAIL
[CharacterData interface: attribute nextElementSibling]
expected: FAIL
[CharacterData interface: operation before([object Object\],[object Object\])]
expected: FAIL
@ -369,12 +351,6 @@
[Text interface: document.createTextNode("abc") must inherit property "wholeText" with the proper type (1)]
expected: FAIL
[CharacterData interface: document.createTextNode("abc") must inherit property "previousElementSibling" with the proper type (7)]
expected: FAIL
[CharacterData interface: document.createTextNode("abc") must inherit property "nextElementSibling" with the proper type (8)]
expected: FAIL
[CharacterData interface: document.createTextNode("abc") must inherit property "before" with the proper type (9)]
expected: FAIL
@ -387,12 +363,6 @@
[CharacterData interface: calling after([object Object\],[object Object\]) on document.createTextNode("abc") with too few arguments must throw TypeError]
expected: FAIL
[CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "previousElementSibling" with the proper type (7)]
expected: FAIL
[CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nextElementSibling" with the proper type (8)]
expected: FAIL
[CharacterData interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "before" with the proper type (9)]
expected: FAIL
@ -408,12 +378,6 @@
[Comment interface object length]
expected: FAIL
[CharacterData interface: document.createComment("abc") must inherit property "previousElementSibling" with the proper type (7)]
expected: FAIL
[CharacterData interface: document.createComment("abc") must inherit property "nextElementSibling" with the proper type (8)]
expected: FAIL
[CharacterData interface: document.createComment("abc") must inherit property "before" with the proper type (9)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[Element-nextElementSibling.html]
type: testharness
[nextElementSibling]
expected: FAIL

View file

@ -1,5 +0,0 @@
[Element-previousElementSibling.html]
type: testharness
[previousElementSibling]
expected: FAIL

View file

@ -1,5 +0,0 @@
[Element-siblingElement-null.html]
type: testharness
[Null test]
expected: FAIL

View file

@ -1,50 +1,5 @@
[Node-properties.html]
type: testharness
[testDiv.previousElementSibling]
expected: FAIL
[detachedDiv.previousElementSibling]
expected: FAIL
[detachedDiv.nextElementSibling]
expected: FAIL
[detachedPara1.previousElementSibling]
expected: FAIL
[detachedPara1.nextElementSibling]
expected: FAIL
[detachedPara2.previousElementSibling]
expected: FAIL
[detachedPara2.nextElementSibling]
expected: FAIL
[foreignPara1.previousElementSibling]
expected: FAIL
[foreignPara1.nextElementSibling]
expected: FAIL
[foreignPara2.previousElementSibling]
expected: FAIL
[foreignPara2.nextElementSibling]
expected: FAIL
[xmlElement.previousElementSibling]
expected: FAIL
[xmlElement.nextElementSibling]
expected: FAIL
[detachedXmlElement.previousElementSibling]
expected: FAIL
[detachedXmlElement.nextElementSibling]
expected: FAIL
[detachedTextNode.wholeText]
expected: FAIL
@ -60,33 +15,3 @@
[detachedXmlTextNode.wholeText]
expected: FAIL
[paras[0\].previousElementSibling]
expected: FAIL
[paras[0\].nextElementSibling]
expected: FAIL
[paras[1\].previousElementSibling]
expected: FAIL
[paras[1\].nextElementSibling]
expected: FAIL
[paras[2\].previousElementSibling]
expected: FAIL
[paras[2\].nextElementSibling]
expected: FAIL
[paras[3\].previousElementSibling]
expected: FAIL
[paras[3\].nextElementSibling]
expected: FAIL
[paras[4\].previousElementSibling]
expected: FAIL
[paras[4\].nextElementSibling]
expected: FAIL

View file

@ -2214,12 +2214,6 @@
[Element interface: calling queryAll(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError]
expected: FAIL
[Element interface: document.createElement("noscript") must inherit property "previousElementSibling" with the proper type (37)]
expected: FAIL
[Element interface: document.createElement("noscript") must inherit property "nextElementSibling" with the proper type (38)]
expected: FAIL
[Element interface: document.createElement("noscript") must inherit property "before" with the proper type (39)]
expected: FAIL