Re: [whatwg] input element list attribute and filtering suggestions

2012-01-20 Thread Scott González
On Fri, Jan 20, 2012 at 6:41 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 1 Aug 2011, Aryeh Gregor wrote: On Fri, Jul 29, 2011 at 7:24 PM, Ian Hickson i...@hixie.ch wrote: My overarching point, however, is that this is a UI issue, and not an authoring issue. The overarching

Re: [whatwg] input element list attribute and filtering suggestions

2011-08-01 Thread Aryeh Gregor
On Fri, Jul 29, 2011 at 7:24 PM, Ian Hickson i...@hixie.ch wrote: My overarching point, however, is that this is a UI issue, and not an authoring issue. The overarching counterpoint is that in-page UI *is* an authoring issue, because authors want to control exactly how their page looks and

Re: [whatwg] input element list attribute and filtering suggestions

2011-08-01 Thread Bjartur Thorlacius
Þann mán 1.ágú 2011 15:28, skrifaði Aryeh Gregor: On Fri, Jul 29, 2011 at 7:24 PM, Ian Hicksoni...@hixie.ch wrote: The overarching counterpoint is that in-page UI *is* an authoring issue, because authors want to control exactly how their page looks and behaves. Browser/chrome UI issues

Re: [whatwg] input element list attribute and filtering suggestions

2011-08-01 Thread Bjartur Thorlacius
Þann mán 1.ágú 2011 15:28, skrifaði Aryeh Gregor: On Fri, Jul 29, 2011 at 7:24 PM, Ian Hicksoni...@hixie.ch wrote: The overarching counterpoint is that in-page UI *is* an authoring issue, because authors want to control exactly how their page looks and behaves. Browser/chrome UI issues

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Thu, Jul 28, 2011 at 5:54 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 3 May 2011, Jonas Sicking wrote: It seems to me that a simple boolean attribute and a few lines of script solves 80% of the use cases. What boolean attribute would that be? The mozNoFilter attribute we added in

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Fri, Jul 29, 2011 at 9:29 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Mon, 9 May 2011, Mounir Lamouri wrote: Basically, when you want to use the datalist to suggest a few things you might not want to filter and when the list is long, you very

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Ian Hickson
On Fri, 29 Jul 2011, Jonas Sicking wrote: The problem is the other way around. When wanting to show a short list that should be filtered based on user input. Why would it matter if the list is filtered or not when it's short? -- Ian Hickson U+1047E

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Fri, Jul 29, 2011 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: The problem is the other way around. When wanting to show a short list that should be filtered based on user input. Why would it matter if the list is filtered or not when it's short?

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Ian Hickson
On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: The problem is the other way around. When wanting to show a short list that should be filtered based on user input. Why would it

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Fri, Jul 29, 2011 at 3:42 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: The problem is the other way around. When wanting to show a short list

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Ian Hickson
On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:42 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: The problem is the other

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Fri, Jul 29, 2011 at 4:24 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:42 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri,

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Ian Hickson
On Fri, 29 Jul 2011, Jonas Sicking wrote: I have no idea how the UA would be smart enough to figure out if filtering makes sense or not based on the set of suggestions. You could do something like: - if there are 7 or fewer suggestions, show them all. - if filtering reduces the list to 1

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-29 Thread Jonas Sicking
On Fri, Jul 29, 2011 at 8:32 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: I have no idea how the UA would be smart enough to figure out if filtering makes sense or not based on the set of suggestions. You could do something like:  - if there are 7 or fewer

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Jonas Sicking wrote: On Mon, May 2, 2011 at 3:32 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 31 Dec 2010, Jonas Sicking wrote: The thing that makes this different than Google suggest-style UI is that in the latter case you need a script that continually polls

Re: [whatwg] input element list attribute and filtering suggestions

2011-05-09 Thread Mounir Lamouri
On 05/05/2011 01:02 AM, Aryeh Gregor wrote: On Tue, May 3, 2011 at 8:04 PM, Jonas Sickingjo...@sicking.cc wrote: The mozNoFilter attribute we added in Firefox 4. I don't see any use-case where you wouldn't want to use mozNoFilter. Why doesn't it just work that way always? Basically, when

Re: [whatwg] input element list attribute and filtering suggestions

2011-05-04 Thread Aryeh Gregor
On Tue, May 3, 2011 at 8:04 PM, Jonas Sicking jo...@sicking.cc wrote: You probably suggested this elsewhere on this list, but this sounds like a *really* interesting idea to me. I'd love to add experimental support for setting a property on the input element directly, which takes a JS object

Re: [whatwg] input element list attribute and filtering suggestions

2011-05-03 Thread Aryeh Gregor
On Mon, May 2, 2011 at 6:32 PM, Ian Hickson i...@hixie.ch wrote: I just meant that it would be a poor authoring experience. I agree that it should in theory be possible with the current API; it just seems that if that's the use case we want to address, we should instead just have people point

Re: [whatwg] input element list attribute and filtering suggestions

2011-05-03 Thread Jonas Sicking
On Tue, May 3, 2011 at 7:16 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Mon, May 2, 2011 at 6:32 PM, Ian Hickson i...@hixie.ch wrote: I just meant that it would be a poor authoring experience. I agree that it should in theory be possible with the current API; it just seems that if

Re: [whatwg] input element list attribute and filtering suggestions

2011-05-02 Thread Ian Hickson
On Fri, 31 Dec 2010, Jonas Sicking wrote: The thing that makes this different than Google suggest-style UI is that in the latter case you need a script that continually polls for more appropriate suggestions and updates the list -- for this kind of thing we'd probably want to use a

Re: [whatwg] input element list attribute and filtering suggestions

2011-01-01 Thread Aryeh Gregor
On Fri, Dec 31, 2010 at 3:46 PM, Jonas Sicking jo...@sicking.cc wrote: I like the idea of bolding the matching parts of the suggestions which match the typed string. Or at least creating a pseudo-element which selected the matching substrings such that you could get the behavior you want

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-31 Thread Jonas Sicking
On Thu, Dec 30, 2010 at 4:36 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 23 Sep 2010, Mounir Lamouri wrote: The list attribute on input elements let the author specify a list of pre-defined suggestions via the datalist element (each option of the datalist is a suggestion). It looks like the

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-31 Thread Anne van Kesteren
On Fri, 31 Dec 2010 01:36:44 +0100, Ian Hickson i...@hixie.ch wrote: The thing that makes this different than Google suggest-style UI is that in the latter case you need a script that continually polls for more appropriate suggestions and updates the list -- for this kind of thing we'd

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-31 Thread Jonas Sicking
On Fri, Dec 31, 2010 at 5:50 AM, Anne van Kesteren ann...@opera.com wrote: On Fri, 31 Dec 2010 01:36:44 +0100, Ian Hickson i...@hixie.ch wrote: The thing that makes this different than Google suggest-style UI is that in the latter case you need a script that continually polls for more

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-31 Thread Aryeh Gregor
On Fri, Dec 31, 2010 at 12:07 PM, Jonas Sicking jo...@sicking.cc wrote: Indeed. But google is fairly alone in this design. I've seen plenty of other websites with dynamically populated autocomplete lists which doesn't put buttons in the list itself. For example the email autocomplete in

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-31 Thread Jonas Sicking
On Fri, Dec 31, 2010 at 11:33 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Fri, Dec 31, 2010 at 12:07 PM, Jonas Sicking jo...@sicking.cc wrote: Indeed. But google is fairly alone in this design. I've seen plenty of other websites with dynamically populated autocomplete lists which

Re: [whatwg] input element list attribute and filtering suggestions

2010-12-30 Thread Ian Hickson
On Thu, 23 Sep 2010, Mounir Lamouri wrote: The list attribute on input elements let the author specify a list of pre-defined suggestions via the datalist element (each option of the datalist is a suggestion). It looks like the idea is to have all the suggestions showing like a combobox

[whatwg] input element list attribute and filtering suggestions

2010-09-23 Thread Mounir Lamouri
Hi, The list attribute [1] on input elements let the author specify a list of pre-defined suggestions via the datalist element (each option of the datalist is a suggestion). It looks like the idea is to have all the suggestions showing like a combobox which is more or less confirmed by Hixie [2].