-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The value of getPropertyValue
is wrong when using style attributes and custom properties
#1364
Labels
bug
Something isn't working
Comments
capricorn86
added a commit
that referenced
this issue
Mar 27, 2024
capricorn86
added a commit
that referenced
this issue
Apr 1, 2024
capricorn86
added a commit
that referenced
this issue
Apr 1, 2024
capricorn86
added a commit
that referenced
this issue
Apr 1, 2024
…tyvalue-is-wrong-when-using-style-attributes-and-custom-properties fix: [#1364] Fixes problem with CSS variable declaration
Thank you for reporting @odanado! 🙂 There is a fix in now: |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The value of
getPropertyValue
is wrong when using style attributes and custom properties.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: