mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
add test for image without src attribute
This commit is contained in:
parent
778363caa0
commit
70b44dbbf6
@ -58,7 +58,9 @@
|
|||||||
<img src="image.jpg" style="width:0px;height:0px;" />
|
<img src="image.jpg" style="width:0px;height:0px;" />
|
||||||
|
|
||||||
<canvas id="testcanvas" style="width:100px;height:100px;"></canvas>
|
<canvas id="testcanvas" style="width:100px;height:100px;"></canvas>
|
||||||
|
<br />
|
||||||
|
Image without src attribute, should not crash:
|
||||||
|
<img style="width:50px;height:50px;border:1px solid red;display:block;" />
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user