Re: [csswg-drafts] [css-overflow] interaction between text-overflow:ellipsis and line-clamp (#10823)

> I think the interaction with text-wrap-style needs to be looked at more.

Possibly, yes. I wonder if we should handle that as a two-passes thing: first, do greedy line breaking, find the clamp point based on that, then rewrap lines using the pretty or balance approach, then if that increase the height or the number of lines beyond the clamp point, clamp again (but don't re-wrap after that), then insert the ellispsis (and don't rewrap after that).

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


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

Received on Tuesday, 10 September 2024 01:20:26 UTC