Hacker News new | ask | show | jobs
by pietroppeter 812 days ago
I would be very much interested in articles on how to write a CSS layout engine from scratch
2 comments

Not exactly what you are looking for, but if you haven't seen it, firefox has some really interesting blog posts about how their css engine works, e.g. https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-en... that i personally found really enlightening
This is great, thanks for sharing!
I've been considering writing such a thing. Although I've only implemented Flexbox and CSS Grid so far. The CSS specifications for those algorithms are worth reading if you're interested in this kind of thing. They're a challenging read, but not an impossible one.
Fair advice, thanks