Re: [csswg-drafts] [css-fonts-4] Feature for making text always fit the width of its parent

Using a small number of passes is unlikely to work in the general case, because if we get it wrong, the text will overflow its container and wrap, which would be catastrophic. Any generalized implementation would have to iterate until the algorithm converges. Such an algorithm would be a great way to make a browser hang.

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

Received on Saturday, 14 April 2018 10:01:24 UTC