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

Re: [css-grid] grid-template-areas syntax

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 22 Nov 2013 13:23:17 -0800
Message-ID: <CAAWBYDAaemij5jJ-dxi7G4wq7Vpjp-FTnSbZJVtPq598XsQC=Q@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style <www-style@w3.org>
On Fri, Nov 22, 2013 at 1:20 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> On 22/11/2013 20:56, Tab Atkins Jr. wrote:
>> Yeah, double-escaping isn't great.  I'm fine with defining a smaller
>> ad-hoc syntax.  Let's say:
>>
>> Four tokens:
>>
>> 1. Run of digits, ASCII letters, or non-ASCII characters.
>> 2. Single ASCII periods.
>> 3. Run of whitespace.
>> 4. Anything else.
>>
>> Presence of #4 invalidates the property.  Throw away #3.  #1 and #2
>> constitute the cell names.
>>
>> This allows you to produce areas with awkward names to write as
>> idents, but it's nice and simple.
>
> Sounds good, though I would add dash and underscore (U+002D and U+005F) to
> 1, making it match "name code point":

Oh, right, yes.  My intention was indeed to match name code point.

~TJ
Received on Friday, 22 November 2013 21:24:04 UTC

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