HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3815list='' example2009-09-13 06:20
@@ -38645,20 +38645,36 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
   constraints</span>.</p>
 
   <hr>
 
   <p>If the <code title="attr-input-list">list</code> attribute does
   not apply, there is no <span title="concept-input-list">suggestions
   source element</span>.</p>
 
   </div>
 
+  <div class="example">
+
+   <p>This URL field offers some suggestions.</p>
+
+   <pre>&lt;label>Homepage: &lt;input name=hp type=url list=hpurls>&lt;/label>
+&lt;datalist id=hpurls>
+ &lt;option value="http://www.google.com/" label="Google">
+ &lt;option value="http://www.reddit.com/" label="Reddit">
+&lt;/datalist></pre>
+
+   <p>Other URLs from the user's history might show also; this is up
+   to the user agent.</p>
+
+  </div>
+
+
 
   <h6>The <code title="attr-input-readonly">readonly</code> attribute</h6>
 
   <p>The <dfn title="attr-input-readonly"><code>readonly</code></dfn>
   attribute is a <span>boolean attribute</span> that controls whether
   or not the use can edit the form control. <span class="impl">When
   specified, the element is <i
   title="concept-input-immutable">immutable</i>.</span></p>
 
   <div class="impl">

|