[html5] r8792 - [giow] (0) Suggest that browsers filter the list='' suggestions if there's more [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Sep 19 11:35:18 PDT 2014
Author: ianh
Date: 2014-09-19 11:35:14 -0700 (Fri, 19 Sep 2014)
New Revision: 8792
Modified:
complete.html
index
source
Log:
[giow] (0) Suggest that browsers filter the list='' suggestions if there's more than 4 to 7.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=9785
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2014-09-19 17:52:16 UTC (rev 8791)
+++ complete.html 2014-09-19 18:35:14 UTC (rev 8792)
@@ -36955,6 +36955,10 @@
the <a href=#concept-input-list id=the-list-attribute:concept-input-list-3>suggestions source element</a> 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 id=the-list-attribute:concept-option-label>label</a> to identify the suggestion if appropriate.</p>
+ <p>User agents are encouraged to filter the suggestions represented by the <a href=#concept-input-list id=the-list-attribute:concept-input-list-4>suggestions source element</a> when the number of suggestions is
+ large, including only the most relevant ones (e.g. based on the user's input so far). No precise
+ threshold is defined, but capping the list at four to seven values is reasonable.</p>
+
<p>How user selections of suggestions are handled depends on whether the element is a control
accepting a single value only, or whether it accepts multiple values:</p>
@@ -36985,7 +36989,7 @@
<hr>
<p>If the <code id=the-list-attribute:attr-input-list-4><a href=#attr-input-list>list</a></code> attribute <a href=#do-not-apply id=the-list-attribute:do-not-apply-2>does not
- apply</a>, there is no <a href=#concept-input-list id=the-list-attribute:concept-input-list-4>suggestions source element</a>.</p>
+ apply</a>, there is no <a href=#concept-input-list id=the-list-attribute:concept-input-list-5>suggestions source element</a>.</p>
Modified: index
===================================================================
--- index 2014-09-19 17:52:16 UTC (rev 8791)
+++ index 2014-09-19 18:35:14 UTC (rev 8792)
@@ -36955,6 +36955,10 @@
the <a href=#concept-input-list id=the-list-attribute:concept-input-list-3>suggestions source element</a> 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 id=the-list-attribute:concept-option-label>label</a> to identify the suggestion if appropriate.</p>
+ <p>User agents are encouraged to filter the suggestions represented by the <a href=#concept-input-list id=the-list-attribute:concept-input-list-4>suggestions source element</a> when the number of suggestions is
+ large, including only the most relevant ones (e.g. based on the user's input so far). No precise
+ threshold is defined, but capping the list at four to seven values is reasonable.</p>
+
<p>How user selections of suggestions are handled depends on whether the element is a control
accepting a single value only, or whether it accepts multiple values:</p>
@@ -36985,7 +36989,7 @@
<hr>
<p>If the <code id=the-list-attribute:attr-input-list-4><a href=#attr-input-list>list</a></code> attribute <a href=#do-not-apply id=the-list-attribute:do-not-apply-2>does not
- apply</a>, there is no <a href=#concept-input-list id=the-list-attribute:concept-input-list-4>suggestions source element</a>.</p>
+ apply</a>, there is no <a href=#concept-input-list id=the-list-attribute:concept-input-list-5>suggestions source element</a>.</p>
Modified: source
===================================================================
--- source 2014-09-19 17:52:16 UTC (rev 8791)
+++ source 2014-09-19 18:35:14 UTC (rev 8792)
@@ -47343,6 +47343,11 @@
suitable for the type of control used. The user agent may use the suggestion's <span
data-x="concept-option-label">label</span> to identify the suggestion if appropriate.</p>
+ <p>User agents are encouraged to filter the suggestions represented by the <span
+ data-x="concept-input-list">suggestions source element</span> when the number of suggestions is
+ large, including only the most relevant ones (e.g. based on the user's input so far). No precise
+ threshold is defined, but capping the list at four to seven values is reasonable.</p>
+
<p>How user selections of suggestions are handled depends on whether the element is a control
accepting a single value only, or whether it accepts multiple values:</p>
More information about the Commit-Watchers
mailing list