W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-values] The last grammar combinator - 1+ in order

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 24 Apr 2014 08:08:58 -0700
Message-ID: <CAAWBYDCN8Kw3BubMiLWhChE8iizLd-Fqa83y=8_cjc-TQPLEdw@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: www-style list <www-style@w3.org>
On Wed, Apr 23, 2014 at 11:54 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> On Apr 24, 2014, at 4:20 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>>> On Thu, Apr 17, 2014 at 5:27 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>>> We're currently missing a grammar combinator in CSS's property grammar syntax.
>>>
>>> We can express "exactly one" as "a | b", and we can express 5 of the 6
>>> possibilities in {0+, 1+, all}×{in order, any order}* .  The one thing
>>> we're missing is "1+, in order", which we can't write without
>>> duplication and honestly confusing grammar.
>>
>> More syntax possibilities:
>>
>> * A // combinator - it looks similar to ||, which is good, because
>> they both occupy the "1+" row in the table.
>
> This could be confused with || if a spec uses an italic font style.

Why would you use italics on a grammar block?

But point taken.

~TJ
Received on Thursday, 24 April 2014 15:09:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC