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

@ -49,6 +49,8 @@ interface Element : Node {
void setAttributeNS(DOMString? namespace, DOMString name, DOMString value);
void removeAttribute(DOMString name);
void removeAttributeNS(DOMString? namespace, DOMString localName);
[Throws]
Attr removeAttributeNode(Attr oldAttr);
boolean hasAttribute(DOMString name);
boolean hasAttributeNS(DOMString? namespace, DOMString localName);