In the layout step, the browser:

In the layout step, the browser:

  • forces the DOM to be rebuilt
  • first resizes elements before computing their position
  • displays the on-screen elements in their new positions
  • “computes the size and position of render tree elements “