Re: [csswg-drafts] [css-flexbox] Investigate applying align-content to single-line flex containers (#3052)

I'm working on the data collection code. Question about the new proposed behavior below.

> Filing this issue to see if Web-compat will allow making non-initial values of 'align-content' take effect on single-line flex containers. This would be a change in behavior for:
> 
> * single-line row flex containers with a non-initial 'align-content' and non-'auto' cross size (auto cross size will shrink-wrap the container to the flex line anyway, so alignment is a no-op in that case)
> * and single-line column flex containers with a non-initial 'align-content' and whose items have fixed cross sizes (an auto-sized item will fill the flexbox and stretch the flex line to fill it, so again alignment is a no-op in that case)

The first bullet point indicates that the below case has a behavior change. The only possible change I can see is that the item will no longer stretch to the flex container's height. But the parenthetical in the second bullet point indicates that such stretching should still occur. So my understanding indicates a contradiction. Could you resolve this contradiction for me?

```html
<div style="display: flex; align-content: flex-end; height: 100px;">
  <div></div>
</div>
```

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


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

Received on Friday, 25 June 2021 00:11:14 UTC