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

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

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Mon, 21 Mar 2005 22:39:45 +0100
Message-ID: <423F3F21.9090302@students.cs.uu.nl>
To: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org

fantasai 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

Raw parentheses sounds like the better of the two, if you ask me.


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!
Received on Monday, 21 March 2005 21:39:47 GMT

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