- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Apr 2025 00:11:43 +0000
- To: public-css-archive@w3.org
Similar example with flexbox (based on [/css/css-flexbox/intrinsic-size/row-wrap-002.tentative.html](https://github.com/web-platform-tests/wpt/blob/ee13c18d3088687e88fab6480cb3bebb0fd2c1d0/css/css-flexbox/intrinsic-size/row-wrap-002.tentative.html))
```html
<!DOCTYPE html>
<style>.flex { display: flex; flex-wrap: wrap; height: 50px; border: solid }</style>
<div class="flex" style="width: min-content">
  <div style="width: 50px"></div>
  <div style="margin-left: -25px"></div>
</div>
<div class="flex" style="width: max-content">
  <div style="width: 50px"></div>
  <div style="margin-left: -25px"></div>
</div>
```
Unlike for block containers, Blink now floors the max-content instead of ceiling the min-content.
| Firefox, Servo | Blink, WebKit |
| - | - |
|  |  |
-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12076#issuecomment-2807825873 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 April 2025 00:11:44 UTC