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

Re: [css-grid] 'grid-auto-flow: stack' and items with span > 1

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 18 Dec 2014 17:11:27 -0800
Message-ID: <CAAWBYDCZX9rJzwkUoDVjouGFTVePj+4BxhRkBZ_dT5RH6DHiTw@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>, Mats Palmgren <mats@mozilla.com>
On Mon, May 5, 2014 at 1:41 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> The 'stack' value of grid-auto-flow is currently defined as:
>> The auto-placement algorithm is run with a single hypothetical 1×1
>> grid item, as if grid-auto-flow: row or grid-auto-flow: column were
>> specified, depending on whether row or column is specified alongside
>> it, respectively. If neither row nor column are specified, it
>> defaults to running the algorithm as if grid-auto-flow: row were
>> specified.
>> Wherever the hypothetical item would be placed,
> The item is 1×1, so this is a 1×1 grid area.
>> all auto-placed items are placed there, stacked atop one another.
>> (This happens even if the auto-placed item is greater than 1×1, even
>> if doing so would cause it to overlap explicitly-placed grid items.)
> What does "there" mean for items bigger than 1×1?
> I suggest: all auto-placed items are placed, stacked atop one another, at a
> grid position determined from the grid-column-start and grid-row-start
> values of the hypothetical item, but keep their (explicit, implicit, or
> defaulted) grid span. The item’s grid-column-end and grid-row-end values
> will only match that of the hypothetical item if the grid span is 1 in the
> corresponding direction.

fantasai, Rossen, and I decided to remove 'stack' entirely, because
it's a dumb value.  Unless the WG objects, we consider this issues
resolved. ^_^

Received on Friday, 19 December 2014 01:12:14 UTC

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