summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/415394-1.xhtml
blob: 7dc24dc9f7d715a735c47692e8047d73a4d26311 (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
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      class="reftest-wait">
<head>
<script type="text/javascript">

function boom()
{
  document.execCommand("justifycenter", false, null);

  var listboxbody = document.getElementById("lbb");
  listboxbody.height = 9;
  setTimeout(boom2, 0);

  function boom2()
  {
    var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
    listboxbody.appendChild(td);
    document.documentElement.removeAttribute("class");
  }
}

</script>
</head>

<body onload="setTimeout(boom, 0);" contenteditable="true"><xul:listboxbody id="lbb"><xul:hbox/><span><col style="width: 100px;" /></span></xul:listboxbody></body>

</html>