W3C home > Mailing lists > Public > www-style@w3.org > February 2008

Re: [css3] “Selectors that People Actually Use”

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 19 Feb 2008 03:47:26 -0600
Message-ID: <47BAA5AE.8050400@mit.edu>
To: Jens Meiert <jens.meiert@erde3.com>
CC: www-style@w3.org

Jens Meiert wrote:
> * E:empty – Chances are indeed that authors will use element selectors
> instead

How do element selectors solve the problem? Note that this selector _is_ being 
used (given the speed with which we get bugs filed if we break something about 
it, the use is not that rare).

Gecko uses it internally for form control styling, for menu styling, and in the 
HTML editor.  All of those are use cases sites might care about.

> * E:lang(fr) – Probably the most questionable selector since apparently
> replaceable by attribute selectors.

Assuredly not, as you can tell for yourself by reading 

> * E:nth-of-type(n), E:nth-last-child(n), E:nth-last-of-type(n)

I happen to pretty much agree on these, to be honest.  ;)

Received on Tuesday, 19 February 2008 09:47:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC