W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-grid-layout] negative spans

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 23 Feb 2012 19:12:44 +0100
Message-ID: <4F46819C.10307@inkedblade.net>
To: Phil Cupp <pcupp@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 02/20/2012 08:21 PM, Phil Cupp wrote:
> I see I didn't define the type correctly but I intended positive integers only (for grid-row/column properties in addition to span length).  I need to think through what it means for implicit track creation when the author says grid-column:-100, but I can probably make sense of it.  I read it as count 100 tracks back from the end and position this item (so ensure that 99 tracks exist after this one).

Zero will wind up being a bit confusing, given we are indexing starting with 1, right?

> Negative spans can make sense as well.  I think your scenario is to pin something to the end of the grid with something like grid-column: 1; grid-column-span: -1;  Is that right?


Received on Thursday, 23 February 2012 18:13:19 UTC

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