mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Remove layout.css.xul-tree-pseudos.content.enabled.
We unshipped these a while ago and left the pref just for testing purposes. But now all the reftests using it were conveniently migrated to chrome:// tests, so we no longer need it. Differential Revision: https://phabricator.services.mozilla.com/D56950
This commit is contained in:
parent
108f61928b
commit
45af831c82
1 changed files with 1 additions and 5 deletions
|
@ -112,11 +112,7 @@ impl PseudoElement {
|
|||
% for pseudo in PSEUDOS:
|
||||
${pseudo_element_variant(pseudo)} =>
|
||||
% if pseudo.is_tree_pseudo_element():
|
||||
if static_prefs::pref!("layout.css.xul-tree-pseudos.content.enabled") {
|
||||
0
|
||||
} else {
|
||||
structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME
|
||||
},
|
||||
structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME,
|
||||
% elif pseudo.is_anon_box():
|
||||
structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS,
|
||||
% else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue