Open dallaslu opened 3 years ago
Error when a canvas element has child nodes.
<canvas id="shape" height="100" width="100" style="height: 100px; width: 100px"> 1</canvas>
While:
<canvas id="shape" height="100" width="100" style="height: 100px; width: 100px"> </canvas>
works.
The Safari's result of shape.toDataURL() is different with other browsers'.
shape.toDataURL()
Use case: description, code
Error when a canvas element has child nodes.
While:
works.
The Safari's result of
shape.toDataURL()
is different with other browsers'.Browsers