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

> Crossing IFCs with line-counting brings up a whole class of issues that I'd rather avoid.

Counting the number of lines in IFCs would be way more complicated indeed (especially if we don't limit ourselfs to independent BFCs, but all sorts of formatting contexts), but if I understand correctly, the request here is not to count the lines inside the IFC, just to could a IFC as a single line, regardless of its content, which doesn't seem nearly as complex. Or is that hard too?

If we were to go this way, I presume this would be limited to block-level IFCs, and not count inline-blocks (or inline grids, or what not) as 1 line.

It would also open the question of what we should do about block-level replaced elements, such as blockified images. If we were to adopt the change proposed, I suppose it would make sense if they counted as 1 too.

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


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

Received on Friday, 17 October 2025 08:43:14 UTC