Skip to content

Commit

Permalink
[e] (0) apply wg decision (introductory text for <img>)
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12526

git-svn-id: http://svn.whatwg.org/webapps@6028 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 25, 2011
1 parent 07677d8 commit 781e9cc
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 7 deletions.
13 changes: 11 additions & 2 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -11204,6 +11204,9 @@ <h6 id=embedded-content-0><span class=secno>3.2.5.1.6 </span>Embedded content</h
content</dfn>: content that is to be used when the external resource
cannot be used (e.g. because it is of an unsupported format). The
element definitions state what the fallback is, if any.</p>
<!-- we might not need to define fallback content at all. consider
removing it if we don't end up using it anywhere (e.g. Selection)
-->


<h6 id=interactive-content-0><span class=secno>3.2.5.1.7 </span>Interactive content</h6>
Expand Down Expand Up @@ -21762,8 +21765,14 @@ <h4 id=the-img-element><span class=secno>4.8.1 </span>The <dfn><code>img</code><
-->

<p>The image given by the <dfn id=attr-img-src title=attr-img-src><code>src</code></dfn> attribute is the
embedded content, and the value of the <dfn id=attr-img-alt title=attr-img-alt><code>alt</code></dfn> attribute is the
<code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback content</a>.</p>
embedded content; the value of the <dfn id=attr-img-alt title=attr-img-alt><code>alt</code></dfn> attribute provides
equivalent content for those who cannot process images or who have
image loading disabled<!--
--><!--FORK--><!--
--> (i.e. it is the <code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback
content</a>)<!--
--><!--FORK--><!--
-->.</p>

<p>The <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute must be
present, and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
Expand Down
18 changes: 16 additions & 2 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,11 @@
textual alternatives to those images, because of <a href=http://lists.w3.org/Archives/Public/public-html/2011Apr/0451.html>a
working group decision from April 2011</a>.</li>

<li>The W3C version does not state that the <code><a href=#the-img-element>img</a></code>
element's <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute is its
<a href=#fallback-content>fallback content</a>, because of <a href=http://lists.w3.org/Archives/Public/public-html/2011Apr/0452.html>a
working group decision from April 2011</a>.</li>

</ul><p>Features that are part of HTML (and this specification) but that
are currently published as separate specifications as well, and are
not included in the W3C HTML5 specification, consist of:</p>
Expand Down Expand Up @@ -11219,6 +11224,9 @@ background: transparent"&gt;blue&lt;/span&gt;.&lt;/p&gt;</pre>
content</dfn>: content that is to be used when the external resource
cannot be used (e.g. because it is of an unsupported format). The
element definitions state what the fallback is, if any.</p>
<!-- we might not need to define fallback content at all. consider
removing it if we don't end up using it anywhere (e.g. Selection)
-->


<h6 id=interactive-content-0><span class=secno>3.2.5.1.7 </span>Interactive content</h6>
Expand Down Expand Up @@ -21777,8 +21785,14 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement
-->

<p>The image given by the <dfn id=attr-img-src title=attr-img-src><code>src</code></dfn> attribute is the
embedded content, and the value of the <dfn id=attr-img-alt title=attr-img-alt><code>alt</code></dfn> attribute is the
<code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback content</a>.</p>
embedded content; the value of the <dfn id=attr-img-alt title=attr-img-alt><code>alt</code></dfn> attribute provides
equivalent content for those who cannot process images or who have
image loading disabled<!--
--><!--FORK--><!--
--> (i.e. it is the <code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback
content</a>)<!--
--><!--FORK--><!--
-->.</p>

<p>The <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute must be
present, and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
Expand Down
21 changes: 18 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@
href="http://lists.w3.org/Archives/Public/public-html/2011Apr/0451.html">a
working group decision from April 2011</a>.</li>

<li>The W3C version does not state that the <code>img</code>
element's <code title="attr-img-alt">alt</code> attribute is its
<span>fallback content</span>, because of <a
href="http://lists.w3.org/Archives/Public/public-html/2011Apr/0452.html">a
working group decision from April 2011</a>.</li>

</ul>

<p>Features that are part of HTML (and this specification) but that
Expand Down Expand Up @@ -11624,6 +11630,9 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>
content</dfn>: content that is to be used when the external resource
cannot be used (e.g. because it is of an unsupported format). The
element definitions state what the fallback is, if any.</p>
<!-- we might not need to define fallback content at all. consider
removing it if we don't end up using it anywhere (e.g. Selection)
-->


<h6>Interactive content</h6>
Expand Down Expand Up @@ -23370,9 +23379,15 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<p>The image given by the <dfn
title="attr-img-src"><code>src</code></dfn> attribute is the
embedded content, and the value of the <dfn
title="attr-img-alt"><code>alt</code></dfn> attribute is the
<code>img</code> element's <span>fallback content</span>.</p>
embedded content; the value of the <dfn
title="attr-img-alt"><code>alt</code></dfn> attribute provides
equivalent content for those who cannot process images or who have
image loading disabled<!--
--><!--END w3c-html--><!--FORK--><!--
--> (i.e. it is the <code>img</code> element's <span>fallback
content</span>)<!--
--><!--START w3c-html--><!--FORK--><!--
-->.</p>

<p>The <code title="attr-img-src">src</code> attribute must be
present, and must contain a <span>valid non-empty URL potentially
Expand Down

0 comments on commit 781e9cc

Please sign in to comment.