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

Re: [selectors] Tree selectors and ‘or’ selectors

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 21 Mar 2005 15:23:06 -0500
Message-ID: <423F2D2A.5070409@inkedblade.net>
To: www-style@w3.org

Laurens Holst wrote:
 >
> If there was a way to say ‘or’ in CSS, this would be possible to express:
> 
> :or(body, section, navigation):depth(3) h

I like this idea. However, I'd either use raw parentheses

    (body, section, navigation):depth(3) h

or the :matches() proposal

    :matches(body, section, navigation):depth(3) h

~fantasai
Received on Monday, 21 March 2005 20:25:31 GMT

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