[css-variables] Slight tweak to value space of CSS variables

Currently the value space of CSS variables is the "value" production
in the CSS 2.1 grammar, as specified here:
http://dev.w3.org/csswg/css-variables/#defining-variables
and defined here:
http://www.w3.org/TR/CSS21/syndata.html#tokenization

One detail that bothers me is that this production allows the CDO
and CDC tokens *inside* of (), [], or {}, but does not allow them at
the top level of the value.

I think we should change this, and change the value space of
variables from:
  value
to
  [ value | CDO S* | CDC S* ]+

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Wednesday, 6 February 2013 03:01:01 UTC