On Feb 14, 2011, at 2:02 PM, L. David Baron wrote: > On Monday 2011-02-14 16:28 -0500, Boris Zbarsky wrote: >> {snip} > >> I agree that a raw token stream may not be the right thing due to >> things like: >> >> @var foo 255, 255); >> >> which could add pretty oddly if $foo is used like so: >> >> color: rgb(0, $foo, 0); > > FWIW, what I'd want is a token stream that has balanced (), {}, and > [], and of course no ; at top-level (not within the (), {}, or []). If it's going to be a "token stream", then I'd say, balanced () and [], NO '{', '}', ':' or ';' Having braces conflicts with forward compatible @rule parsing, ie: @var $foo bar { baz; } blah; An older client would terminate the @var before the 'blah'. Furthermore braces have no place in a property value, neither does a ':'. Peter
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC