Re: [csswg-drafts] [css-multicol] Do we need column-wrap as well as column-height (#11754)

To explain the need for "`block-size` doesn't constrain the block-size of the current fragment" in the previous comment:

```html
<!DOCTYPE html>
<div style="line-height:50px; orphans:1; widows:1;">
  <div id="outer" style="columns:5; column-fill:auto; height:100px; background:yellow;">
    <div style="height:50px;"></div>
    <div id="inner" style="columns:2; column-fill:auto; height:200px; background:cyan;">
      A<br>B<br>C<br>D<br>E<br>F<br>G<br>H<br>I<br>J<br>K<br>
    </div>
  </div>
</div>
```

![Image](https://github.com/user-attachments/assets/d521bb42-6065-466f-94ba-1cc818244077)


`#outer` creates three columns. The constrained height of `#inner` makes it end in the third column, even though there's more content.

`#inner` creates three lines / rows, one for each outer column. The first two wrap. The last one is nowrap, due to the constrained height.

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


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

Received on Monday, 7 April 2025 06:59:26 UTC