[html5] r1960 - [] (0) Another (probably vain) attempt at defining what an <img> element represe [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 30 02:30:54 PDT 2008
Author: ianh
Date: 2008-07-30 02:30:53 -0700 (Wed, 30 Jul 2008)
New Revision: 1960
Modified:
index
source
Log:
[] (0) Another (probably vain) attempt at defining what an <img> element represents in all cases.
Modified: index
===================================================================
--- index 2008-07-30 09:16:02 UTC (rev 1959)
+++ index 2008-07-30 09:30:53 UTC (rev 1960)
@@ -15518,10 +15518,14 @@
<hr>
+ <p>The element represents the image specified by the <code
+ title=attr-img-src><a href="#src">src</a></code> attribute.
+
<p>When the <code title=attr-img-alt><a href="#alt0">alt</a></code>
attribute is present and its value is the empty string, the image
supplements the surrounding content. In such cases, the image may be
- omitted in the rendering without affecting the meaning of the document.
+ omitted in the rendering without affecting the meaning of the document. If
+ the image is not available, then the element represents nothing.
<p>When the <code title=attr-img-alt><a href="#alt0">alt</a></code>
attribute is present and its value is not the empty string, the image is a
@@ -15529,11 +15533,14 @@
title=attr-img-alt><a href="#alt0">alt</a></code> attribute. In such
cases, the image may be replaced in the rendering by the string given in
the attribute without significantly affecting the meaning of the document.
+ If the image is not available, then the element represents that string
+ instead.
<p>When the <code title=attr-img-alt><a href="#alt0">alt</a></code>
attribute is missing, the image represents a key part of the content.
Non-visual user agents should apply image analysis heuristics to help the
- user make sense of the image.
+ user make sense of the image. If the image is not available, the element
+ represents some indication that the image is missing.
<p>The <code title=attr-img-alt><a href="#alt0">alt</a></code> attribute
does not represent advisory information. User agents must not present the
@@ -15546,13 +15553,9 @@
<code title=attr-img-alt><a href="#alt0">alt</a></code> attribute, if any,
or nothing, if that attribute is empty or absent.
- <p>When the <code title=attr-img-src><a href="#src">src</a></code>
- attribute is present, the element represents the image given by that
- attribute.
+ <p>The <em>contents</em> of <code><a href="#img">img</a></code> elements,
+ if any, are ignored for the purposes of rendering.
- <p>The contents of <code><a href="#img">img</a></code> elements, if any,
- are ignored for the purposes of rendering.
-
<hr>
<p>The <code title=attr-hyperlink-usemap><a
Modified: source
===================================================================
--- source 2008-07-30 09:16:02 UTC (rev 1959)
+++ source 2008-07-30 09:30:53 UTC (rev 1960)
@@ -13064,10 +13064,14 @@
<hr>
+ <p>The element represents the image specified by the <code
+ title="attr-img-src">src</code> attribute.</p>
+
<p>When the <code title="attr-img-alt">alt</code> attribute is
present and its value is the empty string, the image supplements the
surrounding content. In such cases, the image may be omitted in the
- rendering without affecting the meaning of the document.</p>
+ rendering without affecting the meaning of the document. If the
+ image is not available, then the element represents nothing.</p>
<p>When the <code title="attr-img-alt">alt</code> attribute is
present and its value is not the empty string, the image is a
@@ -13075,12 +13079,14 @@
title="attr-img-alt">alt</code> attribute. In such cases, the image
may be replaced in the rendering by the string given in the
attribute without significantly affecting the meaning of the
- document.</p>
+ document. If the image is not available, then the element represents
+ that string instead.</p>
<p>When the <code title="attr-img-alt">alt</code> attribute is
missing, the image represents a key part of the content. Non-visual
user agents should apply image analysis heuristics to help the user
- make sense of the image.</p>
+ make sense of the image. If the image is not available, the element
+ represents some indication that the image is missing.</p>
<p>The <code title="attr-img-alt">alt</code> attribute does not
represent advisory information. User agents must not present the
@@ -13093,13 +13099,9 @@
element's <code title="attr-img-alt">alt</code> attribute, if any,
or nothing, if that attribute is empty or absent.</p>
- <p>When the <code title="attr-img-src">src</code> attribute is
- present, the element represents the image given by that
- attribute.</p>
+ <p>The <em>contents</em> of <code>img</code> elements, if any, are
+ ignored for the purposes of rendering.</p>
- <p>The contents of <code>img</code> elements, if any, are ignored
- for the purposes of rendering.</p>
-
<hr>
<p>The <code title="attr-hyperlink-usemap">usemap</code> attribute,
More information about the Commit-Watchers
mailing list