Re: [csswg-drafts] [css-flex] Nobody follows the spec regarding intrinsic size of column flex container (#10779)

And I guess row containers are also wrong:

```html
<!DOCTYPE html>
<style>
.flexbox {
  display: inline-flex;
  border: solid;
}
.flexbox > div {
  flex: 0 1 100px;
  min-width: 0;
  min-height: 0;
}
.flexbox > div::before {
  content: "";
  display: block;
  width: 200px;
}
</style>
<div class="flexbox">
  <div>Flex item</div>
</div>
```

The item has `flex-grow: 0` now, so the container should be 100px wide as per the spec, but I'm getting 200px.

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


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

Received on Monday, 26 August 2024 18:15:20 UTC