pt type="text/javascript">
/* <![CDATA[ */
function mutate()
{
   var q = document.getElementById("target");
   remove(q);
   document.documentElement.className = "";

}

function remove(n)
{
  n.parentNode.removeChild(n);
}

document.documentElement.addEventListener("TestRendered", mutate);
/* ]]> */
</script>
<title> test for pseudo removal</title>
</head>

<body>
 <div style="display:table; border-spacing:10px; background-color:Maroon">
     <math xmlns="http://www.w3.org/1998/Math/MathML" id="target">
 