Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 625 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 625 Bytes

browser theory

Through this repository, you will understand how browsers work.

Requests are initiated when the url is entered, from fetching and parsing the content of the html file, to building the DOM, CSSOM tree, and so on.

Usge

# first, you need to start the server :server.js is
node server.js

# second, you can view the output by executing the client.js script file
node client.js

Features:

  1. Converting HTML elements into DOM trees
  2. Calculating CSS rules and how to form the render tree
  3. Composing, drawing, and synthesizing dom elements through the render tree