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
50f5f53e2b
commit
c57ed30c3e
@ -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…
Reference in New Issue
Block a user