Incorrect return value of getPropertyValue
for nested custom properties without fallback value
#1363
Labels
bug
Something isn't working
Describe the bug
An incorrect return value of
getPropertyValue
for nested custom properties without fallback value.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/odan-sandbox/happy-dom-getComputedStyle-with-css-variables-sandbox
npm ci
node src/repro-non-fallback.js
Expected behavior
--my-color1
is defined, so thebackground-color
should be pink.Device:
The text was updated successfully, but these errors were encountered: