blob: 17b4ea965c7c098601d762a17d76a0fac045e333 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<text id="result" y="100"/>
<script>
if (window.layoutTestController)
layoutTestController.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>