summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/547338.xul
blob: f977049a30551b307df1adf471b8fbb65464bf83 (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
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="text/javascript">
<![CDATA[

function boom()
{
  document.getElementById("list").ensureIndexIsVisible(4);
  document.getElementById("i4").style.fontSize = "10000%";
}

window.addEventListener("load", boom, false);

]]>
</script>

<listbox id="list" rows="3">
  <listitem/>
  <listitem/>
  <listitem/>
  <listitem id="i4" label="Item 4"/><listitem/>
</listbox>

</window>