Browser rendering process

Suyeon·2020년 11월 11일
0

Interview prep

목록 보기
15/22
  1. The rendering engine parses the chunks of HTML document and convert the elements to DOM nodes in a tree called the "DOM tree".

  2. Also parses CSS files.

  3. The browser constructs the render tree which is visual elements in the order in which they will be displayed. The purpose of this tree is to enable painting the contents in their correct order.

  4. After the construction of the render tree, it goes through a “layout process” of the render tree. This means giving each node the exact coordinates where it should appear on the screen.

  5. Paintingto display content on the screen. jThe render tree is traversed and the renderer’s “paint()” method is called to display content on the screen.

profile
Hello World.

0개의 댓글