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

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:

https://drafts.csswg.org/css-align/#typedef-baseline-position
> <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:

https://www.w3.org/TR/css-flexbox-1/#align-items-property
> 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