|
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
2 <head> |
|
3 <script> |
|
4 <![CDATA[ |
|
5 |
|
6 var HTML_NS = "http://www.w3.org/1999/xhtml"; |
|
7 |
|
8 function foo() |
|
9 { |
|
10 var DIVa = document.getElementById('a'); |
|
11 |
|
12 var DIVb = document.createElementNS(HTML_NS, 'div'); |
|
13 DIVb.appendChild(document.createTextNode('DIVb')); |
|
14 DIVa.appendChild(DIVb); |
|
15 |
|
16 document.body.offsetHeight; |
|
17 |
|
18 var DIVc = document.createElementNS(HTML_NS, 'div'); |
|
19 DIVc.appendChild(document.createTextNode('DIVc')); |
|
20 DIVb.appendChild(DIVc); |
|
21 |
|
22 document.documentElement.removeAttribute("class"); |
|
23 } |
|
24 |
|
25 ]]> |
|
26 </script> |
|
27 </head> |
|
28 |
|
29 <body onload="setTimeout(foo, 30)"> |
|
30 |
|
31 <div> |
|
32 |
|
33 <table border="1"> |
|
34 <tr> |
|
35 <td> |
|
36 <span dir="ltr"> |
|
37 span |
|
38 <th> |
|
39 <div id="a"></div> |
|
40 </th> |
|
41 </span> |
|
42 </td> |
|
43 </tr> |
|
44 </table> |
|
45 |
|
46 <div><span dir="rtl">RTL</span></div> |
|
47 </div> |
|
48 |
|
49 |
|
50 |
|
51 </body> |
|
52 </html> |