Re: [csswg-drafts] [css-align][css-grid] Do grid items that have "no baseline set" participate in baseline alignment? (#4675)

As a matter of fact, @MatsPalmgren filed a [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1321655) precisely to allow orthogonal grid items to participate, with the synthesized baseline, in baseline alignment. 

I guess the question that still stands is whether any item with no baseline must follow that approach. The spec is not clear regarding the need of items with no baseline to synthesize it in any case, it just mentions how to do it in case of needing to do so. 

Unless mats disagree, I think we can all agree that any item with no baseline should participate in baseline alignment, if any of the CSS Box Alignment properties state so, using the synthesized baseline. This is coherent with what we have decided to do for orthogonal items. If we all agree on this, we may want to add some edits in the spec to be more clear about this.

I thought that the following statement of the CSS Box Alignment spec was enough for determining the participation of any grid item, either it has a natural baseline or not: 

https://drafts.csswg.org/css-align/#baseline-align-self
>  A grid item participates in first/last baseline self-alignment in its startmost/endmost row or column if its align-self or justify-self property (respectively) computes to first baseline/last baseline. 

However, Mats seems to disagree and would rather to state clearly that items with no natural baseline also participate.


-- 
GitHub Notification of comment by javifernandez
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4675#issuecomment-600731577 using your GitHub account

Received on Wednesday, 18 March 2020 16:28:28 UTC