Re: [csswg-drafts] [css-contain-1] contain:size shouldn't fragment as monolithic (#5648)

`break-inside: avoid` isn't `break-inside: impossible`. It will do the part about avoiding fragmentation if possible, but it doesn't do the part where if you do have to break, you're only allowed to break it in a way that:
* changes the total size
* makes the size of each fragment depend on the content

We have to add additional constraints for that. Monolithic achieves that.

I do agree that it is more constraining than strictly necessary: an alternative strategy could be to have each fragment be sized exactly as if you had sliced, but within that space, to allow for ordinary fragmentation. In under-filled elements, that could give better results. However, nobody is doing that today. I'd rather keep it simple for L1, and possibly relax things a little in later levels.

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


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

Received on Tuesday, 6 September 2022 16:47:36 UTC