diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-03-18 09:36:25 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-03-23 12:17:59 +0100 |
commit | 5fc444a0b6e47fb3ab1168ad0cb49a95a38c9dfb (patch) | |
tree | 43eac09c4e676acf3e783fa423c2e15405cadba3 /modules | |
parent | d2be38e92b72b0cb53eb5c42acbde83a46e4a6b4 (diff) | |
download | uxp-5fc444a0b6e47fb3ab1168ad0cb49a95a38c9dfb.tar.gz |
Issue #1592 - Part 2: Parse ::slotted() pseudo-element as if it were a pseudo-class
- Block slot elements from being matched by ::slotted
- Ensure ::slotted() is serialized as a pseudo-element
- Add pref to control whether the pseudo-class is enabled
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libpref/init/all.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index f47fb216b2..81ff58a16c 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2524,6 +2524,9 @@ pref("layout.css.legacy-negation-pseudo.enabled", false); // Is support for the :is() and :where() selectors enabled? pref("layout.css.is-where-pseudo.enabled", true); +// Is support for the ::slotted() selector enabled? +pref("layout.css.slotted-pseudo.enabled", true); + // Is support for the :scope selector enabled? pref("layout.css.scope-pseudo.enabled", true); |