mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Fix Element missing attributes
Attributes classList and attributes are [SameObject].
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user