Re: [csswg-drafts] [css-flexbox-2] Add flex-wrap: dense (#3071)

My point is that authors may want prefer placing an item into the current line even if it doesn't completely fit, as long as items can be squeezed together to handle it. But if not, prefer to place it on the next line. Ending up with overflow is unlikely desirable.

> concerned about items overflowing a bit and shrinking

My concern is that they may not be able to shrink.

> You need to make sure your specified slack actually works

They may not know how much the items are able to shrink in advance.

> You get the same issue today if you have an item that's bigger than the available space

Sure, but this is unavoidable. Here it can be avoided by only forcing into the current line if the items can handle it.


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


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

Received on Friday, 31 January 2025 21:30:42 UTC