Remote-Url: http://browser.engineering/ Retrieved-at: 2021-09-01 18:00:29.094591+00:00 Web browsers are ubiquitous, but how do they work? This book explains, building a basic but complete web browser, from networking to JavaScript, in a thousand lines of Python.Follow this book’sblogorTwitterfor updates. If you are enjoying the book, consider supporting us onPatreon.Downloading Web PagesURLs and HTTP requestsDrawing to the ScreenCreating windows and drawing to a canvasFormatting TextWord wrapping and line spacingConstructing a Document TreeParsing and fixing HTMLLaying Out PagesInline and block layout, plus the box modelApplying User StylesParsing and applying CSSHandling Buttons and LinksHyperlinks and browser chromeSending Information to ServersForm submission and web serversRunning Interactive ScriptsChanging the DOM and reacting to eventsKeeping Data PrivateCookies and logins, XSS and CSRFSaving Partial LayoutsTwo-phase layout and fast renderingAdding Visual EffectsFilters and transformationsScheduling and ThreadingThe Rendering Event Loop and PipelineWhat Wasn’t CoveredA Changing LandscapeGlossaryBibliographyDid you find this chapter useful?Send us feedback!