Don't fail on broken images

This commit is contained in:
MoyuScript
2014-03-15 13:20:05 +02:00
parent 6e1baa3e25
commit 73266849b4
5 changed files with 42 additions and 12 deletions

View File

@@ -8,6 +8,9 @@
<body>
Image without src attribute, should not crash:
<img style="width:50px;height:50px;border:1px solid red;display:block;" />
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;" />
</body>
</html>