Skip to content
Permalink
Browse files

[giow] (2) Make sure <img> elements don't disappear while loading an …

…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 7e6a3bf202bb6661843b00b8405ad0896fc1af30
Showing with 18 additions and 2 deletions.
  1. +6 −1 complete.html
  2. +6 −1 index
  3. +6 −0 source

</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>
7 index

</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>
6 source

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

0 comments on commit 7e6a3bf

Please sign in to comment.
You can’t perform that action at this time.