- From: Håkon Wium Lie <howcome@opera.com>
- Date: Tue, 24 Jun 2008 23:12:11 +0200
- To: Maciej Stachowiak <mjs@apple.com>
- Cc: www-style list <www-style@w3.org>
Also sprach Maciej Stachowiak:
> >>> style sheet 1: @variable { X: 10px }
> >>> style sheet 2: @variable { X: none }
> >>> style sheet 3: div { width: var(X) }
> Your above situation is analogous to the following:
>
> style sheet 1: div.someclass { width: 30px; }
> style sheet 2: div#someid { width: 10px; }
> style sheet 3: div { width: 20px; }
It's different because because the validity of the declarations is
known at parse-time. Invalid declarations should be dropped, and not
be visible in the DOM.
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Tuesday, 24 June 2008 21:13:00 UTC