W3C home > Mailing lists > Public > www-style@w3.org > May 2001

Re: Location of pseudoelements (was: Re: first-word pseudo-element)

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 19 May 2001 05:17:43 -0700 (Pacific Daylight Time)
To: Jonas Sicking <sicking@bigfoot.com>
cc: <www-style@w3.org>
Message-ID: <Pine.WNT.4.31.0105190516180.760-100000@HIXIE.netscape.com>
On Sat, 19 May 2001, Jonas Sicking wrote:
>
> fantasai wrote:
>
> [snip]
>
> > Bjoern Hoehrmann wrote:
> > > What does
> > >
> > >   elem:not(elem::first-line)::first-line { }
> > >
> > > select?

It's illegal. :not() is only allowed to take one simple selector, and
never pseudo-elements.


> div::first-line em { ... }
> elem:not{::first-line}
>
> Are they allowed?

Nope, because pseudo-elements (since CSS1) are only allowed at the end of
the selector chain.

-- 
Ian Hickson                                            )\     _. - ._.)   fL
Invited Expert, CSS Working Group                     /. `- '  (  `--'
The views expressed in this message are strictly      `- , ) -  > ) \
personal and not those of Netscape or Mozilla. ________ (.' \) (.' -' ______
Received on Saturday, 19 May 2001 08:14:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:09 GMT