[html5] r7624 - [giow] (3) Clarify the document.all black magic. Fixing https://www.w3.org/Bugs/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Dec 30 20:57:16 PST 2012


Author: ianh
Date: 2012-12-30 20:57:14 -0800 (Sun, 30 Dec 2012)
New Revision: 7624

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Clarify the document.all black magic.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20436
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-12-31 04:53:00 UTC (rev 7623)
+++ complete.html	2012-12-31 04:57:14 UTC (rev 7624)
@@ -100252,8 +100252,9 @@
   <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

Modified: index
===================================================================
--- index	2012-12-31 04:53:00 UTC (rev 7623)
+++ index	2012-12-31 04:57:14 UTC (rev 7624)
@@ -100252,8 +100252,9 @@
   <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

Modified: source
===================================================================
--- source	2012-12-31 04:53:00 UTC (rev 7623)
+++ source	2012-12-31 04:57:14 UTC (rev 7624)
@@ -117142,11 +117142,11 @@
    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




More information about the Commit-Watchers mailing list