[html5] r3269 - [e] (0) use <label> in the <br> anti-example

whatwg at whatwg.org whatwg at whatwg.org
Mon Jun 15 17:56:03 PDT 2009


Author: ianh
Date: 2009-06-15 17:56:01 -0700 (Mon, 15 Jun 2009)
New Revision: 3269

Modified:
   index
   source
Log:
[e] (0) use <label> in the <br> anti-example

Modified: index
===================================================================
--- index	2009-06-16 00:53:53 UTC (rev 3268)
+++ index	2009-06-16 00:56:01 UTC (rev 3269)
@@ -12739,19 +12739,17 @@
    <pre><p><a ...>34 comments.</a><br>
 <a ...>Add a comment.<a></p></pre>
 
-   <pre><p>Name: <input name="name"><br>
-Address: <input name="address"></p></pre>
+   <pre><p><label>Name: <input name="name"></label><br>
+<label>Address: <input name="address"></label></p></pre>
 
    <p>Here are alternatives to the above, which are correct:</p>
 
    <pre><p><a ...>34 comments.</a></p>
 <p><a ...>Add a comment.<a></p></pre>
 
-   <pre><p>Name: <input name="name"></p>
-<p>Address: <input name="address"></p></pre>
+   <pre><p><label>Name: <input name="name"></label></p>
+<p><label>Address: <input name="address"></label></p></pre>
 
-   <!-- XXX should have labels in the examples above -->
-
   </div>
 
   <p>If a <a href=#paragraph>paragraph</a> consists of nothing but a single

Modified: source
===================================================================
--- source	2009-06-16 00:53:53 UTC (rev 3268)
+++ source	2009-06-16 00:56:01 UTC (rev 3269)
@@ -13463,19 +13463,17 @@
    <pre><p><a ...>34 comments.</a><br>
 <a ...>Add a comment.<a></p></pre>
 
-   <pre><p>Name: <input name="name"><br>
-Address: <input name="address"></p></pre>
+   <pre><p><label>Name: <input name="name"></label><br>
+<label>Address: <input name="address"></label></p></pre>
 
    <p>Here are alternatives to the above, which are correct:</p>
 
    <pre><p><a ...>34 comments.</a></p>
 <p><a ...>Add a comment.<a></p></pre>
 
-   <pre><p>Name: <input name="name"></p>
-<p>Address: <input name="address"></p></pre>
+   <pre><p><label>Name: <input name="name"></label></p>
+<p><label>Address: <input name="address"></label></p></pre>
 
-   <!-- XXX should have labels in the examples above -->
-
   </div>
 
   <p>If a <span>paragraph</span> consists of nothing but a single




More information about the Commit-Watchers mailing list