[html5] r5276 - [giow] (2) img.complete should be true if src=''.

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 10 16:24:18 PDT 2010


Author: ianh
Date: 2010-08-10 16:24:17 -0700 (Tue, 10 Aug 2010)
New Revision: 5276

Modified:
   complete.html
   index
   source
Log:
[giow] (2) img.complete should be true if src=''.

Modified: complete.html
===================================================================
--- complete.html	2010-08-10 22:24:19 UTC (rev 5275)
+++ complete.html	2010-08-10 23:24:17 UTC (rev 5276)
@@ -20328,7 +20328,8 @@
    <dd>
 
     <p>Returns true if the image has been downloaded, decoded, and
-    found to be valid; otherwise, returns false.</p>
+    found to be valid, or if no image is specified; otherwise, returns
+    false.</p>
 
    </dd>
 
@@ -20361,11 +20362,14 @@
   else 0. <a href=#refsCSS>[CSS]</a></p>
 
   <p>The IDL attribute <dfn id=dom-img-complete title=dom-img-complete><code>complete</code></dfn> must return
-  true if the user agent has fetched the image specified in the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, and it is in a supported
-  image type (i.e. it was decoded without fatal errors), even if the
-  final <a href=#concept-task title=concept-task>task</a> queued by the
-  <a href=#networking-task-source>networking task source</a> for the <a href=#fetch title=fetch>fetching</a> of the image resource has not yet been
-  processed. Otherwise, the attribute must return false.</p>
+  true if the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value
+  is the empty string or if the user agent has fetched the image
+  specified in the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute,
+  and it is in a supported image type (i.e. it was decoded without
+  fatal errors), even if the final <a href=#concept-task title=concept-task>task</a> queued by the <a href=#networking-task-source>networking task
+  source</a> for the <a href=#fetch title=fetch>fetching</a> of the
+  image resource has not yet been processed. Otherwise, the attribute
+  must return false.</p>
 
   <p class=note>The value of <code title=dom-img-complete><a href=#dom-img-complete>complete</a></code> can thus change while a
   <a href=#concept-script title=concept-script>script</a> is executing.</p>
@@ -95135,6 +95139,7 @@
   Amos Jeffries,
   Anders Carlsson,
   Andreas<!-- mqmq87 -->,
+  Andreas Kling,
   Andrei Popescu,
   André E. Veltstra,
   Andrew Clover,

Modified: index
===================================================================
--- index	2010-08-10 22:24:19 UTC (rev 5275)
+++ index	2010-08-10 23:24:17 UTC (rev 5276)
@@ -20252,7 +20252,8 @@
    <dd>
 
     <p>Returns true if the image has been downloaded, decoded, and
-    found to be valid; otherwise, returns false.</p>
+    found to be valid, or if no image is specified; otherwise, returns
+    false.</p>
 
    </dd>
 
@@ -20285,11 +20286,14 @@
   else 0. <a href=#refsCSS>[CSS]</a></p>
 
   <p>The IDL attribute <dfn id=dom-img-complete title=dom-img-complete><code>complete</code></dfn> must return
-  true if the user agent has fetched the image specified in the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, and it is in a supported
-  image type (i.e. it was decoded without fatal errors), even if the
-  final <a href=#concept-task title=concept-task>task</a> queued by the
-  <a href=#networking-task-source>networking task source</a> for the <a href=#fetch title=fetch>fetching</a> of the image resource has not yet been
-  processed. Otherwise, the attribute must return false.</p>
+  true if the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute's value
+  is the empty string or if the user agent has fetched the image
+  specified in the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute,
+  and it is in a supported image type (i.e. it was decoded without
+  fatal errors), even if the final <a href=#concept-task title=concept-task>task</a> queued by the <a href=#networking-task-source>networking task
+  source</a> for the <a href=#fetch title=fetch>fetching</a> of the
+  image resource has not yet been processed. Otherwise, the attribute
+  must return false.</p>
 
   <p class=note>The value of <code title=dom-img-complete><a href=#dom-img-complete>complete</a></code> can thus change while a
   <a href=#concept-script title=concept-script>script</a> is executing.</p>
@@ -88395,6 +88399,7 @@
   Amos Jeffries,
   Anders Carlsson,
   Andreas<!-- mqmq87 -->,
+  Andreas Kling,
   Andrei Popescu,
   André E. Veltstra,
   Andrew Clover,

Modified: source
===================================================================
--- source	2010-08-10 22:24:19 UTC (rev 5275)
+++ source	2010-08-10 23:24:17 UTC (rev 5276)
@@ -21633,7 +21633,8 @@
    <dd>
 
     <p>Returns true if the image has been downloaded, decoded, and
-    found to be valid; otherwise, returns false.</p>
+    found to be valid, or if no image is specified; otherwise, returns
+    false.</p>
 
    </dd>
 
@@ -21676,13 +21677,15 @@
 
   <p>The IDL attribute <dfn
   title="dom-img-complete"><code>complete</code></dfn> must return
-  true if the user agent has fetched the image specified in the <code
-  title="attr-img-src">src</code> attribute, and it is in a supported
-  image type (i.e. it was decoded without fatal errors), even if the
-  final <span title="concept-task">task</span> queued by the
-  <span>networking task source</span> for the <span
-  title="fetch">fetching</span> of the image resource has not yet been
-  processed. Otherwise, the attribute must return false.</p>
+  true if the <code title="attr-img-src">src</code> attribute's value
+  is the empty string or if the user agent has fetched the image
+  specified in the <code title="attr-img-src">src</code> attribute,
+  and it is in a supported image type (i.e. it was decoded without
+  fatal errors), even if the final <span
+  title="concept-task">task</span> queued by the <span>networking task
+  source</span> for the <span title="fetch">fetching</span> of the
+  image resource has not yet been processed. Otherwise, the attribute
+  must return false.</p>
 
   <p class="note">The value of <code
   title="dom-img-complete">complete</code> can thus change while a
@@ -109177,6 +109180,7 @@
   Amos Jeffries,
   Anders Carlsson,
   Andreas<!-- mqmq87 -->,
+  Andreas Kling,
   Andrei Popescu,
   André E. Veltstra,
   Andrew Clover,




More information about the Commit-Watchers mailing list