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

[css-grid] Remaining Grid Layout issues

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Mon, 21 Nov 2016 17:41:47 +0100
To: www-style@w3.org
Cc: fantasai <fantasai@inkedblade.net>, Tab Atkins jr <jackalmage@gmail.com>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>, Mats Palmgren <mats@mozilla.com>, Daniel Holbert <dholbert@mozilla.com>, Sergio Villar Senin <svillar@igalia.com>, Javier Fernandez <jfernandez@igalia.com>, Manuel Rego Casasnovas <rego@igalia.com>
Message-ID: <48dceb0f-689d-c6f9-459f-d318e4a8c7f8@igalia.com>

Hi all,

CSS Grid Layout is close to be shipped in both Chromium [1]
and Firefox [2].
But there are still a few remaining opened issues on the spec.
Some of the important things that we should discuss and agree are:

1) Alignment and shipment

First of all, shipping Grid Layout is very related to Box Alignment.

>From a mail by fantasai [3]:
"I would implement and ship the subset of Align syntax that's been
 shipped as part of Flexbox, plus the start/end/space-evenly values.

 The rest of it is less stable."

First, we've a doubt [4] about what does exactly means, as having only
"align-items" but not "justify-items" seems pretty weird.
Anyway on the Blink intent-to-ship we're trying to clarify what
we should do, if we should ship Grid Layout and only the Flexbox
properties of alignment, or if we should ship the whole thing.

On Firefox the intent-to-ship mentions:
"This also includes all parts of the CSS Box Alignment spec that are
 relevant to Grid layout:"

So it seems their current plan is to ship the whole thing.

I believe we should take the same decision in both browsers,
so we need to get an agreement on this topic.

2) Implied minimum size of grid items

We've been discussing this topic for a long time,
and there are 2 issues still open:

* https://github.com/w3c/csswg-drafts/issues/283
  This is right now working different on Chromium and Firefox.
  I agree that the text in the spec is not clear yet,
  but Chromium implementation is following what was discussed there.

* https://github.com/w3c/csswg-drafts/issues/523
  There's a last thing to clarify on this issue.
  Firefox has already implemented this but Chromium was waiting for it.

This is going to cause a lot of confusion if both browsers differ in

3) Baseline alignment

Firefox has already implemented baseline alignment a while ago,
on Chromium we're doing it right now and a bunch of
issues/questions/doubts have been appearing:

* https://github.com/w3c/csswg-drafts/issues/425
* https://github.com/w3c/csswg-drafts/issues/597
* https://github.com/w3c/csswg-drafts/issues/638
* https://github.com/w3c/csswg-drafts/issues/721

It'd be nice to get an update and get them solved.


[3] https://lists.w3.org/Archives/Public/www-style/2016Nov/0014.html
[4] https://lists.w3.org/Archives/Public/www-style/2016Nov/0081.html
Received on Monday, 21 November 2016 17:10:08 UTC

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