Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / replaceChild.html
blobffa9809c9a78e41338a53977c3bd32eeec70020a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <title>main window</title>
6 <style type="text/css" media="screen">
7 body{
8 margin:0px;
9 padding:0px;
10 background-color:#CCFFCC;
12 iframe#menu_import{
13 width: 150px;
14 height:150px;
15 border:1px solid #000;
17 </style>
18 <script language="javascript" type="text/javascript">
19 if (window.testRunner) {
20 testRunner.waitUntilDone();
21 testRunner.dumpAsText();
23 function loadMenu(m){
24 var w = document.getElementById("menu_content_area");
25 w.replaceChild(m, document.getElementById("menu_import"));
26 document.body.appendChild(document.createTextNode("PASS"));
27 if (window.testRunner)
28 testRunner.notifyDone();
30 </script>
31 </head>
33 <body>
34 <div id="menu_content_area"><iframe src="resources/replaceChildHelper.html" id="menu_import" name="menu_import" ></iframe></div>
36 </body>
37 </html>