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

Re: [csswg-drafts] [css-align][css-grid][css-flex] Baseline alignment not implemented due to lack of specs

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Aug 2016 19:44:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-237349277-1470253447-sysbot+gh@w3.org>
Baseline content-alignment only works between things in "row-like 
contexts" <https://drafts.csswg.org/css-align/#baseline-align-content>
 - table cells, flex items, and grid items.  Inline-level boxes (such 
as an inline-grid container) are not on that list, so they don't 
participate in baseline content-alignment.  (We can clarify the spec a
 bit here.)

So you can content-align the *grid items* in the container with each 
other (they'll get magic-padding to make their baselines align), but 
the grid *container* itself can't be baseline content-aligned in this 
context.  (Only thing you can do is use `vertical-align`.)

GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 3 August 2016 19:46:13 UTC

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