mirror of
https://github.com/servo/servo.git
synced 2025-07-31 19:20:22 +01:00
Further changes required by Servo
This commit is contained in:
parent
64febfbe9a
commit
189039bea5
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
use crate::computed_value_flags::ComputedValueFlags;
|
use crate::computed_value_flags::ComputedValueFlags;
|
||||||
use crate::dom::TElement;
|
use crate::dom::TElement;
|
||||||
|
#[cfg(feature = "gecko")]
|
||||||
use crate::properties::longhands::contain::SpecifiedValue;
|
use crate::properties::longhands::contain::SpecifiedValue;
|
||||||
use crate::properties::longhands::display::computed_value::T as Display;
|
use crate::properties::longhands::display::computed_value::T as Display;
|
||||||
use crate::properties::longhands::float::computed_value::T as Float;
|
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);
|
.add_flags(ComputedValueFlags::IS_ROOT_ELEMENT_STYLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "gecko")]
|
||||||
if self.style
|
if self.style
|
||||||
.get_box()
|
.get_box()
|
||||||
.clone_contain()
|
.clone_contain()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue