W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [selectors api] test suite red values

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 20 Jul 2009 21:24:29 +0000 (UTC)
To: Kartikaya Gupta <lists.webapps@stakface.com>
Cc: public-webapps@w3.org, jeresig@gmail.com
Message-ID: <Pine.LNX.4.62.0907202123350.12284@hixie.dreamhostps.com>
On Mon, 20 Jul 2009, Kartikaya Gupta wrote:
> On Sun, 19 Jul 2009 08:05:32 +0000 (UTC), Ian Hickson <ian@hixie.ch> wrote:
> > 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.)
> 
> Hmm, I missed that, thanks. I would still like to see the test suite 
> updated, though; this draft hasn't been touched in a really long time, 
> and I don't think the selectors-api test suite should rely on it 
> excessively in its current state.

Something clearly needs to change; either the selectors API test suite 
along with some of the implementations, or the CSSOM spec along with some 
of the implementations, or both.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 20 July 2009 21:25:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:32 GMT