2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / replaceChild.html
blobf6850bce9d33a268dce1b05bbc222fed9e332499
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 function loadMenu(m){
20 var w = document.getElementById("menu_content_area");
21 w.replaceChild(m, document.getElementById("menu_import"));
23 </script>
24 </head>
26 <body>
28 <div id="menu_content_area"><iframe src="resources/replaceChildHelper.html" id="menu_import" name="menu_import" ></iframe></div>
30 </body>
31 </html>