Re: [csswg-drafts] [css-multicol-2] `column-wrap`, `column-height` and column balancing (#11976)

Yeah, we wouldn't have much to discuss at all, without spanners. :-D

So then it's a third option you're after?

- A multicol container consists of a series of multicol rows
- A multicol row consists of a series of multicol lines and multicol spanners

?

And `column-height` sets the (maximum) height of the multicol line, not the row?

```html
<style>
  #mc {
    columns: 2;
    column-height: 100px;
    column-wrap: wrap;
    row-gap: 100px;
    line-height: 20px;
    orphans: 1;
    widows: 1;
    background: yellow;
  }
</style>
<div id="mc">
  offset 0<br>
  offset 20<br>
  offset 0<br>
  <div style="column-span:all; height:40px;">
    offset 40
  </div>
  offset 80<br>
  offset 100<br>
  offset 120<br>
  offset 140<br>
  offset 160<br>
  offset 80<br>
  offset 100<br>
  offset 120<br>
  offset 140<br>
  offset 160<br>
  Next row
</div>
```

There should be only one row gap in the example above - before "Next row"?

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


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

Received on Tuesday, 25 March 2025 12:49:05 UTC