Re: [css3] "Selectors that People Actually Use"

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".

-Boris

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