Re: [csswg-drafts] [css-multicol] Overflow in the block direction for continuous media (#2923)

The CSS Working Group just discussed `[css-multicol] Overflow in the block direction for continuous media`, and agreed to the following:

* `RESOLVED: start specifying column-height`

<details><summary>The full IRC log of that discussion</summary>
&lt;nicole> rachelandrew: speccing overflow in block direction for multicol<br>
&lt;nicole> rachelandrew: partially becuases of the carousel work, and partially because it can go in different directions. Rachel put proposed spec in the issue as a starting point<br>
&lt;nicole> rachelandrew: modeled after flex<br>
&lt;astearns> proposal: https://github.com/w3c/csswg-drafts/issues/2923#issuecomment-2566448417<br>
&lt;nicole> rachelandrew: modeled after logical container. Instead you could opt to use column wrap<br>
&lt;fantasai> +1 for a row-height property<br>
&lt;astearns> florian's: https://github.com/w3c/csswg-drafts/issues/2923#issuecomment-2620334162<br>
&lt;nicole> rachelandrew: has a different proposal. what should we do, which looks best?<br>
&lt;florian> q+<br>
&lt;astearns> ack florian<br>
&lt;nicole> florian: want to have this ability. multicol having overflow columns in inline dir isnt' what people want most of the time. Having multiple rows of multicol is extremely desirable.<br>
&lt;nicole> florian: constrain height, overflow in block direction rather than inline direction<br>
&lt;kizu> q+<br>
&lt;nicole> florian: are they simply overflowing. Will they clash? Or whether you simply grow the multicol despite the constrained height<br>
&lt;nicole> florian: should the rows add height?<br>
&lt;nicole> florian: proposes a new prop to constrain the height of the row of the multicol. column-height or column-row-height would work well.<br>
&lt;nicole> florian: column-row-height: 10em<br>
&lt;nicole> florian: if you also set the multicol height, you use all the css tools to deal with how to lay them out<br>
&lt;TabAtkins> yup, +1 to column-row-height<br>
&lt;nicole> florian: not sure what short hands should be<br>
&lt;astearns> ack fantasai<br>
&lt;nicole> florian: how to make it work with gap and other properties needs to be worked out<br>
&lt;florian> q+<br>
&lt;nicole> fantasai: doesn't want an overflow model for this feature (in flow content). Don't conflate sizing the box with content inside the box. Prop that sets column height is the right thing to do<br>
&lt;astearns> ack kizu<br>
&lt;TabAtkins> ah yeah, column-height is shorter and just as right<br>
&lt;astearns> q+<br>
&lt;nicole> fantasai: likes column-height<br>
&lt;nicole> roman: wants this feature. Could imagine automatically fragmenting so that each item goes into the overflow container<br>
&lt;astearns> ack florian<br>
&lt;nicole> roman: use case to fit everything in viewport so it paginates properly<br>
&lt;nicole> florian: not incompatible with having a property<br>
&lt;TabAtkins> (i do think it would be nice to have a `column-height: auto` that matches the height of the nearest scroller)<br>
&lt;fantasai> s/use case/but more common is use case of having it in-flow,/<br>
&lt;nicole> florian: if you set it to auto it would go in the block direction otherwise inline<br>
&lt;nicole> florian: row-height instead of column-height because we might want to use column-row-count later, but won't insiste<br>
&lt;rachelandrew> q+<br>
&lt;nicole> fantasai: column-height and column-width as a pair seems better<br>
&lt;nicole> fantasai: authors won't think about columns as explicitly as rows<br>
&lt;florian> q+<br>
&lt;nicole> astearns: florian mentioned overflow in inline dir, but thinks it is the wrong way to talk about it. We are fragmenting in the inline direction or block direction. As you fragment columns now they can overflow in inline direction.<br>
&lt;nicole> astearns: when we add this you will be able to fragment in the block direction<br>
&lt;nicole> astearns: but it also might overflow, to put the content in the new contents<br>
&lt;nicole> florian: agree overflow isn't quite the right word. Neither is fragmentation. Fragmenting the content of the multicol, and deciding where to place them. Whether they overflow depends where you place them and what else is there.<br>
&lt;nicole> florian: rachelandrew proposed column wrap, whatever we call it, they describe where the extra content goes (block or inline direction)<br>
&lt;astearns> ack rachelandrew<br>
&lt;astearns> ack astearns<br>
&lt;astearns> ack florian<br>
&lt;nicole> astearns: doesn't agree with fantasai that ___ will be rare, he thinks authors will want to do it at the outset<br>
&lt;nicole> rachelandrew: what happens if you have set a height on multicol and then you set column height and row height. And then you have too many things to fit in the container. Answer could be that it overflows<br>
&lt;nicole> florian: yes<br>
&lt;astearns> s/___ /choosing how many rows of columns you want/<br>
&lt;florian> q+<br>
&lt;astearns> ack florian<br>
&lt;nicole> rachelandrew: are we bringing in too much extra complexity? Is it getting to be like regions. Not against direction, just concerned about complexity.<br>
&lt;nicole> florian: yes it would overflow, like any content that doesn't fit would<br>
&lt;nicole> florian: doesn't matter how many rows cols you put in there<br>
&lt;nicole> florian: if it is too big, you have other tools to deal with extra space<br>
&lt;TabAtkins> I definitely think tying this explicitly to overflow *is* making it too complex. Just adding more columns to the content seems like the most straightforward way<br>
&lt;nicole> astearns: proposed resolution to start specifying this using column-height<br>
&lt;nicole> rachelandrew: happy with that<br>
&lt;kbabbitt> 👍<br>
&lt;nicole> RESOLVED: start specifying column-height<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2923#issuecomment-2625930018 using your GitHub account


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

Received on Thursday, 30 January 2025 23:31:25 UTC