Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

255
Views
What happens when I insert an Element to Existing DOM?

What all the browser needs to calculate? What phases of the rendering process like Render Tree -> Layout -> Paint etc.

Are triggered.

Further are they localised or affect the entire document.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Repaint and Reflow (Layout) Changing the DOM one or both of these:

Reflow - Layout (Heavy) This occurs when we generally change the widht, height etc of element. Parts of the render tree (or the whole tree) will need to be revalidated and the node dimensions recalculated. This is called a reflow, or layout, or layouting.

Repaint When change properties like border, backgroud color. Parts of the screen will need to be updated, either because of changes in geometric properties of a node or because of stylistic change, such as changing the background color. This screen update is called a repaint, or a redraw.

This will link gives a detailed list of triggers: https://gist.github.com/paulirish/5d52fb081b3570c81e3a

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!