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

Pseudo-Classes and Pseudo-Elements

From: Michael Seaton <mseaton@pobox.com> <mseaton@pobox.com>
Date: Thu, 31 Oct 1996 09:02:04 -0500 (EST)
To: www-style@w3.org
Message-ID: <Pine.OSF.3.95.961031063212.3282B-100000@noc.tor.hookup.net>
I recall that the original rationale for using the same syntax for 
both pseudo-classes and elements was that parent-based targeting
wasn't planned for the first release of CSS.  Seeing as this form of
targeting *has* now been incorporated into the language, wouldn't 
it be a better basis for the pseudo-element syntax?  

e.g. 

P $first-line { color: black }

BLOCKQUOTE $first-letter { font-size: 150% }

UL $bullet { color: green }

--
Michael Seaton (mseaton@inforamp.net)
Received on Thursday, 31 October 1996 09:02:01 GMT

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