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

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

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Thu, 12 Mar 2009 12:17:48 -0700
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20090312121748.4f04fa1e@mrtock>
Daniel Glazman <daniel.glazman@disruptive-innovations.com> wrote:
> Andrey Mikhalev wrote:
> > 
> > in 6.6.7:
> > "The negation pseudo-class, :not(X), is a functional notation
> > taking a simple selector (excluding the negation pseudo-class
> > itself and pseudo-elements) as an argument."
> > 
> > so, :not(:pseudo-element) - allowed by formal grammar -
> > is invalid selector or "useless" selector, as foo:not(bar) ?
> 
> Excerpt from section 6.6.7:
> 
>    The negation pseudo-class, :not(X), is a functional notation
> taking a simple selector (excluding the negation pseudo-class itself
> and pseudo-elements) as an argument.

Andrey quoted exactly the same text in his original message.  I assume
you mean to imply that the answer to his question *should be* obvious
from that text, but since he quoted it before asking the question, it
is not obvious to him, so your answer is not helpful.

zw
Received on Thursday, 12 March 2009 19:18:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:17 GMT