mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
style: Fix formatting of recent changes.
This commit is contained in:
parent
cea6966fd2
commit
4d8fc4b8f7
9 changed files with 157 additions and 160 deletions
|
@ -8,12 +8,12 @@
|
|||
use crate::dom::TElement;
|
||||
use crate::properties::computed_value_flags::ComputedValueFlags;
|
||||
use crate::properties::longhands::display::computed_value::T as Display;
|
||||
#[cfg(feature = "gecko")]
|
||||
use crate::values::specified::box_::DisplayInside;
|
||||
use crate::properties::longhands::float::computed_value::T as Float;
|
||||
use crate::properties::longhands::overflow_x::computed_value::T as Overflow;
|
||||
use crate::properties::longhands::position::computed_value::T as Position;
|
||||
use crate::properties::{self, ComputedValues, StyleBuilder};
|
||||
#[cfg(feature = "gecko")]
|
||||
use crate::values::specified::box_::DisplayInside;
|
||||
use app_units::Au;
|
||||
|
||||
/// A struct that implements all the adjustment methods.
|
||||
|
@ -209,8 +209,10 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
#[cfg(feature = "gecko")]
|
||||
blockify_if!(
|
||||
self.style.pseudo.map_or(false, |p| p.is_marker()) &&
|
||||
self.style.get_parent_list().clone_list_style_position() == ListStylePosition::Outside &&
|
||||
layout_parent_style.get_box().clone_display().inside() != DisplayInside::Inline);
|
||||
self.style.get_parent_list().clone_list_style_position() ==
|
||||
ListStylePosition::Outside &&
|
||||
layout_parent_style.get_box().clone_display().inside() != DisplayInside::Inline
|
||||
);
|
||||
|
||||
if !blockify {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue