Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / embed-prefers-plugins-for-images.html
blob57b680aa455dd65401b3b58c97307348d395609b
1 <script>
2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 testRunner.waitUntilDone();
7 function runTest()
9 var plugin = document.getElementById("plugin");
11 // Both QuickTime and TestNetscapePlugIn register for image/png.
12 if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion))
13 logSuccess();
15 if (window.testRunner)
16 testRunner.notifyDone();
19 function logSuccess()
21 document.getElementById("console").innerHTML = "PASS";
23 </script>
24 <body onload="runTest()">
25 <p>Test that WebKit will load a plugin to render an image before rendering it natively.</p>
26 <div id="console">FAIL</div>
27 <embed id="plugin" src="image.png">