gecko/layout/mathml/crashtests/477740-1.xhtml

26 lines
700 B
HTML
Raw Normal View History

2010-06-08 17:53:08 -07:00
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:math="http://www.w3.org/1998/Math/MathML">
<head>
<xbl:bindings><xbl:binding id="res"><xbl:content><xul:resizer><xbl:children/></xul:resizer></xbl:content></xbl:binding></xbl:bindings>
<script type="text/javascript">
function boom()
{
var x = document.getElementById("x");
var r = document.createRange();
r.setEnd(x, 1);
r.extractContents();
x.appendChild(document.createElement('span'));
}
</script>
</head>
<body onload="boom();">
<xul:rows id="x" style="-moz-binding: url(#res);"><math:ms/></xul:rows>
</body>
</html>