6 points · 12 hours ago · 0 comments

I have been building web and mobile UI for a while now. I thought I had a decent reade on how browsers actually work under the hood. The I came across Pretext last week and found out I’d been wrong about something for years without even knowing to question it. Every time a browser needs to know how tall a block of text is, reading that measurement can trigger a layout recalculation, forcing the browser to resolve all pending style and position changes before it can give you an answer. It's a ...

No comments yet. Log in to reply on the Fediverse. Comments will appear here.