mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Attr is a Node, with consequences for many Node methods
This commit is contained in:
parent
3e77a0ae09
commit
67e9fc8c0a
9 changed files with 229 additions and 306 deletions
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface Attr {
|
||||
interface Attr : Node {
|
||||
[Constant]
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
[Constant]
|
||||
|
@ -17,14 +17,8 @@ interface Attr {
|
|||
readonly attribute DOMString localName;
|
||||
[Constant]
|
||||
readonly attribute DOMString name;
|
||||
[Constant]
|
||||
readonly attribute DOMString nodeName; // historical alias of .name
|
||||
[CEReactions, Pure]
|
||||
attribute DOMString value;
|
||||
[CEReactions, Pure]
|
||||
attribute DOMString textContent; // historical alias of .value
|
||||
[CEReactions, Pure]
|
||||
attribute DOMString nodeValue; // historical alias of .value
|
||||
|
||||
[Pure]
|
||||
readonly attribute Element? ownerElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue