Open sandymcfadden opened 5 months ago
Describe the bug
In browsers when you use style.getPropertyValue("background-color") when that color uses hex alpha notation it returns an rgba color.
style.getPropertyValue("background-color")
rgba
When using happy-dom it returns the hex alpha notation string instead.
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/sandymcfadden/happy-dom-hex-alpha-color-notation.git
npm install
node src/index.js
Expected behavior To match browsers and log the rgba color string
Screenshots If applicable, add screenshots to help explain your problem.
Device:
Describe the bug
In browsers when you use
style.getPropertyValue("background-color")
when that color uses hex alpha notation it returns anrgba
color.When using happy-dom it returns the hex alpha notation string instead.
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/sandymcfadden/happy-dom-hex-alpha-color-notation.git
npm install
node src/index.js
Expected behavior To match browsers and log the
rgba
color stringScreenshots If applicable, add screenshots to help explain your problem.
Device: