Skip to content

Commit

Permalink
style: Remove modify_style_for_anonymous_table_object, now that the
Browse files Browse the repository at this point in the history
cascade takes care of it.
  • Loading branch information
pcwalton committed Oct 26, 2016
1 parent a7f64f3 commit 8b138e5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions components/style/properties/properties.mako.rs
Expand Up @@ -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.
#[cfg(feature = "servo")]
#[inline]
Expand Down

0 comments on commit 8b138e5

Please sign in to comment.