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