mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement value for DOMTokenList
This commit is contained in:
parent
39502d6bed
commit
b29b2d6d73
7 changed files with 44 additions and 15 deletions
|
@ -19,5 +19,8 @@ interface DOMTokenList {
|
|||
[Throws]
|
||||
boolean toggle(DOMString token, optional boolean force);
|
||||
|
||||
[Pure]
|
||||
attribute DOMString value;
|
||||
|
||||
stringifier;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ interface Element : Node {
|
|||
attribute DOMString id;
|
||||
[Pure]
|
||||
attribute DOMString className;
|
||||
[SameObject]
|
||||
[SameObject, PutForwards=value]
|
||||
readonly attribute DOMTokenList classList;
|
||||
|
||||
[SameObject]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue