- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 18 Feb 2008 15:22:33 -0600
- 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".
-Boris
Received on Monday, 18 February 2008 21:22:55 UTC