layout/reftests/bugs/498228-1-ref.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/498228-1-ref.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<window id="list-testcase" title="Testcase"
     1.7 +        xmlns:html="http://www.w3.org/1999/xhtml"
     1.8 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.9 +        class="reftest-wait">
    1.10 +
    1.11 +<script>
    1.12 +function dotest() {
    1.13 +  var list = document.getElementById('list');
    1.14 +  list.ensureIndexIsVisible(4);
    1.15 +  setTimeout("document.documentElement.className = ''", 0);
    1.16 +}
    1.17 +
    1.18 +window.addEventListener("load", dotest, false);
    1.19 +
    1.20 +</script>
    1.21 +		
    1.22 +<listbox id="list" rows="3" seltype="single">
    1.23 +<listitem label="Item 1"/>
    1.24 +<listitem label="Item 2"/>
    1.25 +<listitem label="Item 3"/>
    1.26 +<listitem label="Item 4"/>
    1.27 +<listitem label="Item 5" selected="true"/>
    1.28 +</listbox>
    1.29 +
    1.30 +</window>

mercurial