- From: David Håsäther <hasather@gmail.com>
- Date: Fri, 11 Jul 2008 22:45:36 +0200
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: www-style <www-style@w3.org>
* Andrew Fedoniouk @2008-07-11 22:21: >> CSS can be used with other markup languages than HTML. >> > Correct. > > But in context when you have to use :root in selectors you *always* know > what DOM you are dealing with. No, that would make :root pretty useless. It's primary use case is rather the opposite. > Example, following implies that you are targeting HTML: > > :root > body > something {} Certainly not. Any markup language may define an element type with the name "body". -- David Håsäther
Received on Friday, 11 July 2008 20:46:14 UTC