Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

256
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda