[html5] r6917 - [giow] (2) Make sure <img> elements don't disappear while loading an image. Affe [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 25 15:06:36 PST 2012


Author: ianh
Date: 2012-01-25 15:06:35 -0800 (Wed, 25 Jan 2012)
New Revision: 6917

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make sure <img> elements don't disappear while loading an image.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-01-25 22:50:50 UTC (rev 6916)
+++ complete.html	2012-01-25 23:06:35 UTC (rev 6917)
@@ -23412,7 +23412,12 @@
 
    </li>
 
-  </ol><p>When an <code><a href=#the-img-element>img</a></code> element is in the <a href=#img-all title=img-all>completely available</a> state <em>and</em> the
+  </ol><p>While a user agent is running the above algorithm for an element
+  <var title="">x</var>, there must be a strong reference from the
+  element's <code><a href=#document>Document</a></code> to the element <var title="">x</var>, even if that element is not <a href=#in-a-document title="in a
+  Document">in</a> its <code><a href=#document>Document</a></code>.</p>
+
+  <p>When an <code><a href=#the-img-element>img</a></code> element is in the <a href=#img-all title=img-all>completely available</a> state <em>and</em> the
   user agent can decode the media data without errors, then the
   <code><a href=#the-img-element>img</a></code> element is said to be <dfn id=img-good title=img-good>fully
   decodable</dfn>.</p>

Modified: index
===================================================================
--- index	2012-01-25 22:50:50 UTC (rev 6916)
+++ index	2012-01-25 23:06:35 UTC (rev 6917)
@@ -23412,7 +23412,12 @@
 
    </li>
 
-  </ol><p>When an <code><a href=#the-img-element>img</a></code> element is in the <a href=#img-all title=img-all>completely available</a> state <em>and</em> the
+  </ol><p>While a user agent is running the above algorithm for an element
+  <var title="">x</var>, there must be a strong reference from the
+  element's <code><a href=#document>Document</a></code> to the element <var title="">x</var>, even if that element is not <a href=#in-a-document title="in a
+  Document">in</a> its <code><a href=#document>Document</a></code>.</p>
+
+  <p>When an <code><a href=#the-img-element>img</a></code> element is in the <a href=#img-all title=img-all>completely available</a> state <em>and</em> the
   user agent can decode the media data without errors, then the
   <code><a href=#the-img-element>img</a></code> element is said to be <dfn id=img-good title=img-good>fully
   decodable</dfn>.</p>

Modified: source
===================================================================
--- source	2012-01-25 22:50:50 UTC (rev 6916)
+++ source	2012-01-25 23:06:35 UTC (rev 6917)
@@ -25131,6 +25131,12 @@
 
   </ol>
 
+  <p>While a user agent is running the above algorithm for an element
+  <var title="">x</var>, there must be a strong reference from the
+  element's <code>Document</code> to the element <var
+  title="">x</var>, even if that element is not <span title="in a
+  Document">in</span> its <code>Document</code>.</p>
+
   <p>When an <code>img</code> element is in the <span
   title="img-all">completely available</span> state <em>and</em> the
   user agent can decode the media data without errors, then the




More information about the Commit-Watchers mailing list