spec/Overview.html 1.1469 2296 WF2: <input list=''> (whatwg r2296)

WF2: <input list=''> (whatwg r2296)

HTMLOptionElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#htmloptionelement
suggestions source element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#concept-input-list
selectedness
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#concept-option-selectedness
Option(name)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#dom-option-n
Option(name, value)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#dom-option-nv
Option()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#dom-option
off
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#attr-input-autocomplete-off-state
4.10.4.2.2 The list attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#the-list-attribute
4.10.4.2.3 The readonly attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1469.html#the-readonly-attribute

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1468&r2=1.1469&f=h
http://html5.org/tools/web-apps-tracker?from=2295&to=2296

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1468
retrieving revision 1.1469
diff -u -d -r1.1468 -r1.1469
--- Overview.html 7 Oct 2008 22:24:55 -0000 1.1468
+++ Overview.html 7 Oct 2008 22:52:42 -0000 1.1469
@@ -20742,8 +20742,33 @@
   should be enabled by default, and the ability to disable support
   should not be trivially accessible, as there are significant
   security implications for the user if support for this attribute is
-  disabled.<h6 id=the-list-attribute><span class=secno>4.10.4.2.2 </span>The <code title=attr-input-list><a href=#attr-input-list>list</a></code> attribute</h6><p class=XXX>... <dfn id=attr-input-list title=attr-input-list><code>list</code></dfn><p class=XXX>... <dfn id=concept-input-list title=concept-input-list>suggestions
-  source element</dfn><h6 id=the-readonly-attribute><span class=secno>4.10.4.2.3 </span>The <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute</h6><p>The <dfn id=attr-input-readonly title=attr-input-readonly><code>readonly</code></dfn>
+  disabled.<h6 id=the-list-attribute><span class=secno>4.10.4.2.2 </span>The <code title=attr-input-list><a href=#attr-input-list>list</a></code> attribute</h6><p>The <dfn id=attr-input-list title=attr-input-list><code>list</code></dfn>
+  attribute is used to identify an element that lists predefined
+  options suggested to the user.<p>The <dfn id=concept-input-list title=concept-input-list>suggestions source
+  element</dfn> is the first element in the document in <a href=#tree-order>tree
+  order</a> to have an ID equal to the value of the <code title=attr-input-list><a href=#attr-input-list>list</a></code> attribute, if that element is
+  either a <code><a href=#the-select-element>select</a></code> or <code><a href=#the-datalist-element>datalist</a></code> element. If
+  there is no <code title=attr-input-list><a href=#attr-input-list>list</a></code> attribute, or
+  if there is no element with that ID, or if the first element with
+  that ID is not either a <code><a href=#the-select-element>select</a></code> or <code><a href=#the-datalist-element>datalist</a></code>
+  element, then there is no <a href=#concept-input-list title=concept-input-list>suggestions source element</a>.<p>If there is a <a href=#concept-input-list title=concept-input-list>suggestions source
+  element</a>, then each <code><a href=#the-option-element>option</a></code> element that is a
+  descendant of the <a href=#concept-input-list title=concept-input-list>suggestions
+  source element</a>, that is not <a href=#concept-option-disabled title=concept-option-disabled>disabled</a>, and whose <a href=#concept-option-value title=concept-option-value>value</a> is a string that isn't the
+  empty string and that the user would be allowed to enter as the
+  <code><a href=#the-input-element>input</a></code> element's <a href=#concept-fe-value title=concept-fe-value>value</a>, represents a suggestion. Each
+  suggestion has a <a href=#concept-option-value title=concept-option-value>value</a> and
+  a <a href=#concept-option-label title=concept-option-label>label</a>.<p>When the user agent is allowing the user to edit the
+  <code><a href=#the-input-element>input</a></code> element's <a href=#concept-fe-value title=concept-fe-value>value</a>, the user agent should offer
+  the suggestions to the user in a manner suitable for the type of
+  control used. The user agent may use the suggestion's <a href=#concept-option-label title=concept-option-label>label</a> to identify the suggestion
+  if appropriate. If the user selects a suggestion, then the
+  <code><a href=#the-input-element>input</a></code> element's <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to the selected
+  suggestion's <a href=#concept-option-value title=concept-option-value>value</a>, as if
+  the user had written that value himself.<p>User agents should filter the suggestions to hide suggestions
+  that would cause the element to not <a href=#concept-fv-valid title=concept-fv-valid>satisfy its constraints</a>.</p><hr><p>If the <code title=attr-input-list><a href=#attr-input-list>list</a></code> attribute does
+  not apply, there is no <a href=#concept-input-list title=concept-input-list>suggestions
+  source element</a>.<h6 id=the-readonly-attribute><span class=secno>4.10.4.2.3 </span>The <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute</h6><p>The <dfn id=attr-input-readonly title=attr-input-readonly><code>readonly</code></dfn>
   attribute is a <a href=#boolean-attribute>boolean attribute</a>. When specified, the
   element is <i title=concept-input-immutable><a href=#concept-input-immutable>immutable</a></i>.<p><strong>Constraint validation:</strong> If the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute is specified
   on an <code><a href=#the-input-element>input</a></code> element, the element is <a href=#barred-from-constraint-validation>barred from
@@ -21343,7 +21368,7 @@
   readonly attribute long <span title=dom-option-index>index</span>;
 };</pre>
    </dd> 
-  </dl><p class=XXX>...<p class=XXX>... <dfn id=concept-option-selectedness title=concept-option-selectedness>selectedness</dfn><p class=XXX>... <dfn id=concept-option-value title=concept-option-value>value</dfn><p class=XXX>... <dfn id=concept-option-disabled title=concept-option-disabled>disabled</dfn><p class=XXX>... <dfn id=concept-option-index title=concept-option-index>index</dfn><p class=XXX>
+  </dl><p class=XXX>...<p class=XXX>... <dfn id=concept-option-selectedness title=concept-option-selectedness>selectedness</dfn><p class=XXX>... <dfn id=concept-option-value title=concept-option-value>value</dfn><p class=XXX>... <dfn id=concept-option-label title=concept-option-label>label</dfn><p class=XXX>... <dfn id=concept-option-disabled title=concept-option-disabled>disabled</dfn><p class=XXX>... <dfn id=concept-option-index title=concept-option-index>index</dfn><p class=XXX>
    <dfn id=dom-option title=dom-option><code>Option()</code></dfn>
    <dfn id=dom-option-n title=dom-option-n><code>Option(<var title="">name</var>)</code></dfn>
    <dfn id=dom-option-nv title=dom-option-nv><code>Option(<var title="">name</var>, <var title="">value</var>)</code></dfn>

Received on Tuesday, 7 October 2008 22:56:33 UTC