Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / hidpi / image-srcset-fraction.html
blob56489833da049a65acd37dd031bc3b4452b4bb2e
1 <html>
2 <head>
3 <script>
4 window.targetScaleFactor = 2.5;
5 </script>
6 <script src="resources/srcset-helper.js"></script>
7 <script src="../../resources/js-test.js"></script>
8 <script>
9 addEventListener("load", function() {
10 if (internals)
11 shouldBeTrue('document.getElementById("testimg").clientWidth==200');
12 }, false);
13 </script>
14 </head>
15 <body>
16 <div>This test passes if the srcset resource is loaded and displayed as the image</div>
17 <img src="resources/blue-100-px-square.png" srcset="resources/green-400-px-square.png 2x" id="testimg">
18 </body>
19 </html>