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

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 UTC