Index: third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html b/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html |
index c16252483a47505b30a4e0298559ee5b539125ff..2df8999a910d5d38b361e58c384aeefc7fe09a72 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html |
@@ -1,6 +1,4 @@ |
<!DOCTYPE html> |
-<html> |
-<head> |
<script> |
window.targetScaleFactor = 2; |
</script> |
@@ -9,17 +7,11 @@ |
<script> |
var imgWidth; |
addEventListener("load", function() { |
- // FIXME: clientWidth might be zero because of crbug.com/379155 |
imgWidth = document.getElementById("foo").clientWidth; |
shouldBe('imgWidth', '33554431' /* blink::intMaxForLayoutUnit */); |
}, false); |
</script> |
-</head> |
- |
-<body id="body"> |
- <div> |
- This test passes if the image is displayed with infinite dimensions. |
- </div> |
- <img id="foo" srcset="resources/blue-100-px-square.png 0x"> |
-</body> |
-</html> |
+<div> |
+ This test passes if the image is displayed with infinite dimensions. |
+</div> |
+<img id="foo" srcset="resources/blue-100-px-square.png 0x"> |