Re: [csswg-drafts] [css-overflow-4] max-lines and independent formatting contexts (#12962)

Due to the compat constrain mentioned by @bfgeek, we're going to need to keep the default behavior, at least when using `-webkit-legacy`, working as it currently does, without counting IFCs as 1 line.

If we think counting IFCs as 1 line is desirable behavior, we could have it in a different mode. Maybe that would be keyed on `-webkit-legacy` vs not. Maybe it could be opt-in (on the `max-lines` property?)

My sense is that (a) the fewer differences we have between `-webkit-legacy` vs "normal", the better, and (b) this is a twist on `max-line`, not on `continue`, so my inclination if we want to have this behavior would be to have it as an opt-in keyword in `max-lines`.

Then again we could do both: have it as an opt-in keyword in `max-lines` and set that keyword when the shorthand is used, except when it includes `-webkit-legacy`.

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


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

Received on Sunday, 16 November 2025 02:38:18 UTC