url-> bitmap

  1. It first parses the HTML contained in the URL through the PROCESS of HTTP request and HTTP response
  2. Parse the HTML to generate a DOM tree
  3. Perform CSS calculation on the DOM tree, which CSS rules are in the DOM, which will be superimposed, and then calculate to get the DOM with CSS style
  4. With the DOM of CSS properties, the layout is carried out to calculate the location of the box generated by the DOM
  5. Finally render, have the corresponding background color, background image, etc., draw on the picture, generate bitmap
  6. The above process is the basic rendering buffer of the browser, which produces an actual image, called a bitmap, and then renders it according to the API provided by the operating system and hardware drivers