[whatwg] Adding alpha channel to <input type=color>
Ian Hickson
ian at hixie.ch
Tue Sep 1 16:12:18 PDT 2009
On Wed, 26 Aug 2009, Victor Vasiliev wrote:
>
> Section 4.10.4.1.15 says that color must be in sRGB. However, it may be
> handful for some applications to have alpha channel specified, since
> many GUI libraries (GTK has it; I'm also told Mac OS supports it as
> well) support color picker with opacity control.
>
> I suggest to add a boolean attribute "alpha" to <input type=color>
> (disabled by default). If this attribute is present, the color well
> allows to set opacity value, and instead of sRGB, sends RGBA.
This seems like a reasonable thing to add in a future version. I haven't
added it to HTML5, since we're so close to last call, but if our
experience with type=color when the UAs widely support it suggests this is
important, we can prioritise this as a new feature in the next version.
--
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