Bug 1544136 - Ship the scroll snap snap on betas and releases. r=botond
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Mon, 22 Apr 2019 22:38:18 +0000
changeset 470419 bd2261f7465814875436e794313a4fa525d8e69d
parent 470418 e85cb54e594431e3b60f2e32cc6222872ba64f55
child 470420 496a04e97a17f481899ea873155294cd3da55ea2
push id35905
push userdvarga@mozilla.com
push dateTue, 23 Apr 2019 09:53:27 +0000
treeherdermozilla-central@831918f009f6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1544136
milestone68.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 1544136 - Ship the scroll snap snap on betas and releases. r=botond Differential Revision: https://phabricator.services.mozilla.com/D27989
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1105,35 +1105,30 @@ VARCACHE_PREF(
 )
 
 VARCACHE_PREF(
   "layout.css.scroll-anchoring.highlight",
    layout_css_scroll_anchoring_highlight,
   bool, false
 )
 
-#ifdef NIGHTLY_BUILD
-# define PREF_VALUE  true
-#else
-# define PREF_VALUE  false
-#endif
 // Is the CSS Scroll Snap Module Level 1 enabled?
 VARCACHE_PREF(
   "layout.css.scroll-snap-v1.enabled",
    layout_css_scroll_snap_v1_enabled,
-  RelaxedAtomicBool, PREF_VALUE
+  RelaxedAtomicBool, true
 )
 
-// Is support for scroll-snap enabled?
+// Is support for the old unspecced scroll-snap enabled?
+// E.g. scroll-snap-points-{x,y}, scroll-snap-coordinate, etc.
 VARCACHE_PREF(
   "layout.css.scroll-snap.enabled",
    layout_css_scroll_snap_enabled,
-  bool, !PREF_VALUE
+  bool, false
 )
-#undef PREF_VALUE
 
 // Are shared memory User Agent style sheets enabled?
 VARCACHE_PREF(
   "layout.css.shared-memory-ua-sheets.enabled",
    layout_css_shared_memory_ua_sheets_enabled,
   bool, false
 )