W3C home > Mailing lists > Public > www-style@w3.org > October 2016

Re: [css-grid] [css-align] Grid is now CR, but what about css-align?

From: Mats Palmgren <mats@mozilla.com>
Date: Mon, 3 Oct 2016 17:49:23 +0200
To: www-style list <www-style@w3.org>
Message-ID: <cf10284c-8be4-93b9-5569-2ba3f2a4e164@mozilla.com>
On 10/03/2016 03:37 PM, Christian Biesinger wrote:
> Align has sort of three components to it:
> - General alignment for blocks
> - Extended alignment properties for Flex
> - The properties for Grid

I think this view is incorrect.  CSS Align also applies to table
and multi-column layout.  I think the intention is that it covers
all kinds of layout.


> We (Blink) only want to implement the Grid part and probably the Flex
> part, for now.

We (Gecko) intend to do the same.  We will support all of CSS Align
that applies to Grid before shipping Grid, including baselines and
the parts that applies to abs.pos. descendants.

Our reasoning behind that decision is that it would be a lot of work
to implement Align for blocks/tables/columns and it would seriously
delay shipping Grid if we blocked on that.  Secondly, we thought that
it would be confusing for authors to have to deal with incomplete
support for Grid (especially if other UA vendors decide to support
a different subset).  It's easier to deal with an all-or-nothing
per module approach.

 > However, I am not sure whether "align-content: baseline" should be
 > considered more part of the "applies to blocks" or "necessary for
 > grid"?

CSS Align/Grid says that it applies to both grid containers and grid
items so it's an essential part of Grid layout as I see it.

Regards,
Mats
Received on Monday, 3 October 2016 15:49:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:15:01 UTC