38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<title>main window</title>
|
|
<style type="text/css" media="screen">
|
|
body{
|
|
margin:0px;
|
|
padding:0px;
|
|
background-color:#CCFFCC;
|
|
}
|
|
iframe#menu_import{
|
|
width: 150px;
|
|
height:150px;
|
|
border:1px solid #000;
|
|
}
|
|
</style>
|
|
<script language="javascript" type="text/javascript">
|
|
if (window.testRunner) {
|
|
testRunner.waitUntilDone();
|
|
testRunner.dumpAsText();
|
|
}
|
|
function loadMenu(m){
|
|
var w = document.getElementById("menu_content_area");
|
|
w.replaceChild(m, document.getElementById("menu_import"));
|
|
document.body.appendChild(document.createTextNode("PASS"));
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="menu_content_area"><iframe src="resources/replaceChildHelper.html" id="menu_import" name="menu_import" ></iframe></div>
|
|
|
|
</body>
|
|
</html>
|