[whatwg] HTML5 Input (Color)

Ian Hickson ian at hixie.ch
Tue Aug 24 15:38:15 PDT 2010


On Wed, 28 Jul 2010, Leo Dutra ~Y wrote:
>
> I were asking myself about HTML5 input with type "color". I'm a 
> brazillian developer and I see a huge problem with the new input type. 
> The problem is that RGB color names are expected to be written in 
> English. This is not a good, or even, usability. I'd like input 
> type="color" to work for any language without "porting acrobatics". So I 
> have a new idea.

I think you may misunderstand the <input type=color> widget. It's supposed 
to be a colour picker, with no text at all.


On Thu, 29 Jul 2010, Leonardo Dutra wrote:
> 
> "The input element represents a color well control, for setting the 
> element's value to a string representing a simple color." - HTML5 Draft 
> What does "String" means?

"string" means "sequence of characters" (in this case); however, that is 
what is sent to the server, not what the user enters.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list