Loading servo/components/style/properties/cascade.rs +1 −0 Original line number Diff line number Diff line Loading @@ -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 servo/components/style/values/computed/image.rs +3 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ pub type Gradient = generic::GenericGradient< Color, >; /// A computed radial gradient ending shape. pub type EndingShape = generic::GenericEndingShape<NonNegativeLength, NonNegativeLengthPercentage>; /// A computed gradient line direction. #[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, ToResolvedValue)] #[repr(C, u8)] Loading servo/components/style/values/specified/box.rs +3 −3 Original line number Diff line number Diff line Loading @@ -1155,9 +1155,9 @@ bitflags! { fn change_bits_for_longhand(longhand: LonghandId) -> WillChangeBits { let mut flags = match longhand { LonghandId::Opacity => WillChangeBits::OPACITY, LonghandId::Transform | LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => { WillChangeBits::TRANSFORM }, LonghandId::Transform => WillChangeBits::TRANSFORM, #[cfg(feature = "gecko")] LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => WillChangeBits::TRANSFORM, _ => WillChangeBits::empty(), }; Loading Loading
servo/components/style/properties/cascade.rs +1 −0 Original line number Diff line number Diff line Loading @@ -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
servo/components/style/values/computed/image.rs +3 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ pub type Gradient = generic::GenericGradient< Color, >; /// A computed radial gradient ending shape. pub type EndingShape = generic::GenericEndingShape<NonNegativeLength, NonNegativeLengthPercentage>; /// A computed gradient line direction. #[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, ToResolvedValue)] #[repr(C, u8)] Loading
servo/components/style/values/specified/box.rs +3 −3 Original line number Diff line number Diff line Loading @@ -1155,9 +1155,9 @@ bitflags! { fn change_bits_for_longhand(longhand: LonghandId) -> WillChangeBits { let mut flags = match longhand { LonghandId::Opacity => WillChangeBits::OPACITY, LonghandId::Transform | LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => { WillChangeBits::TRANSFORM }, LonghandId::Transform => WillChangeBits::TRANSFORM, #[cfg(feature = "gecko")] LonghandId::Translate | LonghandId::Rotate | LonghandId::Scale => WillChangeBits::TRANSFORM, _ => WillChangeBits::empty(), }; Loading