The answer
Because they can force the browser to recalculate styles, rebuild render information, and rerun layout or paint work.
Because they can force the browser to recalculate styles, rebuild render information, and rerun layout or paint work.
The DOM is the document object model built from HTML. It represents page structure as nodes that scripts can read and change.
The CSSOM is the browser's model of parsed CSS rules and computed styles used to determine how the page should look.
The render tree combines DOM and CSSOM information into the visible objects the browser can lay out and paint.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.