Skip to content
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

feat: ignore unsupported image functions #1873

Merged

Conversation

val1984
Copy link
Contributor

@val1984 val1984 commented Jun 6, 2019

Summary

Hi, this PR makes html2canvas ignore unsupported background image functions encountered while parsing the document tree so that the screenshot will get generated even when the document includes such functions.

It fixes the following issues:

This issue can be reproduced here:
http://jsfiddle.net/yh4L67bf/

Closing issues
Fixes #1865

@niklasvh niklasvh merged commit 61f4819 into niklasvh:master Jun 18, 2019
@niklasvh
Copy link
Owner

thanks!

@val1984
Copy link
Contributor Author

val1984 commented Jun 18, 2019

Thank you for accepting my PR! Any particular area of the code you'd like some help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Screenshot generation stops when encountering an unsupported background-image function
2 participants