- From: poot <cvsmail@w3.org>
- Date: Wed, 14 Apr 2010 06:22:18 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Forgot to remove one of the cases that used the outline algorithm with no-alt imgs. (whatwg r5038) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4052&r2=1.4053&f=h http://html5.org/tools/web-apps-tracker?from=5037&to=5038 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4052 retrieving revision 1.4053 diff -u -d -r1.4052 -r1.4053 --- Overview.html 13 Apr 2010 09:57:31 -0000 1.4052 +++ Overview.html 13 Apr 2010 21:22:01 -0000 1.4053 @@ -17008,7 +17008,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> @@ -17018,19 +17019,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 @@ -17788,8 +17776,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> @@ -17975,8 +17963,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>
Received on Tuesday, 13 April 2010 21:22:50 UTC