Bug 1087559 - Enable layout.css.scroll-behavior.enabled for all platforms except fennec. r=roc
authorKearwood (Kip) Gilbert <kgilbert@mozilla.com>
Mon, 27 Oct 2014 12:27:00 +0100
changeset 212918 048e11424dec07029ee0e26cf98aac3b52193f56
parent 212917 d67de20b86127757fe5441b510b87710e14401bc
child 212919 ddbf4c3a4f34621ea3b7bde26f17a277587f21f8
push id27736
push userryanvm@gmail.com
push dateWed, 29 Oct 2014 20:49:13 +0000
treeherdermozilla-central@80e18ff7c7b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1087559
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1087559 - Enable layout.css.scroll-behavior.enabled for all platforms except fennec. r=roc - Updated all.js to enable layout.css.scroll-behavior.enabled by default, except for Android / Fennec
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2116,17 +2116,17 @@ pref("layout.css.ruby.enabled", false);
 
 // Is support for CSS box-decoration-break enabled?
 pref("layout.css.box-decoration-break.enabled", true);
 
 // Is layout of CSS outline-style:auto enabled?
 pref("layout.css.outline-style-auto.enabled", false);
 
 // Is CSSOM-View scroll-behavior and its MSD smooth scrolling enabled?
-pref("layout.css.scroll-behavior.enabled", false);
+pref("layout.css.scroll-behavior.enabled", true);
 
 // Is the CSSOM-View scroll-behavior CSS property enabled?
 pref("layout.css.scroll-behavior.property-enabled", false);
 
 // Tuning of the smooth scroll motion used by CSSOM-View scroll-behavior.
 // Spring-constant controls the strength of the simulated MSD
 // (Mass-Spring-Damper)
 pref("layout.css.scroll-behavior.spring-constant", "250.0");
@@ -3293,16 +3293,19 @@ pref("print.print_reversed", false);
 pref("print.print_color", true);
 pref("print.print_landscape", false);
 pref("print.print_paper_size", 0);
 
 // print_extra_margin enables platforms to specify an extra gap or margin
 // around the content of the page for Print Preview only
 pref("print.print_extra_margin", 0); // twips
 
+// CSSOM-View scroll-behavior smooth scrolling requires the C++ APZC
+pref("layout.css.scroll-behavior.enabled", false);
+
 # ANDROID
 #endif
 
 #if defined(ANDROID) || defined(FXOS_SIMULATOR)
 // font names
 
 pref("font.alias-list", "sans,sans-serif,serif,monospace");