|
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
2 <head> |
|
3 |
|
4 <bindings xmlns="http://www.mozilla.org/xbl" |
|
5 xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
|
6 <binding id="a"> |
|
7 <content> |
|
8 <xhtml:div> |
|
9 <children includes="span"/> |
|
10 </xhtml:div> |
|
11 <xhtml:div> |
|
12 <children/> |
|
13 </xhtml:div> |
|
14 </content> |
|
15 </binding> |
|
16 </bindings> |
|
17 |
|
18 <script> |
|
19 function boom() |
|
20 { |
|
21 document.body.offsetHeight; |
|
22 |
|
23 var parent = document.getElementById("parent"); |
|
24 |
|
25 var newelt = document.createElement("span"); |
|
26 newelt.appendChild(document.createTextNode(2)); |
|
27 parent.appendChild(newelt); |
|
28 |
|
29 newelt = document.createElement("div"); |
|
30 newelt.appendChild(document.createTextNode(5)); |
|
31 parent.appendChild(newelt); |
|
32 |
|
33 document.body.offsetHeight; |
|
34 document.documentElement.className = ""; |
|
35 } |
|
36 </script> |
|
37 |
|
38 </head> |
|
39 <body onload="boom();"> |
|
40 <div id="parent" style="-moz-binding: url(#a);"> |
|
41 <div>3</div><span>1</span><div>4</div> |
|
42 </div> |
|
43 </body> |
|
44 </html> |