Bug 1532471 part 2: Enable CSS containment for early beta and earlier. r=emilio
☠☠ backed out by d184d609bddd ☠ ☠
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 13 Mar 2019 18:36:32 +0000
changeset 464961 b19a49c2a419d41dc033c70d4ad13799dec1df40
parent 464960 a0fb9b7bcfe70ab1c035e23a79c9f86b6efdd078
child 464962 fd67c9a17d9662a03ce0e23dad0cb8beb27405c6
push id112486
push useropoprus@mozilla.com
push dateTue, 19 Mar 2019 16:41:04 +0000
treeherdermozilla-inbound@ee866fb50236 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1532471
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 1532471 part 2: Enable CSS containment for early beta and earlier. r=emilio Depends on D23362 Differential Revision: https://phabricator.services.mozilla.com/D23363
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1007,21 +1007,27 @@ VARCACHE_PREF(
 // Is support for CSS column-span enabled?
 VARCACHE_PREF(
   "layout.css.column-span.enabled",
    layout_css_column_span_enabled,
   bool, false
 )
 
 // Is support for CSS contain enabled?
+#ifdef EARLY_BETA_OR_EARLIER
+#define PREF_VALUE true
+#else
+#define PREF_VALUE false
+#endif
 VARCACHE_PREF(
   "layout.css.contain.enabled",
    layout_css_contain_enabled,
-  bool, false
+  bool, PREF_VALUE
 )
+#undef PREF_VALUE
 
 // Is steps(jump-*) supported in easing functions?
 VARCACHE_PREF(
   "layout.css.step-position-jump.enabled",
    layout_css_step_position_jump_enabled,
   bool, true
 )