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

[csswg-drafts] [css-align][css-grid][css-flexbox] wrong assumptions about baselines only occurring in the inline axis

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Jun 2016 21:58:37 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-160770741-1466114316-sysbot+gh@w3.org>
MatsPalmgren has just created a new issue for 

== [css-align][css-grid][css-flexbox] wrong assumptions about 
baselines only occurring in the inline axis ==
A few CSS specs seems to assume boxes only have baselines in their 
inline axis.
That seems wrong since Grid and Tables have baselines in both axis:

For example, if an inline-grid is placed on a block line and its 
writing-mode is orthogonal
to the block, then I think it should be baseline-aligned using its 
block-axis baseline.
So if there is a baseline-aligned group of items in its first 
*column*, it is aligned on the line.

Here are a few spec snippets that needs to be corrected (there may be 
"share an alignment context whose axis is parallel to their inline 

This should instead say something like:
"share an alignment context whose axis is parallel to an axis for 
which the box has a baseline"

"whichever matches its inline axis" (three times)

"inline axis" (twice)

"A grid item participates in baseline alignment in a particular 
dimension if its value for align-self or
justify-self, as appropriate, is baseline and its inline axis is 
parallel to that dimension."

s/and its inline axis is parallel/ and it has a baseline parallel/  

(BTW, that whole statement above is redundant and can be removed since
 CSS Align
defines when a grid item participates in baseline alignment.  It also 
seems misplaced
since this chapter is about grid *container* baselines.)

    If the flex item’s inline axis is the same as the cross axis, this
 value is identical to flex-start.
    Otherwise, it participates in baseline alignment:..."

That seems wrong if the flex item is a grid container for example.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/197 using your GitHub 
Received on Thursday, 16 June 2016 21:58:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC