blob: 75debc54121cb825cd2c19592e0bcb30ec2ed1f7 [file] [log] [blame]
<html>
<body>
<p>test for <a href="rdar://problem/4065447">4065447</a> (support outerHTML on IMG elements)</p>
<p>If the test fails, you'll see a Mozilla logo; if it succeeds, you'll see an Apple logo.</p>
<img id="anImage" src="resources/mozilla.gif">
<script type="text/javascript">
var anImage = document.getElementById("anImage");
var outerStr = "<img id='anImage' src='resources/apple.gif'>";
anImage.outerHTML = outerStr;
</script>
</body>
</html>