From 2b76ab8f2426d545550d81053a962aac2f6d9e49 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 19 Nov 2014 10:52:42 +0100 Subject: [PATCH] Add Attr.prototype.nodeValue per https://www.w3.org/Bugs/Public/show_bug.cgi?id=27363 --- Overview.src.html | 15 +++++++++------ dom-core.html | 17 ++++++++++------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Overview.src.html b/Overview.src.html index d32b5c786..42432332f 100644 --- a/Overview.src.html +++ b/Overview.src.html @@ -5767,7 +5767,8 @@

Interface Attr

readonly attribute DOMString localName; readonly attribute DOMString name; attribute DOMString value; - attribute DOMString textContent; // alias of .value + attribute DOMString nodeValue; // legacy alias of .value + attribute DOMString textContent; // legacy alias of .value readonly attribute Element? ownerElement; @@ -5823,12 +5824,14 @@

Interface Attr

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

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

The value attribute's getter, +nodeValue attribute's getter, and +textContent attribute's getter, must +return the value. -

The value attribute's setter and -textContent attribute's setter must both run these +

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

    diff --git a/dom-core.html b/dom-core.html index f3d9e9571..a2976e6ee 100644 --- a/dom-core.html +++ b/dom-core.html @@ -9,7 +9,7 @@

    DOM

    -

    Living Standard — Last Updated 14 November 2014

    +

    Living Standard — Last Updated 19 November 2014

    @@ -5837,7 +5837,8 @@

    4.8.2 Interface localName; readonly attribute DOMString name; attribute DOMString value; - attribute DOMString textContent; // alias of .value + attribute DOMString nodeValue; // legacy alias of .value + attribute DOMString textContent; // legacy alias of .value readonly attribute Element? ownerElement; @@ -5893,12 +5894,14 @@

    4.8.2 Interface The name attribute's getter must return the name. -

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

    The value attribute's getter, +nodeValue attribute's getter, and +textContent attribute's getter, must +return the value. -

    The value attribute's setter and -textContent attribute's setter must both run these +

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