Bug 554979 - zoomin and zoomout should use better/nonlinear increments (missing part) [r=mfinkle]
authorMatt Brubeck <mbrubeck@mozilla.com>
Thu, 22 Apr 2010 20:54:41 -0400
changeset 66166 b62a7a3ada57162ec7ae1f9a5eddf168c538c3c0
parent 66165 24c516a1cec4c903a2179aa6a93ff51a016168f3
child 66167 2ff91a7d1c7739578360eb45e5474a4948c6ee3d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs554979
Bug 554979 - zoomin and zoomout should use better/nonlinear increments (missing part) [r=mfinkle]
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -41,16 +41,21 @@ pref("general.useragent.extra.mobile", "
 pref("browser.chromeURL", "chrome://browser/content/");
 
 pref("browser.startup.homepage", "about:firstrun");
 
 pref("browser.tabs.warnOnClose", true);
 
 pref("toolkit.screen.lock", false);
 
+// From libpref/src/init/all.js, extended to allow a slightly wider zoom range.
+pref("zoom.minPercent", 20);
+pref("zoom.maxPercent", 400);
+pref("toolkit.zoomManager.zoomValues", ".2,.3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3,4");
+
 /* use custom widget for html:select */
 pref("ui.use_native_popup_windows", true);
 
 pref("javascript.options.showInConsole", false);
 pref("browser.dom.window.dump.enabled", false);
 
 /* cache prefs */
 pref("browser.cache.disk.enable", false);