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

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 UTC