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

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