From 189039bea5fabfe93018b7d2bb39f8cf95761ca8 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Sat, 23 Sep 2023 16:45:45 +0200 Subject: [PATCH] Further changes required by Servo --- components/style/style_adjuster.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/style_adjuster.rs b/components/style/style_adjuster.rs index 9ec0f576785..6fb2ecac4bf 100644 --- a/components/style/style_adjuster.rs +++ b/components/style/style_adjuster.rs @@ -7,6 +7,7 @@ use crate::computed_value_flags::ComputedValueFlags; use crate::dom::TElement; +#[cfg(feature = "gecko")] use crate::properties::longhands::contain::SpecifiedValue; use crate::properties::longhands::display::computed_value::T as Display; use crate::properties::longhands::float::computed_value::T as Float; @@ -247,6 +248,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> { .add_flags(ComputedValueFlags::IS_ROOT_ELEMENT_STYLE); } + #[cfg(feature = "gecko")] if self.style .get_box() .clone_contain()