This week in rendering
Issue 142 · 6 stories · 30 min total
01
Variable fonts land in the system font
Optical sizes and every weight from 100 to 900 are now one file. font-weight: 650 picks the nearest system weight.
Typography · 4 min
02
Why your chat app does not need a web view
A web view per message costs a process, async height callbacks and a cold start. A layout engine costs a C++ object.
Architecture · 7 min
03
Linear gradients are the new icons
Thumbnails, avatars and badges from a single CSS property, one draw call each, no image decoding.
Graphics · 3 min
04
Gumbo at 10: lessons from an HTML5 parser
The parser that repairs your unclosed tags turns ten. Its authors look back at the adoption agency algorithm.
Parsing · 9 min
05
Dark mode is a stylesheet, not a feature
Swap one block of custom properties under a media query, re-render, done.
Design · 2 min
06
The surprising cost of a text width
Layout calls text_width() once per word. Cache it and re-layout becomes free; forget to, and scrolling stutters.
Performance · 5 min
You get this because you subscribed on 3 March. Manage