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

pseudo-element background image svg + xml loss size style #2918

Open
yooyea opened this issue Jul 14, 2022 · 0 comments · May be fixed by #2977
Open

pseudo-element background image svg + xml loss size style #2918

yooyea opened this issue Jul 14, 2022 · 0 comments · May be fixed by #2977

Comments

@yooyea
Copy link

yooyea commented Jul 14, 2022

You are using the latest version
You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console
Bug reports:
foreignObject option is false

SVG as pseudo-element background image using

background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3OC4zMSA5My44MiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMxM2EzZDc7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5uZXdzLWljb24tZGotdXBkYXRlZDwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMCw0Ni45MVYwTDUxLjY0LjEzbDIuMjEuNTVjMTAuNzEsMi42OCwxOC41Niw5LjUyLDIyLjQsMTkuNTFhMzQuNzYsMzQuNzYsMCwwLDEsMS45Myw4Ljg2bC4xMywyLjA5SDYyLjcxbC0uMTMtMWExNi4zOSwxNi4zOSwwLDAsMC0zLjMyLTguNCwxNi44MiwxNi44MiwwLDAsMC03LjgzLTUuNDhsLTEuNjktLjU4LTM0LS4xMnY2Mi43SDMxLjM0VjkzLjgySDBWNDYuOTFaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDMuMTIsODYuMVY3OC4zMmwyLjc5LS4xNEEzMi4wNiwzMi4wNiwwLDAsMCw1MCw3Ny43MywxNy4xLDE3LjEsMCwwLDAsNjAuOSw2OS4xNGMxLjctMy40MywxLjY0LTIuODksMS43My0xNS4yM2wuMDgtMTFINzguMjdsLS4xNiwyMy44N0w3Ny41Nyw2OUEzMS4wOSwzMS4wOSwwLDAsMSw2OSw4NC4zNiwzMS4zNSwzMS4zNSwwLDAsMSw1Ni44Myw5MmEyOS40MiwyOS40MiwwLDAsMS0xMCwxLjc0bC0zLjczLjEyVjg2LjFaIi8+PC9zdmc+")

backgroundImage loss size style.

Specifications:
html2canvas version tested with: 1.4.1
Browser & version: chrome 102
Operating system: windows 10 Pro

@ppchart ppchart linked a pull request Oct 17, 2022 that will close this issue
1 task
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 a pull request may close this issue.

1 participant