Skip to content
Permalink
Browse files

[giow] (0) Suggest that browsers filter the list='' suggestions if th…

…ere's more than 4 to 7.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=9785
Affected topics: HTML

git-svn-id: https://svn.whatwg.org/webapps@8792 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 19, 2014
1 parent 1b6c046 commit 6848c6ad458bc2e06bf7a5f5d101017f72c78768
Showing with 15 additions and 2 deletions.
  1. +5 −1 complete.html
  2. +5 −1 index
  3. +5 −0 source
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>

<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>



6 index
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>

<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>



5 source
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>

0 comments on commit 6848c6a

Please sign in to comment.