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

> For the related but different `text-wrap-style: pretty`, I'm pretty sure (3) is the right answer.

I'm not so sure. E.g. if `pretty` is attempting to avoid a very short last line, but the last fragment of the paragraph only contains two lines, it may have very little scope to improve things. OTOH, (2) would allow it to optimize the entire paragraph so as to get a "nice" last line even if this requires adjusting breaks several lines earlier.

FWIW, (2) would correspond to how TeX behaves: line-breaks are chosen for the paragraph as a whole, prior to any page- or column-breaking.


-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9431#issuecomment-1742999767 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 13:16:47 UTC