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

Re: [css3-grid-layout] Syntax of track lists wrt named grid lines

From: Peter Linss <peter.linss@hp.com>
Date: Tue, 2 Apr 2013 17:08:04 -0700
Cc: Ojan Vafai <ojan@chromium.org>, www-style list <www-style@w3.org>
Message-Id: <ABB66E28-A0A9-409F-AC05-1C584A69EBA2@hp.com>
To: Tab Atkins Jr. <jackalmage@gmail.com>
On Apr 2, 2013, at 4:55 PM, Tab Atkins Jr. wrote:

> On Tue, Apr 2, 2013 at 1:28 PM, Ojan Vafai <ojan@chromium.org> wrote:
>> I'm confused, why do we allow multiple names for a single line? I agree that
>> the parentheses syntax is better if we want to allow that, but the confusion
>> of what this does outweighs the benefits of being able to have multiple
>> names for a line.
> Because a single line can mean multiple things in different contexts.
> For example, the leftmost line could be the "start" line, but also the
> "main-left" line, used to position the main content element.  If you
> moved the main content around, you'd move its line, but not anything
> positioned relative to the "start" line.

It's also an important feature that lets you change the grid (say based on a media query) without changing the definition of where everything falls within/on it. What may be two (or more) different lines in one grid may be the same line in another layout.

Received on Wednesday, 3 April 2013 00:08:27 UTC

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