summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/images/object-image.html
blob: 13b9b784fcf32c718e2e447222d2c0a9873c23c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.dumpAsTextWithPixelResults();
    testRunner.setPluginsEnabled(false);
}

function done()
{
    if (window.testRunner)
        testRunner.notifyDone();
}

window.onload = function() {
    var elem = document.createElement("object");
    elem.onload = done;
    elem.type = "image/png";
    elem.data = "resources/oval.png";
    document.body.appendChild(elem);
};
</script>
</head>
</html>