<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11559</bug_id>
          
          <creation_ts>2010-12-16 04:00:03 +0000</creation_ts>
          <short_desc>User agent should not be required to filter suggestions from datalist</short_desc>
          <delta_ts>2011-08-04 05:11:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mounir Lamouri">mounir</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43421</commentid>
    <comment_count>0</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2010-12-16 04:00:03 +0000</bug_when>
    <thetext>Currently, the specs say:
&quot;User agents must filter the suggestions to hide suggestions that the user would not be allowed to enter as the input element&apos;s value, and should filter the suggestions to hide suggestions that would cause the element to not satisfy its constraints.&quot;

Which can be summarized to:
1. filter not allowed value
2. filter invalid values

I do believe that we should not make the filtering mandatory. For example, in the case of a textfield, filtering the values sound useless given that not allowed value will be sanitized and invalid value will just have to be corrected.
However, I agree that, for some widgets, invalid and not allowed values should be filtered. For example, for &lt;input type=&apos;number&apos;&gt; and &lt;input type=&apos;range&apos;&gt;, we agree that &quot;foo&quot; wouldn&apos;t be a good suggestion here.

So, I think we should make the quoted sentence weaker and remove the &quot;must&quot; to at least a &quot;should&quot; and even add that, &quot;Depending on the widget, user agents should filter [...]&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43654</commentid>
    <comment_count>1</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2010-12-29 22:57:10 +0000</bug_when>
    <thetext>Obviously, it has been fixed in r5725.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53250</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:11:57 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>