Question: The ____________ is the browser's representation of the page's styles.
- First Contentful Paint
- DOM
- render tree
- CSSOM
Explanation
The browser builds the CSSOM as the structured representation of the page’s CSS rules and computed style information. HubSpot’s performance documentation identifies the DOM and CSSOM as separate models that JavaScript can manipulate during page rendering. That distinction matters because the DOM represents document content, while the CSSOM represents styles. The browser uses that style model as part of the rendering process before producing the final visual result. HubSpot Developers
Why the other options are incorrect
First Contentful Paint is a rendering metric that measures when content first appears, not a browser model for styles. HubSpot Developers
DOM is the browser’s representation of the document structure and content, not the style layer. HubSpot Developers
render tree is the output of combining document and style information for rendering, so it is not the style representation by itself. HubSpot Developers
Source for verification
https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/speed
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
