summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/490176-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/490176-1.html')
-rw-r--r--layout/reftests/bugs/490176-1.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/bugs/490176-1.html b/layout/reftests/bugs/490176-1.html
new file mode 100644
index 0000000000..30d42412f9
--- /dev/null
+++ b/layout/reftests/bugs/490176-1.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<style type="text/css">
+
+body, p {
+ display: table;
+ position: absolute;
+}
+
+</style>
+
+<script type="text/javascript">
+
+function boom()
+{
+ var n = document.getElementById("n");
+ var b = document.body;
+ var next = n.nextSibling;
+ b.removeChild(n);
+ b.insertBefore(n, next);
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+<div>A B</div>
+<p id="n">C D</p>
+</body>
+
+</html>