[csswg-drafts] [css-multicol-2] Should `column-wrap:wrap` alone establish a multicol container? What about `column-height`? (#11975)

mstensho has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-multicol-2] Should `column-wrap:wrap` alone establish a multicol container? What about `column-height`? ==
According to https://drafts.csswg.org/css-multicol-2/#the-multi-column-model , only a non-auto value for `column-width` or `column-count` will result in a multicol container, but should the same apply to non-auto `column-wrap` or `column-height`?

```html
<!DOCTYPE html>
<style>
  .mc {
    column-fill: auto;
    column-wrap: wrap;
    overflow: scroll;
    height: 100px;
  }
  .mc > div > div {
    break-after: column;
  }
</style>
<div class="mc">
  <div style="background:cyan;">
    <div>First column</div>
    <div>Second column</div>
    <div>Third column</div>
  </div>
</div>
```

Should this resolve used `column-count` to 1 (if `auto`), and create three columns, vertically stacked with one row for each?

@rachelandrew 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11975 using your GitHub account


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

Received on Friday, 21 March 2025 11:11:13 UTC