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. ~TJReceived on Friday, 11 February 2011 01:54:10 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC