mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
d4a890080d
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
14 lines
612 B
Text
14 lines
612 B
Text
// https://dom.spec.whatwg.org/#interface-domtokenlist
|
|
[Exposed=Window]
|
|
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>;
|
|
};
|