W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Opera's Proposal for :context Selector

From: David Håsäther <hasather@gmail.com>
Date: Fri, 11 Jul 2008 21:27:46 +0200
To: "Andrew Fedoniouk" <news@terrainformatica.com>
Cc: www-style <www-style@w3.org>
Message-ID: <op.ud460kibp8frts@hasather.net>

* 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 GMT

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