Get the latest tech news

Web Browser Engineering (2021)


are ubiquitous, but how do they work? This book explains, building a basic but complete web browser, from networking to JavaScript, in a couple thousand lines of Python. Pre-order Web Browser Engineering Web Browser Engineering will be published by Oxford University Press before the end of the year.

This book explains, building a basic but complete web browser, from networking to JavaScript, in a couple thousand lines of Python. Constructing an HTML Tree Parsing and fixing HTML Laying Out Pages Inline and block layout Applying Author Styles Parsing and applying CSS Handling Buttons and Links Hyperlinks and browser chrome Adding Visual Effects Blending, clipping, and compositing Scheduling Tasks and Threads The event loop and the rendering pipeline Animating and Compositing Smooth animations using the GPU Making Content Accessible Keyboard input, zooming, and the accessibility tree Supporting Embedded Content Images, iframes, and scripting Reusing Previous Computation Invalidation, editing, and correctness

Get the Android app

Or read this on Hacker News