Implement removeAttributeNode

This commit implement removeAttributeNode, as described here:
https://dom.spec.whatwg.org/#dom-element-removeattributenode

See also #8724 and #8068.
This commit is contained in:
Nick Fitzgerald 2015-11-28 16:27:51 -08:00 committed by Anthony Ramine
parent 918681931f
commit d28c9a1588
5 changed files with 8 additions and 18 deletions

View file

@ -108,9 +108,6 @@
[Element interface: operation hasAttributes()]
expected: FAIL
[Element interface: operation removeAttributeNode(Attr)]
expected: FAIL
[Element interface: operation query(DOMString)]
expected: FAIL
@ -120,12 +117,6 @@
[Element interface: element must inherit property "hasAttributes" with the proper type (7)]
expected: FAIL
[Element interface: element must inherit property "removeAttributeNode" with the proper type (22)]
expected: FAIL
[Element interface: calling removeAttributeNode(Attr) on element with too few arguments must throw TypeError]
expected: FAIL
[Element interface: element must inherit property "query" with the proper type (34)]
expected: FAIL

View file

@ -1,8 +1,5 @@
[attributes.html]
type: testharness
[Basic functionality of removeAttributeNode]
expected: FAIL
[Own property names should only include all-lowercase qualified names for an HTML element in an HTML document]
expected: FAIL

View file

@ -1986,12 +1986,6 @@
[Element interface: document.createElement("noscript") must inherit property "hasAttributes" with the proper type (7)]
expected: FAIL
[Element interface: document.createElement("noscript") must inherit property "removeAttributeNode" with the proper type (22)]
expected: FAIL
[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 "query" with the proper type (34)]
expected: FAIL