Skip to content

inblossoms/toy-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

construct a browser knowledge system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published