html5/spec Overview.html,1.3602,1.3603

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>&lt;label&gt;Cc: &lt;input type=email multiple name=cc&gt;&lt;/label&gt;</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>&lt;label&gt;Cc: &lt;input type=email multiple name=cc list=contacts&gt;&lt;/label&gt;
+...
+&lt;datalist id="contacts"&gt;
+ &lt;option value="hedral@damowmow.com"&gt;
+ &lt;option value="pillar@example.com"&gt;
+ &lt;option value="astrophy@cute.example"&gt;
+ &lt;option value="astronomy@science.example.org"&gt;
+&lt;/datalist&gt;</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