Building a Web Browser in Rust
A learning project and blog series building a small browser engine in Rust, from HTML and CSS parsing through layout and rendering.
I built a small web browser in Rust as a way to learn the language by taking on a substantial project. The engine parses HTML and CSS, builds a document tree, applies styles, lays out text and boxes, and renders pages.
The project deliberately kept a narrow scope: well-formed pages, basic inline and block layout, and no JavaScript. I documented the work as a blog series, covering the decisions and implementation step by step.
Screenshot
This March 2020 comparison shows the same Tufte CSS page in Firefox and the Rust minibrowser, illustrating the browser's early layout and text-rendering work.
