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

In the JS at https://tobireif.com/ I perform two passes - that's plenty for a good-enough result, and it doesn't impact perf in any noticeable way (the text-fitting is only done once in addition to the first main run). That could be a great option for browser implementers as well, and it shows that supporting such a CSS feature is very feasible.

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

Received on Wednesday, 11 April 2018 08:28:04 UTC