-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
html
method fails to parse modern CSS functions such as color
#3744
Comments
html
method fails to parse modern CSS functions such as color
Hi @Uzlopak 👋 do you think anyone from the parallax team could take a look at this? It's a bit of a blocker for me at the moment 😞 |
Exact same problem here... I hope you'll be able to fix it soon :) |
Please refer to it, it is working fine for me: |
Thank you @Juman8 , I'll take a look |
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant. |
/reopen |
I have read and understood the contribution guidelines.
When running the html() method on
document.body
in my project, the html to canvas conversion process seems to fail with the following error:I believe this to be linked to html2canvas's lack of support for modern css functions, including the newly available
color(...)
.My problem here is that I would like to use html2canvas-pro as a replacement for html2canvas, as it does specifically support these, but I have no idea where to start, as this issue doesn't seem to have been reported earlier, and I see no way to customize the canvasification process.
Here is a temporary deployment which reproduces the bug when clicking the download button (dismiss the ad-blocker banner, then click on the blue download button)
And here is the PR implementing this: BSoDium/bsodium.fr#53
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: