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

Re: [css-grid][css-syntax] Usage of lone parentheses across CSS?

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Thu, 26 Jun 2014 21:51:09 +0200
Message-ID: <53AC79AD.8090706@igalia.com>
To: www-style@w3.org
On 26/06/14 21:06, Fran├žois REMY wrote:
> I understand. I'm just wondering whether or not we should save "(...)"
> for a yet-to-be-defined more iconical usage instead. Putting things
> between parentheses usually carry some grouping semantic that is not
> present here.

Just in case you're missing it, you can set different names to the same
line, so you use the parenthesis to group the names of the lines.

One example from the spec:
    grid-template-columns: (first nav) 150px (main) 1fr (last);

The first line can be referenced either by 1, first or nav.

My 2 cents,
  Rego
Received on Thursday, 26 June 2014 19:51:47 UTC

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