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

Re: CSS3-selectors: Pseudo Elements only once or multiple times per selector?

From: Michael Day <mikeday@yeslogic.com>
Date: Tue, 23 Oct 2007 10:15:45 +1000
Message-ID: <471D3D31.20608@yeslogic.com>
To: www-style@w3.org

> "Pseudo-elements may only appear once in the sequence of simple 
> selectors that represents the subjects of the selector."

Just for the record, we have recently extended Prince to allow more than 
one pseudo-element in selectors in certain situations, such as styling 
the marker on generated list items:

div::before { display: list-item }
div::before::marker { content: "*" }

Cheers,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
Received on Tuesday, 23 October 2007 00:16:07 GMT

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