summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DOMTokenList.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/DOMTokenList.idl')
-rw-r--r--Userland/Libraries/LibWeb/DOM/DOMTokenList.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/DOMTokenList.idl b/Userland/Libraries/LibWeb/DOM/DOMTokenList.idl
new file mode 100644
index 0000000000..210703da50
--- /dev/null
+++ b/Userland/Libraries/LibWeb/DOM/DOMTokenList.idl
@@ -0,0 +1,12 @@
+interface DOMTokenList {
+ readonly attribute unsigned long length;
+ getter DOMString? item(unsigned long index);
+ boolean contains(DOMString token);
+ [CEReactions] undefined add(DOMString... tokens);
+ [CEReactions] undefined remove(DOMString... tokens);
+ [CEReactions] boolean toggle(DOMString token, optional boolean force);
+ [CEReactions] boolean replace(DOMString token, DOMString newToken);
+ boolean supports(DOMString token);
+ [CEReactions] stringifier attribute DOMString value;
+ iterable<DOMString>;
+};