W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-shapes] basic shape syntax in prose

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 27 Sep 2013 15:31:27 -0700
Message-ID: <CAAWBYDD0bcYe_XVdZq3aW9YBp6JeVXF0g2nHAjwM=6g2-e0KBg@mail.gmail.com>
To: Fran├žois REMY <francois.remy.dev@outlook.com>
Cc: Alan Stearns <stearns@adobe.com>, Dirk Schulze <dschulze@adobe.com>, "www-style@w3.org" <www-style@w3.org>
On Fri, Sep 27, 2013 at 1:48 PM, Fran├žois REMY
<francois.remy.dev@outlook.com> wrote:
>>> and I
>>> think it's unfortunate that I have to use the numbers 3 and 5 to mean "4
>>> to 6".
>>
>> I've run into this before - we really need to allow you to specify the
>> repetition amounts after a #, so you could just write:
>>
>> rectangle( [<length>|<percentage>]#{4,6} )
>
> If we do this, we should add a way to specify which separator we use. It could not always be a comma. Also, this is cryptic for sure to someone outside the WG. Something like:
>
> |    rectangle(
> |        [<length>|<percentage>]{4,6}{,}
> |    )
>
> looks better to me.

We don't yet have any use for this - the only common separators are
whitespace and commas, with rare usage of "/" and virtually no usage
of anything else.

~TJ
Received on Friday, 27 September 2013 22:32:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC