<script>
function go() {
a.replaceChild(b, b)
}
</script>
<body onload=go()>
<p id="a">
<menuitem id="b">
<ruby style="position: absolute">
a