Re: [csswg-drafts] [css-flexbox-1] Intrinsic size of single line flexbox. (#12123)

I don't quite understand how `align-content` on the second div is relevant in this example. According to the [spec](https://drafts.csswg.org/css-flexbox-1/#align-content-property), `align-content` only applies to flex containers. Since the second div is a flex item, not a flex container, its `align-content: end` declaration should have no effect.

Regarding `place-items: baseline`, according to [5.4 Baseline Content-Alignment](https://drafts.csswg.org/css-align/#baseline-align-content):

> Baseline content-alignment can increase the intrinsic size of the box.

So the increase of the line height to 80px seems like expected behavior.


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 April 2025 09:43:39 UTC