W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

[csswg-drafts] [css-align][css-flex] 'baseline' computed value needs clarification on flexbox specs

From: Javier Fernandez Garcia-Boente via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Mar 2017 13:20:39 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-213339178-1489152038-sysbot+gh@w3.org>
javifernandez has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align][css-flex] 'baseline' computed value needs clarification on flexbox specs ==
The alignment spec states the following about <baseline-position> values:

> <baseline-position> = [ first | last ]? baseline
> The first and last values give a box a baseline alignment preference: either “first” or “last”, respectively, defaulting to “first”.
> 'baseline': Computes to 'first baseline', defined below

In the other hand, the Flexbox spec states the following:

> Value: 	flex-start | flex-end | center | baseline | stretch 
> Computed value: 	specified value 

Firefox nightly returns the following computed values:

align-items: baseline => baseline
align-items: first baseline => baseline
align-items: last baseline => last baseline

Is the current Firefox's behavior correct ? 

In any case, shouldn't the Flexbox spec reflect the new baseline syntax and computed values ?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1095 using your GitHub account
Received on Friday, 10 March 2017 13:20:45 UTC

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