[csswg-drafts] [css-align] Compatible alignments aren't always compatible

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] Compatible alignments aren't always compatible ==
When grouping boxes into baseline-sharing groups for content-alignment, one of the checks we do is that the elements either have "stretch" or "start"/"end" self-alignment. This ensures that the contents all share an edge in the direction they want to align towards, preventing silly situations.

However, if an element is last-baseline-aligned, and is set to "stretch", but with a max-height smaller than the container's height, it won't line up with an "end" element (because, when "stretch" is constrained, it falls back to "start"). This makes them not compatible. We should handle this in the algorithm.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1556 using your GitHub account

Received on Thursday, 22 June 2017 22:46:19 UTC