- From: poot <cvsmail@w3.org>
- Date: Fri, 28 Oct 2011 18:49:38 -0400
- To: public-html-diffs@w3.org
hixie: Make setting <img crossorigin> refetch the image. (whatwg r6779) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5427&r2=1.5428&f=h http://html5.org/tools/web-apps-tracker?from=6778&to=6779 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5427 retrieving revision 1.5428 diff -u -d -r1.5427 -r1.5428 --- Overview.html 28 Oct 2011 20:29:53 -0000 1.5427 +++ Overview.html 28 Oct 2011 22:49:09 -0000 1.5428 @@ -18480,18 +18480,18 @@ <p>A user agent that obtains images immediately must synchronously <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element - whenever that element is either created with a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, or has its <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute set, changed, or - removed.</p> + whenever that element is either created with a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, or has its <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute set, changed, or removed, + or has its <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> + attribute set, changed, or removed.</p> <p>A user agent that obtains images on demand must <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element whenever it needs the image data (i.e. on demand), but only if the <code><a href="#the-img-element">img</a></code> element has a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, and - if it has not <a href="#update-the-image-data" title="update the image data">updated the image - data</a> since the last time the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute was set. When an - <code><a href="#the-img-element">img</a></code> element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> - attribute is changed or removed, if the user agent only obtains - images on demand, the <code><a href="#the-img-element">img</a></code> element must return to the - <a href="#img-none" title="img-none">unavailable</a> state.</p> + only if the <code><a href="#the-img-element">img</a></code> element is in the <a href="#img-none" title="img-none">unavailable</a> state. When an <code><a href="#the-img-element">img</a></code> + element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute is changed + or removed, and whenever the element's <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attribute is set, + changed, or removed, if the user agent only obtains images on + demand, the <code><a href="#the-img-element">img</a></code> element must return to the <a href="#img-none" title="img-none">unavailable</a> state.</p> <p>When the user agent is to <dfn id="update-the-image-data">update the image data</dfn> of an <code><a href="#the-img-element">img</a></code> element, it must run the following steps:</p>
Received on Friday, 28 October 2011 22:49:43 UTC