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: Mon, 18 Feb 2008 15:22:33 -0600
Message-ID: <47B9F719.2070604@mit.edu>
To: Alan Gresley <alan1@azzurum.com>
CC: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org

Alan Gresley wrote:
> p[class*=""] {}

I should note that the spec doesn't really describe how this should be 
matched.  The only two options I see are "never matches" (which is what 
Gecko does) and "same as p[class]".

The latter should probably be clearly specified.

Given that, though, there's not much point to this selector....

> of course they could be grouped as
> p[class*=""], p:not([class*=""]) {}

That's equivalent to the selector "p".

Received on Monday, 18 February 2008 21:22:55 UTC

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