From 1d321e689e7dcad9cf9519c19e0710c6bf1333a7 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 23 Jul 2020 23:16:18 +0000 Subject: [css] Enable various arbitrarily-disabled CSS features in the platform. These should all be spec-compliant and were (for release-trickling of features) arbitrarily disabled by Mozilla at our fork point. There's no real reason to keep them disabled since they are used in the wild. --- modules/libpref/init/all.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 69a6d0de3..90a178d9c 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2492,7 +2492,7 @@ pref("layout.css.scroll-snap.prediction-max-velocity", 2000); pref("layout.css.scroll-snap.prediction-sensitivity", "0.750"); // Is support for basic shapes in clip-path enabled? -pref("layout.css.clip-path-shapes.enabled", false); +pref("layout.css.clip-path-shapes.enabled", true); // Is support for DOMPoint enabled? pref("layout.css.DOMPoint.enabled", true); @@ -2504,18 +2504,10 @@ pref("layout.css.DOMQuad.enabled", true); pref("layout.css.DOMMatrix.enabled", true); // Is support for GeometryUtils.getBoxQuads enabled? -#ifdef RELEASE_OR_BETA -pref("layout.css.getBoxQuads.enabled", false); -#else pref("layout.css.getBoxQuads.enabled", true); -#endif // Is support for GeometryUtils.convert*FromNode enabled? -#ifdef RELEASE_OR_BETA -pref("layout.css.convertFromNode.enabled", false); -#else pref("layout.css.convertFromNode.enabled", true); -#endif // Is support for CSS "text-align: unsafe X" enabled? pref("layout.css.text-align-unsafe-value.enabled", false); @@ -2525,11 +2517,7 @@ pref("layout.css.text-justify.enabled", true); // Is support for CSS "float: inline-{start,end}" and // "clear: inline-{start,end}" enabled? -#if !defined(RELEASE_OR_BETA) pref("layout.css.float-logical-values.enabled", true); -#else -pref("layout.css.float-logical-values.enabled", false); -#endif // Is support for the CSS4 image-orientation property enabled? pref("layout.css.image-orientation.enabled", true); -- cgit v1.2.3