Re: [csswg-drafts] [css-flexbox] min/max-content sizes of flex item should take definite cross size into account, right? (#11791)

BTW, using a stretch size makes Gecko behave like Blink. WebKit remains the same

```html
<!DOCTYPE html>
<style>.stretch { height: -moz-available; height: -webkit-fill-available; height: stretch }</style>
<div style="display: flex; width: 100px; height: 100px; background: red">
  <div class="stretch" style="min-width: 0; background: green">
    <canvas width="10" height="10" style="height: 100%"></canvas>
  </div>
</div>
```

| Blink, Gecko | WebKit |
| - | - |
| ![](https://github.com/user-attachments/assets/431a65af-c7eb-4fcc-85fb-db6afaad86f5) | ![](https://github.com/user-attachments/assets/52e64cc4-e9e2-4f4f-aba1-7af93899b298) |

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


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

Received on Wednesday, 26 February 2025 23:59:12 UTC