- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Aug 2018 11:15:09 +0000
- To: public-css-archive@w3.org
> I agree that layout containment should treat it as having no baseline. Cool. > it's really weird for an element to collapse to zero height but still be baseline-aligned against a baseline that is now outside its bounds. Is it? If you manually size an element with content to 0 height, it still baseline aligns, even though the baseline is outside of the bounds. Plus, I would not expect most element with size containment to collapse to 0, but rather to have a set height an use that. Then you have a non-zero sized inline block with visible content, but you can't baseline-align it. That seems weird. >From a use case point of view, as the spec says, the main reason to use size containment without layout containment is js-based container queries. I don't see anything about this use case that suggest that baseline alignment is any less desirable than in normal circumstances. Oh, and I just realized that in my proposed text, I forgot to mention it applies to align-self/justify-self in addition to vertical-align, which actually makes it relevant not just to inline blocks, but also about grid and flex items -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2995#issuecomment-411371226 using your GitHub account
Received on Wednesday, 8 August 2018 11:15:17 UTC