mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #9774 - nox:remove-attribute-node, r=nox
Implement removeAttributeNode Supersedes #8727 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9774) <!-- Reviewable:end -->
This commit is contained in:
commit
6c65e154f4
5 changed files with 8 additions and 18 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue