W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: CSS Variables Draft Proposal

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 11 Feb 2011 02:34:32 +0100
Message-ID: <4D549228.7060200@disruptive-innovations.com>
To: "Linss, Peter" <peter.linss@hp.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
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 ;

Received on Friday, 11 February 2011 01:35:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC