summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/490176-1.html
blob: 30d42412f98f0eae0bddaf3a0e07aee672c87c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>