Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (3) Clarify the document.all black magic.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20436
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7624 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 31, 2012
1 parent 5347c64 commit 8549e1c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions complete.html
Expand Up @@ -100252,8 +100252,9 @@ <h4 id=other-elements,-attributes-and-apis><span class=secno>15.3.4 </span>Other
<ul><li><p>The user agent must act as if the ToBoolean() operator in
JavaScript converts the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> to the false value.</li>

<li><p>The user agent must act as if, for the purposes of the <code title="">==</code> and <code title="">!=</code> operators in
JavaScript, the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> is equal to the <code title="">undefined</code> value.</li>
<li><p>The user agent must act as if, for the purposes of the <code title="">==</code> and <code title="">!=</code> operators in JavaScript, the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> compares as equal to the <code title="">undefined</code> and
<code title="">null</code> values. (Comparisons using the <code title="">===</code> operator, and
comparisons to other values such as strings or objects, are unaffected.)</li>

<li><p>The user agent must act such that the <code title="">typeof</code> operator in JavaScript returns the string
<code title="">undefined</code> when applied to the object returned
Expand Down
5 changes: 3 additions & 2 deletions index
Expand Up @@ -100252,8 +100252,9 @@ if (s = prompt('What is your name?')) {
<ul><li><p>The user agent must act as if the ToBoolean() operator in
JavaScript converts the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> to the false value.</li>

<li><p>The user agent must act as if, for the purposes of the <code title="">==</code> and <code title="">!=</code> operators in
JavaScript, the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> is equal to the <code title="">undefined</code> value.</li>
<li><p>The user agent must act as if, for the purposes of the <code title="">==</code> and <code title="">!=</code> operators in JavaScript, the object returned for <code title=dom-document-all><a href=#dom-document-all>all</a></code> compares as equal to the <code title="">undefined</code> and
<code title="">null</code> values. (Comparisons using the <code title="">===</code> operator, and
comparisons to other values such as strings or objects, are unaffected.)</li>

<li><p>The user agent must act such that the <code title="">typeof</code> operator in JavaScript returns the string
<code title="">undefined</code> when applied to the object returned
Expand Down
10 changes: 5 additions & 5 deletions source
Expand Up @@ -117142,11 +117142,11 @@ if (s = prompt('What is your name?')) {
JavaScript converts the object returned for <code
title="dom-document-all">all</code> to the false value.</p></li>

<li><p>The user agent must act as if, for the purposes of the <code
title="">==</code> and <code title="">!=</code> operators in
JavaScript, the object returned for <code
title="dom-document-all">all</code> is equal to the <code
title="">undefined</code> value.</p></li>
<li><p>The user agent must act as if, for the purposes of the <code title="">==</code> and <code
title="">!=</code> operators in JavaScript, the object returned for <code
title="dom-document-all">all</code> compares as equal to the <code title="">undefined</code> and
<code title="">null</code> values. (Comparisons using the <code title="">===</code> operator, and
comparisons to other values such as strings or objects, are unaffected.)</p></li>

<li><p>The user agent must act such that the <code
title="">typeof</code> operator in JavaScript returns the string
Expand Down

0 comments on commit 8549e1c

Please sign in to comment.