From 1e0bb1d355ffd55311f9544b35cff2a58b0340a8 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(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 855488850f..93c821dda7 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2489,7 +2489,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); @@ -2501,18 +2501,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); @@ -2522,11 +2514,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