Bug #:
Submitted by:
Reviewed by:
Bug #:
Submitted by:
Reviewed by:
Bug #:
Submitted by:
Reviewed by:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/fast/dom/replaceChild.html b/LayoutTests/fast/dom/replaceChild.html
new file mode 100644
index 0000000..3adabb2
--- /dev/null
+++ b/LayoutTests/fast/dom/replaceChild.html
@@ -0,0 +1,31 @@
+<!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">
+	function loadMenu(m){
+		var w = document.getElementById("menu_content_area");
+		w.replaceChild(m, document.getElementById("menu_import"));
+	}
+</script>
+</head>
+
+<body>
+
+	<div id="menu_content_area"><iframe src="replaceChildHelper.html" id="menu_import" name="menu_import" ></iframe></div>
+
+</body>
+</html>