Description
Bug reports:
Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
I console the value of width and height , find that the height is less than 1 caught this error
Specifications:
- html2canvas version tested with: 1.4.1
- Browser & version: chrome latest
- Operating system: windows 10
solution:
calculateBackgroundRendering function return value width height may be less than 1
and createPattern function throw error
Metadata
Metadata
Assignees
Labels
No labels