mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
32 lines
389 B
HTML
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>
|