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

Re: [css3-values][css-variables] definition of <value>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 Jul 2012 07:53:44 -0700
Message-ID: <CAAWBYDBRKsvrs+pmJrUb0D508PL4SLA-tNu3F32DVWO=hCT-TQ@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: WWW Style <www-style@w3.org>
On Fri, Jul 6, 2012 at 4:56 AM, Kang-Hao (Kenny) Lu
<kennyluck@csail.mit.edu> wrote:
> (12/04/24 4:01), Tab Atkins Jr. wrote:
>> Below are the resolutions of the issues you raised in this thread.
>>
>> Issue 12: cycle() and values that have commas
>> Closed as OutOfScope pending WG resolution - we're proposing to punt
>> cycle() to the next level so we can address these and other issues
>> with cycle() more properly.
>
> Sorry about not spotting this earlier, but isn't toggle() back with the
> same issue:
>
> (12/04/06 9:44), Kang-Hao (Kenny) Lu wrote:
>> 1. can <value> contain ',' ? If yes, how is syntax ambiguity resolved
>> within a cycle() ?
>
> with s/cycle/toggle/
>
> The description of toggle() has a note saying
>
>   # Note that because toggled values are separated by commas, they
>   # cannot themselves include top-level commas.
>
> Why can't we make this normative? Otherwise, you can just add a
> normative statement for UA saying toggle()'s content is parsed by
> splitting at commas.

It's not normative because the definition falls out of the grammar if
you avoid ambiguity.  The note is just there as a reminder to authors.

~TJ
Received on Monday, 9 July 2012 14:54:36 GMT

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