From 90427aa0aa267da88937fc83fb9023eb99f4dbcd Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Mon, 22 Feb 2016 11:41:03 +0100 Subject: [PATCH] Fix #171: Add Attr#nodeName as an alias for name --- dom.bs | 4 +++- dom.html | 14 +++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dom.bs b/dom.bs index 06f92b183..233d22e52 100644 --- a/dom.bs +++ b/dom.bs @@ -5764,6 +5764,7 @@ interface Attr { readonly attribute DOMString? prefix; readonly attribute DOMString localName; readonly attribute DOMString name; + readonly attribute DOMString nodeName; // historiacal alias of .name attribute DOMString value; [TreatNullAs=EmptyString] attribute DOMString nodeValue; // historical alias of .value [TreatNullAs=EmptyString] attribute DOMString textContent; // historical alias of .value @@ -5824,7 +5825,8 @@ null.

The localName attribute's getter must return the local name. -

The name attribute's getter must return the +

The name attribute's getter, and +nameName attribute's getter, must return the qualified name.

The value attribute's getter, diff --git a/dom.html b/dom.html index f20d46daf..228abae2c 100644 --- a/dom.html +++ b/dom.html @@ -69,7 +69,7 @@

DOM

-

Living Standard — Last Updated

+

Living Standard — Last Updated

Participate: @@ -3095,6 +3095,7 @@

prefix; readonly attribute DOMString localName; readonly attribute DOMString name; + readonly attribute DOMString nodeName; // historiacal alias of .name attribute DOMString value; [TreatNullAs=EmptyString] attribute DOMString nodeValue; // historical alias of .value [TreatNullAs=EmptyString] attribute DOMString textContent; // historical alias of .value @@ -3118,7 +3119,7 @@

namespaceURI attribute’s getter must return the namespace.

The prefix attribute’s getter must return the namespace prefix.

The localName attribute’s getter must return the local name.

-

The name attribute’s getter must return the qualified name.

+

The name attribute’s getter, and nameName attribute’s getter, must return the qualified name.

The value attribute’s getter, nodeValue attribute’s getter, and textContent attribute’s getter, must return the value.

The value attribute’s setter, nodeValue attribute’s setter, and textContent attribute’s setter, must run these steps:

    @@ -5026,6 +5027,7 @@

    namedItem(name), in §4.2.7.2
  1. NamedNodeMap, in §4.8.1
  2. NameList, in §8.2 +
  3. nameName, in §4.8.2
  4. namespace