Skip to content

Commit

Permalink
Add Attr.prototype.nodeValue per https://www.w3.org/Bugs/Public/show_…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Nov 19, 2014
1 parent 2991811 commit 2b76ab8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
15 changes: 9 additions & 6 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -5767,7 +5767,8 @@ <h4>Interface <code>Attr</code></h4>
readonly attribute DOMString <span title=dom-Attr-localName>localName</span>;
readonly attribute DOMString <span title=dom-Attr-name>name</span>;
attribute DOMString <span title=dom-Attr-value>value</span>;
attribute DOMString <span title=dom-Attr-textContent>textContent</span>; // alias of .value
attribute DOMString <span title=dom-Attr-nodeValue>nodeValue</span>; // legacy alias of .value
attribute DOMString <span title=dom-Attr-textContent>textContent</span>; // legacy alias of .value

readonly attribute <span>Element</span>? <span title=dom-Attr-ownerElement>ownerElement</span>;

Expand Down Expand Up @@ -5823,12 +5824,14 @@ <h4>Interface <code>Attr</code></h4>
<p>The <dfn title=dom-Attr-name><code>name</code></dfn> attribute's getter must return the
<span title=concept-attribute-name>name</span>.

<p>The <dfn title=dom-Attr-value><code>value</code></dfn> attribute's getter and
<dfn title=dom-Attr-textContent><code>textContent</code></dfn> attribute's getter must
both return the <span title=concept-attribute-value>value</span>.
<p>The <dfn title=dom-Attr-value><code>value</code></dfn> attribute's getter,
<dfn title=dom-Attr-nodeValue><code>nodeValue</code></dfn> attribute's getter, and
<dfn title=dom-Attr-textContent><code>textContent</code></dfn> attribute's getter, must
return the <span title=concept-attribute-value>value</span>.

<p>The <code title=dom-Attr-value>value</code> attribute's setter and
<code title=dom-Attr-textContent>textContent</code> attribute's setter must both run these
<p>The <code title=dom-Attr-value>value</code> attribute's setter,
<code title=dom-Attr-nodeValue>nodeValue</code> attribute's setter, and
<code title=dom-Attr-textContent>textContent</code> attribute's setter, must run these
steps:

<ol>
Expand Down
17 changes: 10 additions & 7 deletions dom-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<hgroup>
<h1 class="allcaps">DOM</h1>
<h2>Living Standard — Last Updated 14 November 2014</h2>
<h2>Living Standard — Last Updated 19 November 2014</h2>
</hgroup>

<dl>
Expand Down Expand Up @@ -5837,7 +5837,8 @@ <h4 id="interface-attr"><span class="secno">4.8.2 </span>Interface <code><a href
readonly attribute DOMString <a href="#dom-attr-localname" title="dom-Attr-localName">localName</a>;
readonly attribute DOMString <a href="#dom-attr-name" title="dom-Attr-name">name</a>;
attribute DOMString <a href="#dom-attr-value" title="dom-Attr-value">value</a>;
attribute DOMString <a href="#dom-attr-textcontent" title="dom-Attr-textContent">textContent</a>; // alias of .value
attribute DOMString <a href="#dom-attr-nodevalue" title="dom-Attr-nodeValue">nodeValue</a>; // legacy alias of .value
attribute DOMString <a href="#dom-attr-textcontent" title="dom-Attr-textContent">textContent</a>; // legacy alias of .value

readonly attribute <a href="#element">Element</a>? <a href="#dom-attr-ownerelement" title="dom-Attr-ownerElement">ownerElement</a>;

Expand Down Expand Up @@ -5893,12 +5894,14 @@ <h4 id="interface-attr"><span class="secno">4.8.2 </span>Interface <code><a href
<p>The <dfn id="dom-attr-name" title="dom-Attr-name"><code>name</code></dfn> attribute's getter must return the
<a href="#concept-attribute-name" title="concept-attribute-name">name</a>.

<p>The <dfn id="dom-attr-value" title="dom-Attr-value"><code>value</code></dfn> attribute's getter and
<dfn id="dom-attr-textcontent" title="dom-Attr-textContent"><code>textContent</code></dfn> attribute's getter must
both return the <a href="#concept-attribute-value" title="concept-attribute-value">value</a>.
<p>The <dfn id="dom-attr-value" title="dom-Attr-value"><code>value</code></dfn> attribute's getter,
<dfn id="dom-attr-nodevalue" title="dom-Attr-nodeValue"><code>nodeValue</code></dfn> attribute's getter, and
<dfn id="dom-attr-textcontent" title="dom-Attr-textContent"><code>textContent</code></dfn> attribute's getter, must
return the <a href="#concept-attribute-value" title="concept-attribute-value">value</a>.

<p>The <code title="dom-Attr-value"><a href="#dom-attr-value">value</a></code> attribute's setter and
<code title="dom-Attr-textContent"><a href="#dom-attr-textcontent">textContent</a></code> attribute's setter must both run these
<p>The <code title="dom-Attr-value"><a href="#dom-attr-value">value</a></code> attribute's setter,
<code title="dom-Attr-nodeValue"><a href="#dom-attr-nodevalue">nodeValue</a></code> attribute's setter, and
<code title="dom-Attr-textContent"><a href="#dom-attr-textcontent">textContent</a></code> attribute's setter, must run these
steps:

<ol>
Expand Down

0 comments on commit 2b76ab8

Please sign in to comment.