Bug 1294660: Part 1 - enable CSS positioned mask on nightly and aurora. draft
authorAstley Chen <aschen@mozilla.com>
Fri, 26 Aug 2016 08:56:17 +0800
changeset 405856 9cc9c8359dd24d446d5802928b2fe6ea796e049b
parent 405855 a551f534773cf2d6933f78ce7d82a7a33a99643e
child 405857 28ec8af073858be8a2f508debc6b6b1cf07b6296
push id27574
push useraschen@mozilla.com
push dateFri, 26 Aug 2016 00:57:21 +0000
bugs1294660
milestone51.0a1
Bug 1294660: Part 1 - enable CSS positioned mask on nightly and aurora. MozReview-Commit-ID: LIgq4aMeXnj
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -6098,23 +6098,29 @@ fi
 
 if test "$MOZ_WIDGET_TOOLKIT" = "cocoa"; then
     USE_ICU=1
 fi
 
 MOZ_CONFIG_ICU()
 
 dnl ========================================================
-dnl mask as short hand property
-dnl ========================================================
-dnl Uncommenting the next line would enable mask-as-shorthand feature.
-dnl MOZ_ENABLE_MASK_AS_SHORTHAND=1
-if test "$MOZ_ENABLE_MASK_AS_SHORTHAND"; then
+dnl mask as shorthand property
+dnl ========================================================
+
+# The control structure code will be removed as soon as the feature is stable
+# Refer to bug 1281101 for more details.
+
+# Enable mask-as-shorthand property by default for nightly and aurora channels
+if test -z "$RELEASE_BUILD"; then
+  dnl mask as shorthand property enabled
+  MOZ_ENABLE_MASK_AS_SHORTHAND=1
   AC_DEFINE(MOZ_ENABLE_MASK_AS_SHORTHAND)
 fi
+
 AC_SUBST(MOZ_ENABLE_MASK_AS_SHORTHAND)
 
 # Avoid using obsolete NSPR features
 AC_DEFINE(NO_NSPR_10_SUPPORT)
 
 # Don't build NSS libpkix
 NSS_DISABLE_LIBPKIX=1
 AC_SUBST(NSS_DISABLE_LIBPKIX)