blob: b3e9c133cbcaaea9cb8d933a375ee34f7fb304e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<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>
|