From a399acd57cdad2935f3edf43925ecb020b5eff59 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 11 Feb 2020 23:59:53 +0100 Subject: [CSS] Add stub for font-variation-settings This stub is added because websites insist on considering this very hardware-dependent and O.S.-variable low-level font-control as a "critical feature" which it isn't as there is 0 guarantee that font variation settings are supported or honored by any operating system used by the client. On top this is a WD status feature that sites shouldn't be using, and the feature itself is strongly discouraged for use in favor of standard CSS font manipulation keywords like `font-weight`. --- modules/libpref/init/all.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 9adfb8918..6aa0111ef 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2528,6 +2528,9 @@ pref("layout.css.image-orientation.enabled", true); // Is support for the font-display @font-face descriptor enabled? pref("layout.css.font-display.enabled", false); +// Enable the font variation stub code? +pref("layout.css.font-variations.stub", true); + // Are sets of prefixed properties supported? pref("layout.css.prefixes.border-image", true); pref("layout.css.prefixes.transforms", true); -- cgit v1.2.3