- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 12 Mar 2009 12:53:13 -0500
- To: Andrey Mikhalev <amikhal@abisoft.spb.ru>
- Cc: www-style@w3.org
On Thu, Mar 12, 2009 at 12:40 PM, Andrey Mikhalev <amikhal@abisoft.spb.ru> 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) ? In general, the formal grammar is much more permissive than the actual grammar. Yes, :not(::pseudo-element) is an invalid selector. ~TJ
Received on Thursday, 12 March 2009 17:53:49 UTC