mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement DOMTokenList.supports API
This commit is contained in:
parent
3f7697690a
commit
2a4dd894de
20 changed files with 147 additions and 72 deletions
|
@ -20,6 +20,8 @@ interface DOMTokenList {
|
|||
boolean toggle(DOMString token, optional boolean force);
|
||||
[CEReactions, Throws]
|
||||
boolean replace(DOMString token, DOMString newToken);
|
||||
[Pure, Throws]
|
||||
boolean supports(DOMString token);
|
||||
|
||||
[CEReactions, Pure]
|
||||
stringifier attribute DOMString value;
|
||||
|
|
|
@ -19,8 +19,8 @@ interface HTMLAreaElement : HTMLElement {
|
|||
// attribute DOMString download;
|
||||
// [CEReactions]
|
||||
// attribute USVString ping;
|
||||
// [CEReactions]
|
||||
// attribute DOMString rel;
|
||||
[CEReactions]
|
||||
attribute DOMString rel;
|
||||
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
||||
// hreflang and type are not reflected
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue