[html5] r1959 - [e] (0) move text around the img section

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 30 02:16:02 PDT 2008


Author: ianh
Date: 2008-07-30 02:16:02 -0700 (Wed, 30 Jul 2008)
New Revision: 1959

Modified:
   index
   source
Log:
[e] (0) move text around the img section

Modified: index
===================================================================
--- index	2008-07-30 09:13:53 UTC (rev 1958)
+++ index	2008-07-30 09:16:02 UTC (rev 1959)
@@ -15462,43 +15462,6 @@
 
   <hr>
 
-  <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.
-
-  <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
-   graphical equivalent of the string given in the <code
-   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.
-
-  <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.
-
-  <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
-   contents of the <code title=attr-img-alt><a href="#alt0">alt</a></code>
-   attribute in the same way as content of the <code title=attr-title><a
-   href="#title">title</a></code> attribute.
-
-  <p>If the <code title=attr-img-src><a href="#src">src</a></code> attribute
-   is omitted, the image represents whatever string is given by the element's
-   <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.
-
-  <hr>
-
   <p>When an <code><a href="#img">img</a></code> is created with a <code
    title=attr-img-src><a href="#src">src</a></code> attribute, and whenever
    the <code title=attr-img-src><a href="#src">src</a></code> attribute is
@@ -15518,8 +15481,8 @@
    title=origin>cross-origin</a> access control policies that mitigate this
    attack.
 
-  <p>Once the resource has been fetched, if the image is a valid image, the
-   user agent must <a href="#firing4">fire a <code
+  <p>Once the resource has been fetched, if the image is a valid and
+   supported image, the user agent must <a href="#firing4">fire a <code
    title=event-load>load</code> event</a> on the <code><a
    href="#img">img</a></code> element (this happens after <code
    title=dom-img-complete><a href="#complete">complete</a></code> starts
@@ -15555,6 +15518,43 @@
 
   <hr>
 
+  <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.
+
+  <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
+   graphical equivalent of the string given in the <code
+   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.
+
+  <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.
+
+  <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
+   contents of the <code title=attr-img-alt><a href="#alt0">alt</a></code>
+   attribute in the same way as content of the <code title=attr-title><a
+   href="#title">title</a></code> attribute.
+
+  <p>If the <code title=attr-img-src><a href="#src">src</a></code> attribute
+   is omitted, the image represents whatever string is given by the element's
+   <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.
+
+  <hr>
+
   <p>The <code title=attr-hyperlink-usemap><a
    href="#usemap1">usemap</a></code> attribute, if present, can indicate that
    the image has an associated <a href="#image2">image map</a>.

Modified: source
===================================================================
--- source	2008-07-30 09:13:53 UTC (rev 1958)
+++ source	2008-07-30 09:16:02 UTC (rev 1959)
@@ -13008,44 +13008,6 @@
 
   <hr>
 
-  <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>
-
-  <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
-  graphical equivalent of the string given in the <code
-  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>
-
-  <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>
-
-  <p>The <code title="attr-img-alt">alt</code> attribute does not
-  represent advisory information. User agents must not present the
-  contents of the <code title="attr-img-alt">alt</code> attribute in
-  the same way as content of the <code title="attr-title">title</code>
-  attribute.</p>
-
-  <p>If the <code title="attr-img-src">src</code> attribute is
-  omitted, the image represents whatever string is given by the
-  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 contents of <code>img</code> elements, if any, are ignored
-  for the purposes of rendering.</p>
-
-  <hr>
-
   <p>When an <code>img</code> is created with a <code
   title="attr-img-src">src</code> attribute, and whenever the <code
   title="attr-img-src">src</code> attribute is set subsequently, the
@@ -13065,8 +13027,8 @@
   <span title="origin">cross-origin</span> access control policies
   that mitigate this attack.</p>
 
-  <p>Once the resource has been fetched, if the image is a valid
-  image, the user agent must <span>fire a <code
+  <p>Once the resource has been fetched, if the image is a valid and
+  supported image, the user agent must <span>fire a <code
   title="event-load">load</code> event</span> on the <code>img</code>
   element (this happens after <code
   title="dom-img-complete">complete</code> starts returning true). If
@@ -13102,6 +13064,44 @@
 
   <hr>
 
+  <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>
+
+  <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
+  graphical equivalent of the string given in the <code
+  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>
+
+  <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>
+
+  <p>The <code title="attr-img-alt">alt</code> attribute does not
+  represent advisory information. User agents must not present the
+  contents of the <code title="attr-img-alt">alt</code> attribute in
+  the same way as content of the <code title="attr-title">title</code>
+  attribute.</p>
+
+  <p>If the <code title="attr-img-src">src</code> attribute is
+  omitted, the image represents whatever string is given by the
+  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 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,
   if present, can indicate that the image has an associated
   <span>image map</span>.</p>




More information about the Commit-Watchers mailing list