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

Re: [css-variables] allowed syntax of variable values (was Re: status ?)

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 25 May 2012 11:59:19 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
Message-ID: <20120525185919.GA6810@crum.dbaron.org>
On Friday 2012-05-25 11:43 -0700, Tab Atkins Jr. wrote:
> Sorry, I didn't fully apply the proper edits.  Look in the prop table.

I guess the important part is:

  [ <number> | <percentage> | <dimension> | <string> | <ident> |
  <url> | <function> | <hash> ]

I'd note that <dimension>, <ident>, <function>, and <hash> aren't
actually defined anywhere.  And, in particular, <function> being
defined according to the core grammar would mean this isn't a
simplification at all for implementations, but just constrains the
future syntax of property values (e.g., to not use parentheses as
some drafts of the background shorthand did).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 25 May 2012 18:59:45 GMT

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