mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Fix servo build.
This commit is contained in:
parent
33d39d37a2
commit
031cb05c67
3 changed files with 7 additions and 3 deletions
|
@ -374,6 +374,7 @@ fn should_ignore_declaration_when_ignoring_document_colors(
|
|||
// In the future, if/when we remove the backplate pref, we can remove this
|
||||
// special case along with the 'ignored_when_colors_disabled=True' mako line
|
||||
// for the "background-image" property.
|
||||
#[cfg(feature = "gecko")]
|
||||
PropertyDeclaration::BackgroundImage(..) => return !static_prefs::pref!("browser.display.permit_backplate"),
|
||||
_ => return true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue