mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Implement support for Element.toggleAttribute
This commit is contained in:
parent
0226a1a4ad
commit
a271c615f7
2 changed files with 39 additions and 0 deletions
|
@ -41,6 +41,8 @@ interface Element : Node {
|
|||
[Pure]
|
||||
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
|
||||
[CEReactions, Throws]
|
||||
boolean toggleAttribute(DOMString name, optional boolean force);
|
||||
[CEReactions, Throws]
|
||||
void setAttribute(DOMString name, DOMString value);
|
||||
[CEReactions, Throws]
|
||||
void setAttributeNS(DOMString? namespace, DOMString name, DOMString value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue