tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

540247-1-ref.xhtml (854B)


      1 <?xml version="1.0"?>
      2 
      3 <window id="Test for bug 540247" title="Testcase" class="reftest-wait"
      4        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      5 
      6 <script><![CDATA[
      7 document.addEventListener("MozReftestInvalidate", runtest, false);
      8 
      9 function runtest() {
     10  document.getElementById('b').style.minHeight = '100px';
     11 
     12  var scrollbox = document.getElementById('s');
     13  scrollbox.scrollTo(0, 1000);
     14 
     15  document.documentElement.className = "";
     16 }
     17 ]]>
     18 </script>
     19 
     20  <scrollbox id="s" style="height: 200px; overflow: scroll;">
     21    <vbox>
     22      <vbox style="min-height: 150px; min-width: 200px; background: red;" id="b"/>
     23      <vbox style="min-height: 150px; min-width: 200px; background: green;"/>
     24      <vbox style="min-height: 150px; min-width: 200px; background: blue;"/>
     25      <label value="a"/>
     26    </vbox>
     27  </scrollbox>
     28 
     29 </window>