[html5] r3989 - [e] (0) mention <meter> doesn't work with alt=''.

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 24 12:59:51 PDT 2009


Author: ianh
Date: 2009-09-24 12:59:50 -0700 (Thu, 24 Sep 2009)
New Revision: 3989

Modified:
   index
   source
Log:
[e] (0) mention <meter> doesn't work with alt=''.

Modified: index
===================================================================
--- index	2009-09-24 10:31:33 UTC (rev 3988)
+++ index	2009-09-24 19:59:50 UTC (rev 3989)
@@ -16465,7 +16465,7 @@
    <dt>Content attributes:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
    <dt>DOM interface:</dt>
-   <dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
+   <dd>Use <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
   </dl><p>The <code><a href=#the-sub-and-sup-elements>sup</a></code> element <a href=#represents>represents</a> a
   superscript and the <code><a href=#the-sub-and-sup-elements>sub</a></code> element <a href=#represents>represents</a>
   a subscript.</p>
@@ -16631,7 +16631,7 @@
 
   <div class=example>
    <p>The following would be <em>incorrect</em> usage:</p>
-   <pre><p><b>WARNING!</b> Do not frob the barbinator!</p></pre>
+   <pre class=bad><p><b>WARNING!</b> Do not frob the barbinator!</p></pre>
    <p>In the previous example, the correct element to use would have
    been <code><a href=#the-strong-element>strong</a></code>, not <code><a href=#the-b-element>b</a></code>.</p>
   </div>
@@ -17151,7 +17151,7 @@
 <meter>3/4</meter>
 <meter>6 blocks used (out of 8 total)</meter>
 <meter>max: 100; current: 75</meter>
-<meter><object data="graph75.png">0.75</object></meter>
+<meter><object data="graph75.png">0.75</object></meter> <!-- using <span class=bad><img alt="0.75" ...></span> wouldn't work; the alt would be ignored -->
 <meter min="0" max="100" value="75"></meter></pre>
 
    <p>The following example is incorrect use of the element, because

Modified: source
===================================================================
--- source	2009-09-24 10:31:33 UTC (rev 3988)
+++ source	2009-09-24 19:59:50 UTC (rev 3989)
@@ -17568,7 +17568,7 @@
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
    <dt>DOM interface:</dt>
-   <dd>Uses <code>HTMLElement</code>.</dd>
+   <dd>Use <code>HTMLElement</code>.</dd>
   </dl>
 
   <p>The <code>sup</code> element <span>represents</span> a
@@ -17745,7 +17745,7 @@
 
   <div class="example">
    <p>The following would be <em>incorrect</em> usage:</p>
-   <pre><p><b>WARNING!</b> Do not frob the barbinator!</p></pre>
+   <pre class="bad"><p><b>WARNING!</b> Do not frob the barbinator!</p></pre>
    <p>In the previous example, the correct element to use would have
    been <code>strong</code>, not <code>b</code>.</p>
   </div>
@@ -18324,7 +18324,7 @@
 <meter>3/4</meter>
 <meter>6 blocks used (out of 8 total)</meter>
 <meter>max: 100; current: 75</meter>
-<meter><object data="graph75.png">0.75</object></meter>
+<meter><object data="graph75.png">0.75</object></meter> <!-- using <span class="bad"><img alt="0.75" ...></span> wouldn't work; the alt would be ignored -->
 <meter min="0" max="100" value="75"></meter></pre>
 
    <p>The following example is incorrect use of the element, because




More information about the Commit-Watchers mailing list