<!DOCTYPE html>
<img src="data:dsa" data-expected-width=0>
<script src="../resources/check-layout.js"></script>
<p>crbug.com/522673: Return the correct width for images with broken data: uri's.</p>
<script>
window.onload = function() {
checkLayout("img");
}
</script>