|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?> |
|
3 |
|
4 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
5 |
|
6 <script type="text/javascript"> |
|
7 <![CDATA[ |
|
8 |
|
9 function boom() |
|
10 { |
|
11 var x = document.getElementById("x"); |
|
12 |
|
13 x.appendChild(document.createTextNode("A")); |
|
14 x.appendChild(document.createTextNode("\u202B" + "C")); |
|
15 |
|
16 document.getBoxObjectFor(document.documentElement).height; // flush layout |
|
17 |
|
18 x.normalize(); |
|
19 x.appendChild(document.createTextNode("D")); |
|
20 } |
|
21 |
|
22 window.addEventListener("load", boom, false); |
|
23 |
|
24 ]]> |
|
25 </script> |
|
26 |
|
27 <box id="x" style="display:inline"><box/></box> |
|
28 </window> |