- From: poot <cvsmail@w3.org>
- Date: Wed, 11 Aug 2010 08:28:50 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: img.complete should be true if src=''. (whatwg r5276) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4204&r2=1.4205&f=h http://html5.org/tools/web-apps-tracker?from=5275&to=5276 =================================================================== 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:25:12 UTC