gecko-dev/layout/reftests/bugs/490176-1.html
2009-12-16 18:45:09 -08:00

32 lines
389 B
HTML

<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>