mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Fix Element missing attributes
Attributes classList and attributes are [SameObject].
This commit is contained in:
parent
42254bac7e
commit
d93c8da7d7
1 changed files with 2 additions and 2 deletions
|
@ -28,10 +28,10 @@ interface Element : Node {
|
|||
attribute DOMString id;
|
||||
[Pure]
|
||||
attribute DOMString className;
|
||||
[Constant]
|
||||
[SameObject]
|
||||
readonly attribute DOMTokenList classList;
|
||||
|
||||
[Constant]
|
||||
[SameObject]
|
||||
readonly attribute NamedNodeMap attributes;
|
||||
DOMString? getAttribute(DOMString name);
|
||||
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue