W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1150,1.1151

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Jul 2008 09:31:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1KO81M-0003lV-IE@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv14429

Modified Files:
	Overview.html 
Log Message:
Another (probably vain) attempt at defining what an <img> element represents in all cases. (whatwg r1960)

Index: Overview.html
===================================================================
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:31:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT