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

[csswg-drafts] [css-align] Baseline alignment of absolute positioned items

From: Javier Fernandez Garcia-Boente via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Nov 2017 14:04:01 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-275366236-1511186639-sysbot+gh@w3.org>
javifernandez has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] Baseline alignment of absolute positioned items ==
First of all, my understanding is that out-of-flow elements doen't participate in Baseline alignment. Is this assumption correct ? So far, neither Firefox, Safari or Chrome consider such elements as part of Baseline alignment, neither in Flexbox or Grid.

If the above assumption is correct, is there any spec that states something in that regard ? I found this statement in the grid spec:

https://drafts.csswg.org/css-grid/#static-position

> An absolutely-positioned child of a grid container is out-of-flow and not a grid item, and so does not affect the placement of other items or the sizing of the grid.

However, I think the statement above was not intended to be applied to the Baseline Alignment logic, which indeed causes items to affect others in the Sharing Baseline Context. Should we add something specific to the Baseline values in the Alignment spec ? Perhaps here ?

https://drafts.csswg.org/css-align/#justify-abspos-static
 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1999 using your GitHub account
Received on Monday, 20 November 2017 14:04:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 20 November 2017 14:04:10 UTC