diff --git a/sections/nodes.include b/sections/nodes.include index 0368e7966..1894d19b5 100644 --- a/sections/nodes.include +++ b/sections/nodes.include @@ -2388,6 +2388,7 @@ interface Attr { readonly attribute DOMString? prefix; readonly attribute DOMString localName; readonly attribute DOMString name; + readonly attribute DOMString nodeName; // for legacy use, alias of .name attribute DOMString value; readonly attribute boolean specified; // useless; always returns true @@ -2410,7 +2411,7 @@ interface Attr {

The localName attribute must return the local name. -

The name attribute's getter must return the name. +

The name attribute's getter and nodeName attribute's getter must return the name.

The value attribute's getter and textContent attribute's getter must both return the value.