Skip to content

Commit

Permalink
[giow] (2) Make sure <img> elements don't disappear while loading an …
Browse files Browse the repository at this point in the history
…image.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6917 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 25, 2012
1 parent 0bf93c0 commit 7e6a3bf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
7 changes: 6 additions & 1 deletion complete.html
Expand Up @@ -23412,7 +23412,12 @@ <h4 id=the-img-element><span class=secno>4.8.1 </span>The <dfn><code>img</code><

</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>
Expand Down
7 changes: 6 additions & 1 deletion index
Expand Up @@ -23412,7 +23412,12 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

</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>
Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -25131,6 +25131,12 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

</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
Expand Down

0 comments on commit 7e6a3bf

Please sign in to comment.