3 <window id=
"list-testcase" title=
"Testcase"
4 xmlns:
html=
"http://www.w3.org/1999/xhtml"
5 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
10 var list = document.getElementById('list');
11 list.ensureIndexIsVisible(
4);
12 setTimeout(
"document.documentElement.className = ''",
0);
15 window.addEventListener(
"load", dotest, false);
19 <listbox id=
"list" rows=
"3" seltype=
"single">
20 <listitem label=
"Item 1"/>
21 <listitem label=
"Item 2"/>
22 <listitem label=
"Item 3"/>
23 <listitem label=
"Item 4"/>
24 <listitem label=
"Item 5" selected=
"true"/>