Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1030)

Unified Diff: sky/engine/core/dom/DOMTokenList.idl

Issue 788093003: Add clear() to Element.classList. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/dom/DOMTokenList.cpp ('k') | sky/tests/lowlevel/classlist.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/DOMTokenList.idl
diff --git a/sky/engine/core/dom/DOMTokenList.idl b/sky/engine/core/dom/DOMTokenList.idl
index 43ecc00d67c60587fd62e5e05eede0d7bbeda11f..3ca3d36697813b1a65e1d117c4a175e5232ddfca 100644
--- a/sky/engine/core/dom/DOMTokenList.idl
+++ b/sky/engine/core/dom/DOMTokenList.idl
@@ -32,6 +32,8 @@
[RaisesException, CustomElementCallbacks] void remove(DOMString... tokens);
[RaisesException, CustomElementCallbacks] boolean toggle(DOMString token, optional boolean force);
+ void clear();
+
[NotEnumerable] stringifier;
};
« no previous file with comments | « sky/engine/core/dom/DOMTokenList.cpp ('k') | sky/tests/lowlevel/classlist.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698