<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script type="text/javascript">

function boom()
{
  document.getElementById("math").setAttribute("class", "li");
  document.documentElement.offsetHeight;
  document.documentElement.appendChild(document.createTextNode("\n"));
}

</script>

<style type="text/css">

[class="li"] { display: list-item; }

</style>

</head>

<body onload="boom();"><math xmlns="http://www.w3.org/1998/Math/MathML" id="math"/></body>

</html>