Re: [csswg-drafts] [css-multicol] Contradictions about whether zero is allowed for 'column-width'

Allowing column-width:0 makes sense, but if column-gap is also 0 at the same time, we'll end up with an infinite used column-count, and there'll be no progression in the inline direction. Apart from that, the only interesting implication of infinite column-count that I can think of, spec-wise, is column balancing:

```
<div id="mc" style="column-width:0; column-gap:0;">
  <div style="height:10000px;"></div>
</div>
```

With auto height and column balancing and an infinite number of columns, we'll end up with a silly height of #mc. We have 10000px to distribute over ∞ columns, so even a height of 0 would do in that sense, except that then we'd have no block progression, and luckily a fragmentainer is required to be >= 1px tall [1]. So we'll "only" end up with 10000 columns?

[1] https://www.w3.org/TR/css-break-3/#breaking-rules

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

Received on Wednesday, 14 March 2018 12:32:58 UTC