Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML" class="reftest-wait">
2 <mathml:mfenced/>
5 <script><![CDATA[
6 var docviewer;
7 function do_onload() {
8 var navigator1 = SpecialPowers.wrap(parent).QueryInterface(SpecialPowers.Ci.nsIInterfaceRequestor).getInterface(SpecialPowers.Ci.nsIWebNavigation);
9 var docShell = navigator1.QueryInterface(SpecialPowers.Ci.nsIDocShell);
10 docviewer = docShell.contentViewer.QueryInterface(SpecialPowers.Ci.nsIMarkupDocumentViewer);
12 setTimeout(function() {
13 clearTimeout(timer);
14 docviewer.textZoom = 1;
15 document.documentElement.removeAttribute("class");
16 }, 500);
17 setTimeout(doe,50, 0.2);
18 }
19 do_onload();
21 var timer;
22 function doe(i) {
23 docviewer.textZoom += i;
25 if (docviewer.textZoom >=4)
26 i = -0.2;
28 if (docviewer.textZoom <=0)
29 i = 0.2;
30 window.status = docviewer.textZoom;
31 timer = setTimeout(doe, 50, i);
32 }
33 ]]></script>
34 </html>