A JavaScript implementation of a web browser without its graphical user interface
3.14k
stars
189
forks
source link
Incorrect return value of `getPropertyValue` for nested custom properties without fallback value #1363
Closed
odanado closed 3 months ago
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: