3 ms·
I would be very much interested in articles on how to write a CSS layout engine from scratch
by pietroppeter 3y ago
I would be very much interested in articles on how to write a CSS layout engine from scratch
- bawolff 3y agoNot 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-engine-quantum-css-aka-stylo/ https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-en... that i personally found really enlightening
- pietroppeter 3y agoThis is great, thanks for sharing!
- nicoburns 3y agoI'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.
- pietroppeter 3y agoFair advice, thanks