summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/358729-1.xhtml
blob: b9a3cc35fb563b968fea20c666fca68bd2cc8bc2 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
<![CDATA[

var HTML_NS = "http://www.w3.org/1999/xhtml";

function foo()
{
  var DIVa = document.getElementById('a'); 

  var DIVb = document.createElementNS(HTML_NS, 'div'); 
  DIVb.appendChild(document.createTextNode('DIVb')); 
  DIVa.appendChild(DIVb);
  
  document.body.offsetHeight; 
  
  var DIVc = document.createElementNS(HTML_NS, 'div'); 
  DIVc.appendChild(document.createTextNode('DIVc'));
  DIVb.appendChild(DIVc);
  
  document.documentElement.removeAttribute("class");
}

]]>
</script>
</head>

<body onload="setTimeout(foo, 30)">

<div>

<table border="1">
  <tr>
    <td>
      <span dir="ltr">
        span
        <th>
          <div id="a"></div>
        </th>
      </span>
    </td>
  </tr>
</table>

<div><span dir="rtl">RTL</span></div>
</div>



</body>
</html>