3 <p>test for
<a href=
"rdar://problem/4065447">4065447</a> (support outerHTML on IMG elements)
</p>
4 <p>If the test fails, you'll see a Mozilla logo; if it succeeds, you'll see an Apple logo.
</p>
5 <img id=
"anImage" src=
"resources/mozilla.gif">
7 <script type=
"text/javascript">
8 var anImage
= document
.getElementById("anImage");
9 var outerStr
= "<img id='anImage' src='resources/apple.gif'>";
10 anImage
.outerHTML
= outerStr
;