Skip to content

Commit

Permalink
[giow] (3) Define img.complete to include broken images, per implemen…
Browse files Browse the repository at this point in the history
…tations

Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8334 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 6, 2013
1 parent 562d643 commit 3bdb6d5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions complete.html
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 5 December 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 December 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -21528,12 +21528,12 @@ <h4 id=the-img-element><span class=secno>4.7.1 </span>The <dfn><code>img</code><
if it's not in the img-error state -->

<li>The final <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a
task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>, but has not yet
been run, and the <code><a href=#the-img-element>img</a></code> element is not in the <a href=#img-error title=img-error>broken</a>
state.
task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>.

<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-all title=img-all>completely available</a>.

<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-error title=img-error>broken</a>.

</ul><p>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
Expand Down Expand Up @@ -54720,7 +54720,7 @@ <h6 id=text-styles><span class=secno>4.12.4.2.5 </span>Text styles</h6>
attribute's allowed keywords correspond to alignment points in the
font:</p>

<p><img src=http://images.whatwg.org/baselines.png width=738 alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#x906; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &ohm; are anchored, the ideographic baseline is where glyphs like &#x79c1; and &#x9054; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height=300></p>
<p><img src=http://images.whatwg.org/baselines.png width=738 alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#x906; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &ohm; are anchored, the ideographic baseline is where glyphs like " height=300>79C1; and &#x9054; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square."&gt;</p>

<p>The keywords map to these alignment points as follows:</p>

Expand Down
10 changes: 5 additions & 5 deletions index
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 5 December 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 December 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -21528,12 +21528,12 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement
if it's not in the img-error state -->

<li>The final <a href=#concept-task title=concept-task>task</a> that is <a href=#queue-a-task title="queue a
task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>, but has not yet
been run, and the <code><a href=#the-img-element>img</a></code> element is not in the <a href=#img-error title=img-error>broken</a>
state.
task">queued</a> by the <a href=#networking-task-source>networking task source</a> once the resource has been <a href=#fetch title=fetch>fetched</a> has been <a href=#queue-a-task title="queue a task">queued</a>.

<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-all title=img-all>completely available</a>.

<li>The <code><a href=#the-img-element>img</a></code> element is <a href=#img-error title=img-error>broken</a>.

</ul><p>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
Expand Down Expand Up @@ -54720,7 +54720,7 @@ transform. ack Shaun Morris. --></div>
attribute's allowed keywords correspond to alignment points in the
font:</p>

<p><img src=http://images.whatwg.org/baselines.png width=738 alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#x906; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &ohm; are anchored, the ideographic baseline is where glyphs like &#x79c1; and &#x9054; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height=300></p>
<p><img src=http://images.whatwg.org/baselines.png width=738 alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#x906; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &ohm; are anchored, the ideographic baseline is where glyphs like " height=300>79C1; and &#x9054; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square."&gt;</p>

<p>The keywords map to these alignment points as follows:</p>

Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -22597,12 +22597,12 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<li>The final <span data-x="concept-task">task</span> that is <span data-x="queue a
task">queued</span> by the <span>networking task source</span> once the resource has been <span
data-x="fetch">fetched</span> has been <span data-x="queue a task">queued</span>, but has not yet
been run, and the <code>img</code> element is not in the <span data-x="img-error">broken</span>
state.
data-x="fetch">fetched</span> has been <span data-x="queue a task">queued</span>.

<li>The <code>img</code> element is <span data-x="img-all">completely available</span>.

<li>The <code>img</code> element is <span data-x="img-error">broken</span>.

</ul>

<p>Otherwise, the attribute must return false.</p>
Expand Down

0 comments on commit 3bdb6d5

Please sign in to comment.