Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / images / webp-partial-load.html
blob2d00819c45a7e99fe52f947b11254993c09a0468
1 <img style="background-color: blue" >
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsTextWithPixelResults();
5 testRunner.waitUntilDone();
8 function loadAndStall()
10 return "http://127.0.0.1:8000/resources/load-and-stall.php";
13 function webpImage()
15 return "?name=../../../fast/images/resources/test.webp&mimeType=image%2Fwebp";
18 function testDone()
20 if (window.testRunner) testRunner.notifyDone();
23 function runTest()
25 var image = document.getElementsByTagName('img')[0];
26 image.src = loadAndStall() + webpImage() + "&stallAt=2400&stallFor=60";
27 setTimeout(testDone, 500);
30 window.onload = function() {
31 setTimeout(runTest, 0);
33 </script>