BigBuildBench / yorickshan_html2canvas-pro

MIT License
0 stars 0 forks source link

SVG Image Support #6

Open IanSmithers opened 2 days ago

IanSmithers commented 2 days ago

Bug reports:

There appears to be an issue with rendering SVG elements. The size does not get respected from the CSS. chrome_Bh8kdNmuu4

As you can see the marker is clipped.

Specifications:

IanSmithers commented 2 days ago

P.S. There looks to be some PRs from the main repo that attempt to address this: https://github.com/niklasvh/html2canvas/pull/3048

I made these changes locally and tested them and no joy, still the same issue. The strange thing is that the image html2canvas creates has the actual size of the SVG element but the actual svg data is cropped.