- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Thu, 22 Apr 2010 12:02:56 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Estelle Weyl <estelle@weyl.org>, Anne van Kesteren <annevk@opera.com>, Boris Zbarsky <bzbarsky@mit.edu>, Ojan Vafai <ojan@chromium.org>, "www-style@w3.org" <www-style@w3.org>
On Apr 22, 2010, at 11:30 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: > This brings up an interesting point. Are we sure that (1) colors are > the only things that will be using single-letter accessors and (2) > that no color types we define will ever have overlapping accessor > names? hsl has an overlapping "l" name with the proposed list > accessor, and cmyk() (introduced in GCPM, iirc) has an overlapping "m" > name with the proposed map accessor. So far none of the colors > overlap with eachother, if you consider rgb() and hsl() just shortcuts > for rgba() and hsla(). I'm not a fan of using single letters to access anything. I prefer ".list" to ".l", and ".red" to ".r". It just makes it so much more clear. I guess this could be a problem with something like .length though.
Received on Thursday, 22 April 2010 19:03:42 UTC