aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Attr.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Attr.webidl')
-rw-r--r--components/script/dom/webidls/Attr.webidl6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/webidls/Attr.webidl b/components/script/dom/webidls/Attr.webidl
index e90bec8fccd..171715205bc 100644
--- a/components/script/dom/webidls/Attr.webidl
+++ b/components/script/dom/webidls/Attr.webidl
@@ -17,12 +17,14 @@ interface Attr {
readonly attribute DOMString localName;
[Constant]
readonly attribute DOMString name;
+ [Constant]
+ readonly attribute DOMString nodeName; // historical alias of .name
[Pure]
attribute DOMString value;
[Pure]
- attribute DOMString textContent; // alias of .value
+ attribute DOMString textContent; // historical alias of .value
[Pure]
- attribute DOMString nodeValue; // alias of .value
+ attribute DOMString nodeValue; // historical alias of .value
[Pure]
readonly attribute Element? ownerElement;