- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jan 2010 05:26:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4272
Modified Files:
Overview.html
Log Message:
examples for multiple='' and list='' together. (whatwg r4503)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3602
retrieving revision 1.3603
diff -u -d -r1.3602 -r1.3603
--- Overview.html 6 Jan 2010 05:01:59 -0000 1.3602
+++ Overview.html 6 Jan 2010 05:26:33 -0000 1.3603
@@ -31818,6 +31818,46 @@
<pre><label>Cc: <input type=email multiple name=cc></label></pre>
+ <p>If the user had, amongst many friends in his user contacts
+ database, two friends "Arthur Dent" (with address
+ "art@example.net") and "Adam Josh" (with address
+ "adamjosh@example.net"), then, after the user has typed "a", the
+ user agent might suggest these two e-mail addresses to the
+ user.</p>
+
+<!--
+ <pre>[ a | v ]
+| art@example.net Arthur Dent |
+| adamjosh@example.net Adam Josh |
++-----------------------------------+</pre>
+-->
+
+ <p>The page could also link in the user's contacts database from the site:</p>
+
+ <pre><label>Cc: <input type=email multiple name=cc list=contacts></label>
+...
+<datalist id="contacts">
+ <option value="hedral@damowmow.com">
+ <option value="pillar@example.com">
+ <option value="astrophy@cute.example">
+ <option value="astronomy@science.example.org">
+</datalist></pre>
+
+ <p>Suppose the user had entered "bob@example.net" into this text
+ field, and then started typing a second e-mail address starting
+ with "a". The user agent might show both the two friends mentioned
+ earlier, as well as the "astrophy" and "astronomy" values given in
+ the <code><a href="#the-datalist-element">datalist</a></code> element.</p>
+
+<!--
+ <pre>[ bob@example.net, a | v ]
+| adamjosh@example.net Adam Josh |
+| art@example.net Arthur Dent |
+| astronomy@science.example.org |
+| astrophy@cute.example |
++-----------------------------------+</pre>
+-->
+
</div><div class="example">
<p>The following extract shows how an e-mail client's "Attachments"
Received on Wednesday, 6 January 2010 05:26:38 UTC