Re: [whatwg] Please reconsider: Set restricted palette for input type=color

2011-03-08 Thread Markus Ernst
Am 07.03.2011 18:27 schrieb Markus Ernst: Reading 4.10.7.1.15 on the Color state of the input element, I miss a possibility how to define a set of allowed colors. For other states of the input element there are such possibilities, such as setting min, max and step attributes for input type=date.

Re: [whatwg] Please reconsider: Set restricted palette for input type=color

2011-03-08 Thread Jukka K. Korpela
Markus Ernst wrote: Searching for implementations of input type=color, I found that Opera actually implemented the color picker quite similar to my suggestion. It's a rather nice implementation, and your comments made me test it a bit more, and it indeed makes use of a datalist element if

Re: [whatwg] Please reconsider: Set restricted palette for input type=color

2011-03-08 Thread Anne van Kesteren
On Tue, 08 Mar 2011 12:26:56 +0100, Jukka K. Korpela jkorp...@cs.tut.fi wrote: For example, consider a date picker. Quite often, whether trying to make dates or selling flights, there is a known set of (non-consecutive) days that are possible, so we would like to write, say, input

[whatwg] Please reconsider: Set restricted palette for input type=color

2011-03-07 Thread Markus Ernst
Reading 4.10.7.1.15 on the Color state of the input element, I miss a possibility how to define a set of allowed colors. For other states of the input element there are such possibilities, such as setting min, max and step attributes for input type=date. As UAs are encouraged to provide a