IT lexicon › Web › Render Tree

Render Tree

Web På svenska → Updated: 2026-11-15

The browser's internal representation built from the DOM and CSSOM to compute layout and paint coordinates.

The render tree includes only nodes that require rendering—hidden elements and their children are filtered out. Each node carries computed style information, dimensions, and position. The browser traverses this tree to determine which pixels to paint where.

Changes to the DOM or CSS may require partial or complete tree reconstruction. Hiding an element keeps its subtree invisible but still affects layout flow. This is why layout thrashing is expensive: each write triggers potential tree re-traversal.

← Back to the lexicon