mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
style: Remove modify_style_for_anonymous_table_object
, now that the
cascade takes care of it.
This commit is contained in:
parent
a7f64f3d33
commit
8b138e5e75
1 changed files with 0 additions and 12 deletions
|
@ -1927,18 +1927,6 @@ pub fn modify_border_style_for_inline_sides(style: &mut Arc<ComputedValues>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adjusts the display and position properties as appropriate for an anonymous table object.
|
|
||||||
#[cfg(feature = "servo")]
|
|
||||||
#[inline]
|
|
||||||
pub fn modify_style_for_anonymous_table_object(
|
|
||||||
style: &mut Arc<ComputedValues>,
|
|
||||||
new_display_value: longhands::display::computed_value::T) {
|
|
||||||
let mut style = Arc::make_mut(style);
|
|
||||||
let box_style = Arc::make_mut(&mut style.box_);
|
|
||||||
box_style.display = new_display_value;
|
|
||||||
box_style.position = longhands::position::computed_value::T::static_;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Adjusts the `position` property as necessary for the outer fragment wrapper of an inline-block.
|
/// Adjusts the `position` property as necessary for the outer fragment wrapper of an inline-block.
|
||||||
#[cfg(feature = "servo")]
|
#[cfg(feature = "servo")]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue