summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-10 07:19:28 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-10 07:19:28 +0200
commit586b8eb29dbf222ac519da7c1e086f30c04c57c8 (patch)
treec907a69b350b1b3847ad011ef3c10ed30721de7f /dom/webidl
parent686cd8ac046825ffa169a2e4e6d5f406954d2bd1 (diff)
downloaduxp-586b8eb29dbf222ac519da7c1e086f30c04c57c8.tar.gz
DOM - Element - add support for Element.toggleAttribute()
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Element.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/Element.webidl b/dom/webidl/Element.webidl
index ca5f1b35cd..97eb4ffe0e 100644
--- a/dom/webidl/Element.webidl
+++ b/dom/webidl/Element.webidl
@@ -41,6 +41,8 @@ interface Element : Node {
[Pure]
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
[Throws]
+ boolean toggleAttribute(DOMString name, optional boolean force);
+ [Throws]
void setAttribute(DOMString name, DOMString value);
[Throws]
void setAttributeNS(DOMString? namespace, DOMString name, DOMString value);