Bug 1217086 - Enable CSS Grid by default. r=dholbert
authorMats Palmgren <mats@mozilla.com>
Mon, 28 Nov 2016 23:00:20 +0100
changeset 324492 67cb3a7529115dad9be5a8a3d4e49176b8775c3b
parent 324491 bc39d8cde9ab7f7615a0098f17396691c7354e86
child 324493 8ab6fa7197165bf619d844a4a622bded8beb9579
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersdholbert
bugs1217086
milestone53.0a1
Bug 1217086 - Enable CSS Grid by default. r=dholbert
modules/libpref/init/all.js
testing/profiles/prefs_general.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2602,21 +2602,17 @@ pref("layout.css.all-shorthand.enabled",
 
 // Is support for CSS variables enabled?
 pref("layout.css.variables.enabled", true);
 
 // Is support for CSS overflow-clip-box enabled for non-UA sheets?
 pref("layout.css.overflow-clip-box.enabled", false);
 
 // Is support for CSS grid enabled?
-#ifdef RELEASE_OR_BETA
-pref("layout.css.grid.enabled", false);
-#else
 pref("layout.css.grid.enabled", true);
-#endif
 
 // Is support for CSS "grid-template-{columns,rows}: subgrid X" enabled?
 pref("layout.css.grid-template-subgrid-value.enabled", false);
 
 // Is support for CSS contain enabled?
 pref("layout.css.contain.enabled", false);
 
 // Is support for CSS box-decoration-break enabled?
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -156,18 +156,17 @@ user_pref("datareporting.policy.dataSubm
 // Point Firefox Health Report at a local server. We don't care if it actually
 // works. It just can't hit the default production endpoint.
 user_pref("datareporting.healthreport.documentServerURI", "http://%(server)s/healthreport/");
 user_pref("datareporting.healthreport.about.reportUrl", "http://%(server)s/abouthealthreport/v4/");
 
 // Make sure CSS error reporting is enabled for tests
 user_pref("layout.css.report_errors", true);
 
-// Enable CSS Grid for testing
-user_pref("layout.css.grid.enabled", true);
+// Enable CSS Grid 'subgrid' feature for testing
 user_pref("layout.css.grid-template-subgrid-value.enabled", true);
 
 // Enable CSS 'contain' for testing
 user_pref("layout.css.contain.enabled", true);
 
 // Enable CSS initial-letter for testing
 user_pref("layout.css.initial-letter.enabled", true);