summaryrefslogtreecommitdiffstats
path: root/dom/base/Element.h
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
commitd4c0def3b80d6dd4359985e400a7282ce198c228 (patch)
treec907a69b350b1b3847ad011ef3c10ed30721de7f /dom/base/Element.h
parent4483ac5c5f082e4efb21ab711aec9a0a74d20448 (diff)
downloadUXP-d4c0def3b80d6dd4359985e400a7282ce198c228.tar
UXP-d4c0def3b80d6dd4359985e400a7282ce198c228.tar.gz
UXP-d4c0def3b80d6dd4359985e400a7282ce198c228.tar.lz
UXP-d4c0def3b80d6dd4359985e400a7282ce198c228.tar.xz
UXP-d4c0def3b80d6dd4359985e400a7282ce198c228.zip
DOM - Element - add support for Element.toggleAttribute()
Diffstat (limited to 'dom/base/Element.h')
-rw-r--r--dom/base/Element.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/Element.h b/dom/base/Element.h
index 049984d1b..c269ab14a 100644
--- a/dom/base/Element.h
+++ b/dom/base/Element.h
@@ -686,6 +686,8 @@ public:
void GetAttributeNS(const nsAString& aNamespaceURI,
const nsAString& aLocalName,
nsAString& aReturn);
+ bool ToggleAttribute(const nsAString& aName, const Optional<bool>& aForce,
+ ErrorResult& aError);
void SetAttribute(const nsAString& aName, const nsAString& aValue,
ErrorResult& aError);
void SetAttributeNS(const nsAString& aNamespaceURI,