diff options
author | David Zbarsky <dzbarsky@gmail.com> | 2016-04-02 12:47:33 -0700 |
---|---|---|
committer | David Zbarsky <dzbarsky@gmail.com> | 2016-04-03 10:27:41 -0700 |
commit | 8cbcdfb761cee62e05c45d76ec697bb4a120883f (patch) | |
tree | 0491270b44139e0f19fbf33a03eaaee1cf95ba13 /components/script/dom/webidls | |
parent | 7f4929d52dd33bcb3e231e776179314304fe1889 (diff) | |
download | servo-8cbcdfb761cee62e05c45d76ec697bb4a120883f.tar.gz servo-8cbcdfb761cee62e05c45d76ec697bb4a120883f.zip |
Implement nodeName on Attr
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/Attr.webidl | 6 |
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; |