summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-01-03 20:52:31 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-02-20 23:35:47 +0800
commit024b7500d1aa18b4b9170297ac8b8015b772010b (patch)
tree3a449df80f916f1377e53be23c0a557dfd067065 /modules
parent9b1b294e294374cc6ccde925ca040e019c2daf39 (diff)
downloaduxp-024b7500d1aa18b4b9170297ac8b8015b772010b.tar.gz
Issue #2078 - Part 1: Update CSS rule processor to handle :is() and :where() CSS pseudo-classes
This modifies selector list parsing to accommodate being "forgiving". Aliases for the :is selector's former names were also included. Note that the older and prefixed variant `-moz-any` remains unforgiving.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index fe1dfb1c5d..d860a3cb4a 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2524,6 +2524,9 @@ pref("layout.css.prefixes.webkit", true);
// pref is set to false.)
pref("layout.css.prefixes.device-pixel-ratio-webkit", false);
+// Is support for the :is() and :where() selectors enabled?
+pref("layout.css.is-where-pseudo.enabled", true);
+
// Is support for the :scope selector enabled?
pref("layout.css.scope-pseudo.enabled", true);