blob: de3985baafb6f857c848c921d3ff0e76503d81a6 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<text id="result" y="100"/>
<script>
if (window.testRunner)
testRunner.dumpAsText();
// Ensure that "new Image()" is creating an HTML image element regardless
// of the current doctype.
var pass = "[object HTMLImageElement]" == new Image();
document.getElementById("result").appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
</script>
</svg>