- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 10 Feb 2011 17:53:13 -0800
- To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Cc: "Linss, Peter" <peter.linss@hp.com>, www-style list <www-style@w3.org>
On Thu, Feb 10, 2011 at 5:34 PM, Daniel Glazman <daniel.glazman@disruptive-innovations.com> wrote: > Le 11/02/11 02:15, Linss, Peter a écrit : > >> Don¹t forget this case: >> @var $foo /*this_is_a_valid_url*/; p { content: url($foo); } >> >> Is it a comment or not? > > > Never. A comment is explicitely said to be able to happen anywhere > between tokens in the grammar and you can almost consider it's > stripped before tokenization (even if of course it is not). > > The variable assignment above is always reduced to @var $foo ; Exactly. Which is a parse-time error anyway, making the declaration invalid. ~TJ
Received on Friday, 11 February 2011 01:54:10 UTC