W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] allowed syntax of variable values

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 29 May 2012 19:25:22 -0700
To: John Daggett <jdaggett@mozilla.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
Message-ID: <20120530022522.GA4673@crum.dbaron.org>
On Tuesday 2012-05-29 19:11 -0700, John Daggett wrote:
> One question - why use the "value" production rather than the "any"
> production?  Is there a reason to allow blocks and at-rules in
> variable definitions?

Changing it to use "any+" rather than "value" would mean that blocks
and at-rules would be disallowed at top level but allowed when
nested inside of {}, (), or [], which seems a bit odd, and more work
to enforce while recording a token stream.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Wednesday, 30 May 2012 02:25:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT