Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

259
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda