Re: [selectors api] test suite red values

On Sat, 18 Jul 2009, Kartikaya Gupta wrote:
> 
> I was wondering if the test suite for selectors-api to could be modified 
> to include "#FF0000" (uppercase) as a valid red value in addition to 
> "(255, 0, 0)", "#ff0000", and "red". This doesn't seem to be specced 
> anywhere, and our implementation retuns uppercase for hex colors, so 
> some of the tests are failing even though we support the functionality.

In fact according to this, uppercase is the only correct serialisation:

   http://dev.w3.org/csswg/cssom/#css-value

(We really should find someone to maintain that draft and publish it.)

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

Received on Sunday, 19 July 2009 08:06:12 UTC