- From: Dave Singer <singer@apple.com>
- Date: Mon, 30 Jun 2008 06:02:43 -0700
- To: Francois Remy <fremycompany_pub@yahoo.fr>, Simetrical <simetrical@gmail.com>, Brad Kemper <brkemper@comcast.net>
- Cc: Andrew Fedoniouk <news@terrainformatica.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, David Hyatt <hyatt@apple.com>, "Håkon Wium Lie" <howcome@opera.com>, www-style list <www-style@w3.org>
At 23:09 +0200 29/06/08, Francois Remy wrote:
>Consider this situation :
>
>style1.css [enabled] {
> @const bgColor: red;
>}
>style2.css [disabled] {
> @const bgColor: green;
>}
surely the error is here; bgColor has already been declared as a
const with a different value. You have a syntax violation (attempt
to re-define a constant). If you declare something 'const' in the
context of a set of pages, it's your job to make sure it is, in fact,
constant. Whether the language processor enforces this, or whether
you get 'undefined results' is a matter for debate.
--
David Singer
Apple/QuickTime
Received on Monday, 30 June 2008 13:04:02 UTC