Re: [csswg-drafts] [css-grid-2] Masonry layout (#4650)

From the CSSWG discussion:
> `<tantek>` Is there no attempt to do baseline alignment across masonry items in different columns?

It might be possible to implement baseline alignment for the set of items that we can determine will be at the starting edge without doing any layout. In theory, there might be a case for baseline alignment of items at the end edge (for `align-tracks:end`), but this is harder since we don't know which those items are without doing layout. Baseline alignment for other items (that aren't adjacent to the start/end edge) seems pointless since there's no obvious criteria for which items would belong to the same [baseline-sharing group](https://drafts.csswg.org/css-align-3/#baseline-terms) like there is in a regular Grid (same track).
Is this limited baseline alignment a feature that authors would find useful?

I haven't really thought much about baselines in general so far though... I'll add a Baselines section to the proposal above and look into it...  Thanks for bringing it up!

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

Received on Saturday, 25 January 2020 00:25:47 UTC