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
Does not work with urls encoded in base64 or svg #976
Labels
bug
Something isn't working
Comments
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 13, 2023
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 13, 2023
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 13, 2023
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 13, 2023
capricorn86
added a commit
to malko/happy-dom
that referenced
this issue
Jul 13, 2023
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 17, 2023
malko
added a commit
to malko/happy-dom
that referenced
this issue
Jul 17, 2023
capricorn86
added a commit
to malko/happy-dom
that referenced
this issue
Jul 17, 2023
capricorn86
added a commit
that referenced
this issue
Jul 17, 2023
#976@minor Fix incorrect comma split on some css properties
Thank you @lsroman for reporting! 🙂 Big thanks to @malko for your contribution! 🌟 You can read more about the release here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
happy-dom does not work with urls encoded in base64 or svg((
To Reproduce
Steps to reproduce the behavior:
test.js
filenode test.js
<div style="--test_1: url(data;"></div>
Expected behavior
<div style="--test_1: url(data:image/svg+xml;base64,TEST); background-image: url(data:image/svg+xml;base64,TEST)"></div>
Additional context
The problem here is because of the primitive cssText parsing.
The text was updated successfully, but these errors were encountered: