W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/spec Overview.html,1.2416,1.2417

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 16 Jun 2009 00:56:13 +0000
To: public-html-commits@w3.org
Message-Id: <E1MGMyD-0008O1-Tu@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32223

Modified Files:
	Overview.html 
Log Message:
use <label> in the <br> anti-example (whatwg r3269)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2416
retrieving revision 1.2417
diff -u -d -r1.2416 -r1.2417
--- Overview.html	16 Jun 2009 00:53:59 -0000	1.2416
+++ Overview.html	16 Jun 2009 00:56:10 -0000	1.2417
@@ -11151,18 +11151,16 @@
    <pre>&lt;p&gt;&lt;a ...&gt;34 comments.&lt;/a&gt;&lt;br&gt;
 &lt;a ...&gt;Add a comment.&lt;a&gt;&lt;/p&gt;</pre>
 
-   <pre>&lt;p&gt;Name: &lt;input name="name"&gt;&lt;br&gt;
-Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
+   <pre>&lt;p&gt;&lt;label&gt;Name: &lt;input name="name"&gt;&lt;/label&gt;&lt;br&gt;
+&lt;label&gt;Address: &lt;input name="address"&gt;&lt;/label&gt;&lt;/p&gt;</pre>
 
    <p>Here are alternatives to the above, which are correct:</p>
 
    <pre>&lt;p&gt;&lt;a ...&gt;34 comments.&lt;/a&gt;&lt;/p&gt;
 &lt;p&gt;&lt;a ...&gt;Add a comment.&lt;a&gt;&lt;/p&gt;</pre>
 
-   <pre>&lt;p&gt;Name: &lt;input name="name"&gt;&lt;/p&gt;
-&lt;p&gt;Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
-
-   <!-- XXX should have labels in the examples above -->
+   <pre>&lt;p&gt;&lt;label&gt;Name: &lt;input name="name"&gt;&lt;/label&gt;&lt;/p&gt;
+&lt;p&gt;&lt;label&gt;Address: &lt;input name="address"&gt;&lt;/label&gt;&lt;/p&gt;</pre>
 
   </div><p>If a <a href="#paragraph">paragraph</a> consists of nothing but a single
   <code><a href="#the-br-element">br</a></code> element, it represents a placeholder blank line
Received on Tuesday, 16 June 2009 00:56:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 16 June 2009 00:56:19 GMT