[html5] r5038 - [giow] (0) Forgot to remove one of the cases that used the outline algorithm wit [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 13 14:21:55 PDT 2010


Author: ianh
Date: 2010-04-13 14:21:54 -0700 (Tue, 13 Apr 2010)
New Revision: 5038

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Forgot to remove one of the cases that used the outline algorithm with no-alt imgs.

Modified: complete.html
===================================================================
--- complete.html	2010-04-13 20:53:03 UTC (rev 5037)
+++ complete.html	2010-04-13 21:21:54 UTC (rev 5038)
@@ -19851,7 +19851,8 @@
     information in response to navigation, provide caption information
     for the image, derived as follows:</p>
 
-    <ol><li><p>If the image has a <code title=attr-title><a href=#the-title-attribute>title</a></code>
+    <ol><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><li><p>If the image has a <code title=attr-title><a href=#the-title-attribute>title</a></code>
      attribute whose value is not the empty string, then the value of
      that attribute is the caption information; abort these
      steps.</li>
@@ -19861,19 +19862,6 @@
      contents of the first such <code><a href=#the-figcaption-element>figcaption</a></code> element are
      the caption information; abort these steps.</li>
 
-     <li><p>Run the algorithm to create the <a href=#outline>outline</a> for
-     the document.</li>
-
-     <li><p>If the <code><a href=#the-img-element>img</a></code> element did not end up associated
-     with a heading in the outline, or if there are any other images
-     that are lacking an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code>
-     attribute and that are associated with the same heading in the
-     outline as the <code><a href=#the-img-element>img</a></code> element in question, then there
-     is no caption information; abort these steps.</li>
-
-     <li><p>The caption information is the heading with which the
-     image is associated according to the outline.</li>
-
     </ol></dd>
 
    <dt>If the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute is not
@@ -20760,8 +20748,8 @@
     attribute's value may be omitted, but one of the following
     conditions must be met as well:</p>
 
-    <ul><!-- when editing this list, don't forget to update the "Guidance
-     for conformance checkers" section below --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is
+    <ul><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is
      present and has a non-empty value.</li>
 
      <li>The <code><a href=#the-img-element>img</a></code> element is in a <code><a href=#the-figure-element>figure</a></code>
@@ -20978,8 +20966,8 @@
   <p>A conformance checker must report the lack of an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute as an error unless one of
   the conditions listed below applies:</p>
 
-  <ul><!-- don't forget to update the list in the id="unknown-images"
-   section above when editing this list --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is present
+  <ul><!-- when editing this list, search for the two other occurrences
+   of 'critical-no-alt' --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is present
    and has a non-empty value (as <a href=#unknown-images>described
    above</a>).</li>
 

Modified: index
===================================================================
--- index	2010-04-13 20:53:03 UTC (rev 5037)
+++ index	2010-04-13 21:21:54 UTC (rev 5038)
@@ -19749,7 +19749,8 @@
     information in response to navigation, provide caption information
     for the image, derived as follows:</p>
 
-    <ol><li><p>If the image has a <code title=attr-title><a href=#the-title-attribute>title</a></code>
+    <ol><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><li><p>If the image has a <code title=attr-title><a href=#the-title-attribute>title</a></code>
      attribute whose value is not the empty string, then the value of
      that attribute is the caption information; abort these
      steps.</li>
@@ -19759,19 +19760,6 @@
      contents of the first such <code><a href=#the-figcaption-element>figcaption</a></code> element are
      the caption information; abort these steps.</li>
 
-     <li><p>Run the algorithm to create the <a href=#outline>outline</a> for
-     the document.</li>
-
-     <li><p>If the <code><a href=#the-img-element>img</a></code> element did not end up associated
-     with a heading in the outline, or if there are any other images
-     that are lacking an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code>
-     attribute and that are associated with the same heading in the
-     outline as the <code><a href=#the-img-element>img</a></code> element in question, then there
-     is no caption information; abort these steps.</li>
-
-     <li><p>The caption information is the heading with which the
-     image is associated according to the outline.</li>
-
     </ol></dd>
 
    <dt>If the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute is not
@@ -20658,8 +20646,8 @@
     attribute's value may be omitted, but one of the following
     conditions must be met as well:</p>
 
-    <ul><!-- when editing this list, don't forget to update the "Guidance
-     for conformance checkers" section below --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is
+    <ul><!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is
      present and has a non-empty value.</li>
 
      <li>The <code><a href=#the-img-element>img</a></code> element is in a <code><a href=#the-figure-element>figure</a></code>
@@ -20876,8 +20864,8 @@
   <p>A conformance checker must report the lack of an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute as an error unless one of
   the conditions listed below applies:</p>
 
-  <ul><!-- don't forget to update the list in the id="unknown-images"
-   section above when editing this list --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is present
+  <ul><!-- when editing this list, search for the two other occurrences
+   of 'critical-no-alt' --><li>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute is present
    and has a non-empty value (as <a href=#unknown-images>described
    above</a>).</li>
 

Modified: source
===================================================================
--- source	2010-04-13 20:53:03 UTC (rev 5037)
+++ source	2010-04-13 21:21:54 UTC (rev 5038)
@@ -21091,6 +21091,9 @@
 
     <ol>
 
+     <!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' -->
+
      <li><p>If the image has a <code title="attr-title">title</code>
      attribute whose value is not the empty string, then the value of
      that attribute is the caption information; abort these
@@ -21101,19 +21104,6 @@
      contents of the first such <code>figcaption</code> element are
      the caption information; abort these steps.</p></li>
 
-     <li><p>Run the algorithm to create the <span>outline</span> for
-     the document.</p></li>
-
-     <li><p>If the <code>img</code> element did not end up associated
-     with a heading in the outline, or if there are any other images
-     that are lacking an <code title="attr-img-alt">alt</code>
-     attribute and that are associated with the same heading in the
-     outline as the <code>img</code> element in question, then there
-     is no caption information; abort these steps.</p></li>
-
-     <li><p>The caption information is the heading with which the
-     image is associated according to the outline.</p></li>
-
     </ol>
 
    </dd>
@@ -22053,8 +22043,8 @@
 
     <ul>
 
-     <!-- when editing this list, don't forget to update the "Guidance
-     for conformance checkers" section below -->
+     <!-- when editing this list, search for the two other occurrences
+     of 'critical-no-alt' -->
 
      <li>The <code title="attr-title">title</code> attribute is
      present and has a non-empty value.</li>
@@ -22288,8 +22278,8 @@
 
   <ul>
 
-   <!-- don't forget to update the list in the id="unknown-images"
-   section above when editing this list -->
+   <!-- when editing this list, search for the two other occurrences
+   of 'critical-no-alt' -->
 
    <li>The <code title="attr-title">title</code> attribute is present
    and has a non-empty value (as <a href="#unknown-images">described




More information about the Commit-Watchers mailing list