- From: poot <cvsmail@w3.org>
- Date: Sat, 25 Sep 2010 10:57:25 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Show best practice for use of labels in details. (whatwg r5483)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4374&r2=1.4375&f=h
http://html5.org/tools/web-apps-tracker?from=5482&to=5483
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4374
retrieving revision 1.4375
diff -u -d -r1.4374 -r1.4375
--- Overview.html 25 Sep 2010 01:50:06 -0000 1.4374
+++ Overview.html 25 Sep 2010 01:57:10 -0000 1.4375
@@ -35949,8 +35949,8 @@
used to hide some controls by default:</p>
<pre><details>
- <summary>Name & Extension:</summary>
- <p><input type=text name=fn value="Pillar Magazine.pdf">
+ <summary><label for=fn>Name & Extension:</label></summary>
+ <p><input type=text id=fn name=fn value="Pillar Magazine.pdf">
<p><label><input type=checkbox name=ext checked> Hide extension</label>
</details></pre>
Received on Saturday, 25 September 2010 01:57:54 UTC