summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dynamic/outerHTML-doc.html
blob: 1f996bd647dba4ae142705d681b2f824decdd8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
<body>
<p>test for <a href="rdar://problem/4110775">4110775</a> Crash will occur when double-clicking outerHTML link on W3 DOM test</p>
<p>
<div id="test">This test passed. We don't support outerHTML on the document object.  Neither does WinIE.</div>

<script type="text/javascript">
var t = document;
var outerStr = "<div id='test2'>This test failed.  We don't support outerHTML on the document object.  Neither does WinIE.  Why did this work?</div>";
t.outerHTML = outerStr;
</script>

</body>
</html>