Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <?xml version="1.0"?>
3 <window id="Test for bug 540247" title="Testcase" class="reftest-wait"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script><![CDATA[
7 document.addEventListener("MozReftestInvalidate", runtest, false);
9 function runtest() {
10 document.getElementById('b').height = '100';
12 var sbo = document.getElementById('s').boxObject.
13 QueryInterface(Components.interfaces.nsIScrollBoxObject);
14 sbo.scrollTo(0, 1000);
16 document.documentElement.className = "";
17 }
18 ]]>
19 </script>
21 <scrollbox id="s" height="200" style="overflow: scroll;">
22 <vbox>
23 <vbox height="150" width="200" style="background: red;" id="b"/>
24 <vbox height="150" width="200" style="background: green;"/>
25 <vbox height="150" width="200" style="background: blue;"/>
26 <label value="a"/>
27 </vbox>
28 </scrollbox>
30 </window>