5 window
.targetScaleFactor
= 2;
7 <script src=
"resources/srcset-helper.js"></script>
8 <script src=
"../../resources/js-test.js"></script>
11 addEventListener("load", function() {
12 // FIXME: clientWidth might be zero because of crbug.com/379155
13 imgWidth
= document
.getElementById("foo").clientWidth
;
14 shouldBe('imgWidth', '33554431' /* blink::intMaxForLayoutUnit */);
21 This test passes if the image is displayed with infinite dimensions.
23 <img id=
"foo" srcset=
"resources/blue-100-px-square.png 0x">