- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Aug 2010 23:24:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv6762
Modified Files:
Overview.html
Log Message:
img.complete should be true if src=''. (whatwg r5276)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4204
retrieving revision 1.4205
diff -u -d -r1.4204 -r1.4205
--- Overview.html 10 Aug 2010 22:24:23 -0000 1.4204
+++ Overview.html 10 Aug 2010 23:24:21 -0000 1.4205
@@ -17426,7 +17426,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>
@@ -17459,11 +17460,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>
@@ -68215,6 +68219,7 @@
Amos Jeffries,
Anders Carlsson,
Andreas<!-- mqmq87 -->,
+ Andreas Kling,
Andrei Popescu,
André E. Veltstra,
Andrew Clover,
Received on Tuesday, 10 August 2010 23:24:27 UTC