W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

[whatwg] Allow empty string for input type=color

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 03 May 2012 06:46:52 -0700
Message-ID: <op.wdqi8eri64w2qv@annevk-macbookpro.local>
On Thu, 03 May 2012 02:10:11 -0700, Markus Ernst <derernst at gmx.ch> wrote:
> If I understand the spec correctly, entering no value defaults to  
> #000000, thus the required attribute does not apply. What are the  
> reasons for this? I am sure there were good reasons to specify it this  
> way, anyway I don't see them right now. "Not selected" is actually very  
> different from "black".

"Not selected" is not something typically supported by native color  
pickers.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 3 May 2012 06:46:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT