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

FremyCompany has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [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 
work.
>> 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:
http://www.w3.org/TR/css-flexbox-1/#cross-sizing 

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:
https://drafts.csswg.org/css-grid/#grid-baselines

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 
account

Received on Tuesday, 2 August 2016 20:24:39 UTC