computed value
The final value of a CSS property for one element after the cascade and inheritance have been resolved and relative values worked out.
In more detail
getComputedStyle(element) returns these values, which is how you check what the browser actually applied. Each render tree node carries the computed styles for its element.
Related terms
- CSS cascade — The CSS process that decides which of several competing rules sets a property on an element.
- CSS inheritance — The CSS rule that some properties, mostly text-related ones like color and font, pass their value from a parent to its descendants unless overridden.
- render tree — The tree of visible elements with their computed styles, built from the DOM and CSSOM, that the browser uses for layout and painting.
Taught in
- CSS Parsing, The CSSOM And The Render Tree — Frontend Architecture & Web Platform
- The Cascade Algorithm: Specificity, Inheritance And Source Order — Frontend Architecture & Web Platform