-
-
Notifications
You must be signed in to change notification settings - Fork 60
Developer:Design
hrj edited this page Jul 14, 2019
·
3 revisions
This is a very abstract and high-level overview of gngr
. Probably also applicable to most other browsers.
- User enters a
URL
in theNavigation Window
-
Request Engine
fetches theURL
and the content is passed to the appropriate parser. TheRequest Engine
uses thePersistence
modules to get/set the cookies, and to cache requests. - Any dependent resources are fetched as well (Images, CSS, Frames, etc) through the
Request Engine
. - After parsing, an
HTML DOM
orCSS AST
is created in memory. - The HTML DOM and CSS AST are used by the
layout
andrendering
modules to display content back on theNavigation Window
. - The
Javascript
engine allows scripts to interact with theDOM
andCSS DOM
APIs.
- For a brief introduction to how CSS engines work, see the first part of this article by Lin Clark.