W3C home > Mailing lists > Public > www-style@w3.org > October 2009

Re: [css3-selectors] minor question about :not()

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 19 Oct 2009 17:29:24 -0700
Message-ID: <4ADD0464.3060705@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: "www-style@w3.org" <www-style@w3.org>
L. David Baron wrote:
> On Tuesday 2009-03-17 16:48 -0700, Zack Weinberg wrote:
>> There IS a conflict with implementations.  Both Gecko and Opera accept
>> "::first-letter" by itself as a valid selector.
> 
> I think this conflict (which is a bug in the spec in both selectors
> level 3 and in CSS 2.1, since it is an unintentional break in
> compatibility with CSS level 1) could be fixed without changing any
> terminology by changing:
>   # If the universal selector is not the only component of a
>   # sequence of simple selectors, the * may be omitted.
> in http://dev.w3.org/csswg/selectors3/#universal-selector to
> something like:
>   # If the universal selector is not the only component of a
>   # sequence of simple selectors or is followed by a pseudo-element,
>   # the * may be omitted.
> although I don't think that wording "followed by a pseudo-element"
> is quite precise enough.  We'd need an analogous change to
> http://www.w3.org/TR/CSS21/selector.html#universal-selector to fix
> CSS 2.1.

I've inserted "or is immediately followed by a pseudo-element".
Please let me know if this is sufficient.

~fantasai
Received on Tuesday, 20 October 2009 00:30:00 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC