[html5] r4503 - [e] (0) examples for multiple='' and list='' together. Fixing http://www.w3.org/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 5 21:25:28 PST 2010


Author: ianh
Date: 2010-01-05 21:25:24 -0800 (Tue, 05 Jan 2010)
New Revision: 4503

Modified:
   complete.html
   index
   source
Log:
[e] (0) examples for multiple='' and list='' together.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8446

Modified: complete.html
===================================================================
--- complete.html	2010-01-06 04:57:49 UTC (rev 4502)
+++ complete.html	2010-01-06 05:25:24 UTC (rev 4503)
@@ -35890,6 +35890,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 at example.net") and "Adam Josh" (with address
+   "adamjosh at 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 at example.net       Arthur Dent |
+| adamjosh at 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 at damowmow.com">
+ <option value="pillar at example.com">
+ <option value="astrophy at cute.example">
+ <option value="astronomy at science.example.org">
+</datalist></pre>
+
+   <p>Suppose the user had entered "bob at 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 at example.net, a            | v ]
+| adamjosh at example.net    Adam Josh |
+| art at example.net       Arthur Dent |
+| astronomy at science.example.org     |
+| astrophy at cute.example             |
++-----------------------------------+</pre>
+-->
+
   </div>
 
   <div class=example>

Modified: index
===================================================================
--- index	2010-01-06 04:57:49 UTC (rev 4502)
+++ index	2010-01-06 05:25:24 UTC (rev 4503)
@@ -35725,6 +35725,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 at example.net") and "Adam Josh" (with address
+   "adamjosh at 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 at example.net       Arthur Dent |
+| adamjosh at 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 at damowmow.com">
+ <option value="pillar at example.com">
+ <option value="astrophy at cute.example">
+ <option value="astronomy at science.example.org">
+</datalist></pre>
+
+   <p>Suppose the user had entered "bob at 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 at example.net, a            | v ]
+| adamjosh at example.net    Adam Josh |
+| art at example.net       Arthur Dent |
+| astronomy at science.example.org     |
+| astrophy at cute.example             |
++-----------------------------------+</pre>
+-->
+
   </div>
 
   <div class=example>

Modified: source
===================================================================
--- source	2010-01-06 04:57:49 UTC (rev 4502)
+++ source	2010-01-06 05:25:24 UTC (rev 4503)
@@ -39689,6 +39689,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 at example.net") and "Adam Josh" (with address
+   "adamjosh at 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 at example.net       Arthur Dent |
+| adamjosh at 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 at damowmow.com">
+ <option value="pillar at example.com">
+ <option value="astrophy at cute.example">
+ <option value="astronomy at science.example.org">
+</datalist></pre>
+
+   <p>Suppose the user had entered "bob at 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>datalist</code> element.</p>
+
+<!--
+   <pre>[ bob at example.net, a            | v ]
+| adamjosh at example.net    Adam Josh |
+| art at example.net       Arthur Dent |
+| astronomy at science.example.org     |
+| astrophy at cute.example             |
++-----------------------------------+</pre>
+-->
+
   </div>
 
   <div class="example">




More information about the Commit-Watchers mailing list