spec/Overview.html 1.1151 1960 Another (probably vain) attempt at defin

Another (probably vain) attempt at defining what an <img> element
represents in all cases. (whatwg r1960)

alt
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1151.html#alt0

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1150&r2=1.1151&f=h
http://html5.org/tools/web-apps-tracker?from=1959&to=1960

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1150
retrieving revision 1.1151
diff -u -d -r1.1150 -r1.1151
--- Overview.html 30 Jul 2008 09:16:05 -0000 1.1150
+++ Overview.html 30 Jul 2008 09:30:57 -0000 1.1151
@@ -15589,10 +15589,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
@@ -15600,11 +15604,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
@@ -15617,12 +15624,8 @@
    <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 contents of <code><a href="#img">img</a></code> elements, if any,
-   are ignored for the purposes of rendering.
+  <p>The <em>contents</em> of <code><a href="#img">img</a></code> elements,
+   if any, are ignored for the purposes of rendering.
 
   <hr>

Received on Wednesday, 30 July 2008 09:34:48 UTC