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

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

From: Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Date: Mon, 2 Dec 2013 00:45:50 +0000
To: Simon Sapin <simon.sapin@exyr.org>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, www-style <www-style@w3.org>
Message-ID: <82905d58bdfb4e4caed6cb6ad80c1152@BY2PR03MB192.namprd03.prod.outlook.com>
> -----Original Message-----
> From: Simon Sapin [mailto:simon.sapin@exyr.org]
> Sent: Wednesday, November 27, 2013 1:47 AM
> To: Rossen Atanassov
> Cc: Tab Atkins Jr.; www-style
> Subject: Re: [css-grid] grid-template-areas syntax
> 
> On 22/11/2013 21:23, Tab Atkins Jr. wrote:
> > 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.
> 
> Rossen, any opinion on this?

That's a good catch Simon. The proposed name code point solution sounds good, let's go with that change.

Thanks,
Rossen
Received on Monday, 2 December 2013 00:46:20 UTC

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