W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [css-align][css-grid][css-flex]

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Aug 2016 20:24:31 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-168979596-1470169468-sysbot+gh@w3.org>
FremyCompany has just created a new issue for 

== [css-align][css-grid][css-flex] ==
>> I started the baseline review, but I’m wondering why flexbox and 
grids rows are said to have baselines, and how those baselines should 
>> As far as I know, you cannot baseline-align stuff in a grid or in a
 flexbox, there is just no part of the algorithm that keep track of 
those things. What are your expectations here?
> I have no idea why you think this, as grid and flex items all have 
an `align-self: baseline` value.

Flexbox does have some text talking about baseline support, indeed:

However, it seems the Microsoft implementation of grids didn't have a 
similar baseline-align value and, correct me if I'm wrong, the current
 Blink implementation doesn't support the value either. Supporting the
 value would, as far as I understand, require significant changes to 
the track-sizing algorithms to keep track on these above/below the 
baseline measurements, like we do in css-tables. 

I am therefore not sure the baseline section that was added to the 
spec "compiles" right now:

I think the topic should be brought to discussion in the working 
group. We should either clarify that grid does not support 
baseline-alignment (ignores the value) or that it does, and reflect 
that in the algorithms. I am not sure this is something our team is 
willing to put in the Level 1 version of the spec, though. I 
personally never understood why you would want to baseline-align 
things in a table, but I guess some people use it for some reason.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/372 using your GitHub 
Received on Tuesday, 2 August 2016 20:24:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:01 UTC