summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-23 23:16:18 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-23 23:16:18 +0000
commit1e0bb1d355ffd55311f9544b35cff2a58b0340a8 (patch)
tree203af78f2a2722f12ea312b5eef256c39b729361
parent066caa4ee90db276ae0b3fdd9c0b2ea594e0d012 (diff)
downloaduxp-1e0bb1d355ffd55311f9544b35cff2a58b0340a8.tar.gz
[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.
-rw-r--r--modules/libpref/init/all.js14
1 files changed, 1 insertions, 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);