[csswg-drafts] Pull Request: Frozen items do not guarantee complete distribution of free space

gitspeaks has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== Frozen items do not guarantee complete distribution of free space ==
Per [sections 9.7(3) and 9.7(4)](https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths), the loop at 9.7(5) may begin with all flex items already frozen and with initial free space remaining that is not distributed.

Example:

```html
<!DOCTYPE html>
<style>
  .flex {
    display: flex;
    flex-flow: row nowrap;
    width: 100px;
    background: red;    
  }
  .flex > div {    
    flex: 0 1 auto;
  }
</style>
<div class="flex">
  <div style="background-color: orange">A</div>
  <div style="background-color: blue">B</div>
  <div style="background-color: green">C</div>
</div>
```

I am submitting the pull request under the [CC0](https://creativecommons.org/public-domain/cc0/) license

See https://github.com/w3c/csswg-drafts/pull/11405


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

Received on Sunday, 22 December 2024 13:09:35 UTC