[Bug 11559] New: User agent should not be required to filter suggestions from datalist

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11559

           Summary: User agent should not be required to filter
                    suggestions from datalist
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, jonas@sicking.cc


Currently, the specs say:
"User agents must filter the suggestions to hide suggestions that the user
would not be allowed to enter as the input element's value, and should filter
the suggestions to hide suggestions that would cause the element to not satisfy
its constraints."

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 <input type='number'> and <input type='range'>,
we agree that "foo" wouldn't be a good suggestion here.

So, I think we should make the quoted sentence weaker and remove the "must" to
at least a "should" and even add that, "Depending on the widget, user agents
should filter [...]".

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 16 December 2010 04:00:06 UTC