Clarify how textContent should handle null.
authorMs2ger <ms2ger@gmail.com>
Tue, 28 Jun 2011 23:46:50 +0200
changeset 5826911c875c3d2
parent 581 5bd608fcd14e
child 583 30ab1d021695
Clarify how textContent should handle null.
Overview.html
Overview.src.html
     1.1 --- a/Overview.html	Tue Jun 28 23:31:06 2011 +0200
     1.2 +++ b/Overview.html	Tue Jun 28 23:46:50 2011 +0200
     1.3 @@ -1598,9 +1598,9 @@
     1.4   <dd>Null.
     1.5  </dl>
     1.6  
     1.7 -<p>Setting the <code title="dom-Node-textContent"><a href="#dom-node-textcontent">textContent</a></code>
     1.8 -attribute must do as described below, depending on the
     1.9 -<a href="#context-object">context object</a>:
    1.10 +<p>The <code title="dom-Node-textContent"><a href="#dom-node-textcontent">textContent</a></code> attribute must, on
    1.11 +setting, if the new value is null, act as if it was the string "null" instead,
    1.12 +and then do as described below, depending on the <a href="#context-object">context object</a>:
    1.13  
    1.14  <dl class="switch">
    1.15   <dt><code><a href="#documentfragment">DocumentFragment</a></code>
     2.1 --- a/Overview.src.html	Tue Jun 28 23:31:06 2011 +0200
     2.2 +++ b/Overview.src.html	Tue Jun 28 23:46:50 2011 +0200
     2.3 @@ -1547,9 +1547,9 @@
     2.4   <dd>Null.
     2.5  </dl>
     2.6  
     2.7 -<p>Setting the <code title=dom-Node-textContent>textContent</code>
     2.8 -attribute must do as described below, depending on the
     2.9 -<span>context object</span>:
    2.10 +<p>The <code title=dom-Node-textContent>textContent</code> attribute must, on
    2.11 +setting, if the new value is null, act as if it was the string "null" instead,
    2.12 +and then do as described below, depending on the <span>context object</span>:
    2.13  
    2.14  <dl class=switch>
    2.15   <dt><code>DocumentFragment</code>