logoalt Hacker News

simonwyesterday at 10:48 PM1 replyview on HN

Yes the browser still renders the text at the end - but you can now do fancy calculations in advance to decide where you're going to ask the browser to draw it.


Replies

tadfisheryesterday at 11:45 PM

I suspect exposing the browser's text layout measurer is going to become a Web API in the future, much like exposing the HTML parser via setHTML().