aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/display_list_builder.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 2e4ae665ea9..b866ae2c2fd 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -46,8 +46,8 @@ use servo_util::opts;
use std::default::Default;
use std::iter::repeat;
use std::num::FloatMath;
-use style::computed::{AngleOrCorner, LengthOrPercentage, HorizontalDirection, VerticalDirection};
-use style::computed::{Image, LinearGradient};
+use style::values::specified::{AngleOrCorner, HorizontalDirection, VerticalDirection};
+use style::computed::{Image, LinearGradient, LengthOrPercentage};
use style::computed_values::filter::Filter;
use style::computed_values::{background_attachment, background_repeat, border_style, overflow};
use style::computed_values::{position, visibility};
@@ -222,13 +222,13 @@ fn build_border_radius(abs_bounds: &Rect<Au>, border_style: &Border) -> BorderRa
// radii will be relative to the width.
BorderRadii {
- top_left: model::specified(border_style.border_top_left_radius.radius,
+ top_left: model::specified(border_style.border_top_left_radius,
abs_bounds.size.width),
- top_right: model::specified(border_style.border_top_right_radius.radius,
+ top_right: model::specified(border_style.border_top_right_radius,
abs_bounds.size.width),
- bottom_right: model::specified(border_style.border_bottom_right_radius.radius,
+ bottom_right: model::specified(border_style.border_bottom_right_radius,
abs_bounds.size.width),
- bottom_left: model::specified(border_style.border_bottom_left_radius.radius,
+ bottom_left: model::specified(border_style.border_bottom_left_radius,
abs_bounds.size.width),
}
}