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

Re: [css3-grid-layout] Issues For Your Consideration

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 17 Mar 2013 13:05:19 -0700
Message-ID: <CAAWBYDBfgvGmOi=rdeJ-7i+mw4AehbQ3PRrJ1UUbiW3Vi3UcxA@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Sun, Mar 17, 2013 at 12:08 PM, Alan Stearns <stearns@adobe.com> wrote:
> Would the auto-placement algorithm take order into account in any way?

Yes; the auto-placement algorithm is the main reason for applying
'order' at all.

> Say
> I have three grid items in a 3x3 grid, and each is small enough to fit in
> any grid cell. I give them order values of 1, 2 and 3. These would
> auto-place in the top three cells of the grid. Now I take the 'order:2'
> grid item and place it in the center cell. I might expect the 'order:3' to
> land in the middle-right grid cell. As I understand the current algorithm
> it would actually place the 'order:3' item in the top-middle cell, which
> isn't exactly "ordered" in the way that's been specified.

In general, auto-placed items always flow into the empty spaces in
order, regardless of where in document order they fall relative to
manually-placed items.  I don't think it'll be too confusing to
authors here, once they get used to auto-placement in general.

~TJ
Received on Sunday, 17 March 2013 20:06:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT