Re: Opera's Proposal for :context Selector

* Andrew Fedoniouk @2008-07-11 20:40:

>> Yes, I know :root can only be the first element, which is why I'm  
>> saying it can't be used in this case!
>
> Why? The idea of :root to be a pseudo-class imply that different
> elements may have this state/role assigned.
>
> Otherwise why not to use element html as it is?
> Write something like this and it will be perfectly fine:
>
> html > body > div { ... }

CSS can be used with other markup languages than HTML.

-- 
David Håsäther

Received on Friday, 11 July 2008 19:28:28 UTC