mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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;
|
attribute DOMString id;
|
||||||
[Pure]
|
[Pure]
|
||||||
attribute DOMString className;
|
attribute DOMString className;
|
||||||
[Constant]
|
[SameObject]
|
||||||
readonly attribute DOMTokenList classList;
|
readonly attribute DOMTokenList classList;
|
||||||
|
|
||||||
[Constant]
|
[SameObject]
|
||||||
readonly attribute NamedNodeMap attributes;
|
readonly attribute NamedNodeMap attributes;
|
||||||
DOMString? getAttribute(DOMString name);
|
DOMString? getAttribute(DOMString name);
|
||||||
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
|
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue