Re: [csswg-drafts] [css-text] Interaction of `text-wrap-style: balance` and fragmentation (#9431)

I don't understand how (2) works if the fragment containers have a different width (which is not the typical case, but can happen).

> if `pretty` is attempting to avoid a very short last line

That's only one of the things it's supposed to do, along with avoiding rivers, picking good wrapping points to avoid excessive hyphenation, excessive or justification…

But as you say, this is one of the things it needs to do, so it may indeed need to work across the fragmentation break. So (3) isn't quite right either.

I guess what we actually need is neither really (2) nor (3). (2) seems impossible: you can wrap then fragment if fragmenting can cause re-wrapping. But (3)'s idea of treating each fragment independently may be wrong too: as you said, we may want to adjust lines before the break for the sake of lines after the break.

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


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

Received on Monday, 2 October 2023 14:37:52 UTC