fix: Operation is insecure on safari (#2688)
Fixes : Operation is insecure on safari Problem : Using background image causes the issue ( note: it can have data uri or image binded to it which is not a concern) Solution : When we use background image , resizeImage function returns an image to create pattern on canvas, however createPattern method does not work properly with images (especially when it's svg ) , so to resolve this we can pass canvas to the createPattern, which means resizeImage always needs to return a canvas on which the required image is drawn already !
Fixes Issue : #2688
When is this going to be merged and available ?
Bump
Bump
when will this PR merge?
We're using a fork of this in production. What is blocking this from being merged? I would be glad to simplify our build process ;)
Hi @zbyte64 and others, I am unsure whats taking time. The contribution instruction states to send PR to develop branch, and I don't see one so I've sent it to master, and ofcourse I don't have write access here, so can't merge the PR.
Can be tested in @cantoo/html2canvas