Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / embed-image.html
blob4d70c196c01c8e034c395d920d74181695be1282
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.waitUntilDone();
7 testRunner.dumpAsTextWithPixelResults();
8 testRunner.setPluginsEnabled(false);
11 function done()
13 if (window.testRunner)
14 testRunner.notifyDone();
17 window.onload = function() {
18 var elem = document.createElement("embed");
19 elem.onload = done;
20 elem.type = "image/png";
21 elem.src = "resources/oval.png";
22 document.body.appendChild(elem);
24 </script>
25 </head>
26 </html>