getComputedStyle()
Returns the computed values of all CSS properties of an element after the cascade and inheritance. Specification: drafts.csswg.org/cssom/.
Results
Probed on 2026-10-19 with Node.js v22.23.3.
warpdom 0.1.6
Supported3 of 3 checks work.
Report a wrong result for warpdomhappy-dom 21.0.3
Partial1 of 3 checks work.
- An inherited property set on the parent (color: red) computes to "rgb(255, 0, 0)" on the child.
- Result:
child color: expected "rgb(255, 0, 0)", got "red"
- Result:
- Values not set by the page use the initial or user-agent value: a <div> has display "block", a <span> has visibility "visible".
- Result:
span visibility: expected "visible", got ""
- Result:
jsdom 30.1.3
Supported3 of 3 checks work.
Report a wrong result for jsdomlinkedom 0.18.13
MissingNot defined in this engine's window.
Report a wrong result for linkedomChecks
stylesheet-rule: A rule from a <style> element applies: .hidden { display: none } gives display "none". (spec)inherited: An inherited property set on the parent (color: red) computes to "rgb(255, 0, 0)" on the child. (spec)initial-and-default: Values not set by the page use the initial or user-agent value: a <div> has display "block", a <span> has visibility "visible". (spec)