commit | 08906cc81081befbfd3f4796312d7f4d4940aae6 | [log] [tgz] |
---|---|---|
author | autofoolip <auto@foolip.org> | Mon Jan 18 19:46:17 2021 |
committer | GitHub <noreply@github.com> | Mon Jan 18 19:46:17 2021 |
tree | 8ce955177516b7c9007fe24fa0288731264041ff | |
parent | 4ed41fb5b16c9496757f13ccb2dadbc14063e396 [diff] |
Update interfaces/custom-state-pseudo-class.idl (#27231) Source: https://github.com/w3c/webref/blob/8c43c9e/ed/idl/custom-state-pseudo-class.idl Build: https://travis-ci.org/w3c/webref/builds/213523572
diff --git a/interfaces/custom-state-pseudo-class.idl b/interfaces/custom-state-pseudo-class.idl index 9a0bd0c..0a71557 100644 --- a/interfaces/custom-state-pseudo-class.idl +++ b/interfaces/custom-state-pseudo-class.idl
@@ -4,7 +4,13 @@ // Source: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/) partial interface ElementInternals { - [SameObject, PutForwards=value] readonly attribute DOMTokenList states; + readonly attribute CustomStateSet states; +}; + +[Exposed=Window] +interface CustomStateSet { + setlike<DOMString>; + undefined add(DOMString value); }; [Exposed=Window]