html2canvas/tests/reftests/images/empty.html

22 lines
695 B
HTML
Raw Permalink Normal View History

2012-12-28 01:53:27 +04:00
<!DOCTYPE html>
<html>
<head>
<title>Image tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../../test.js"></script>
2017-08-08 19:50:31 +03:00
<style>
body {
font-family: Arial;
}
</style>
2012-12-28 01:53:27 +04:00
</head>
<body>
Image without src attribute, should not crash:
<img style="width:50px;height:50px;border:1px solid red;display:block;" />
2014-03-15 15:20:05 +04:00
Image with broken src attribute, should not crash:
<img src="404" style="width:50px;height:50px;border:1px solid red;display:block;" />
<img src="404_2" style="width:50px;height:50px;border:1px solid red;display:block;" />
2012-12-28 01:53:27 +04:00
</body>
</html>