Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-22 11:38:17 +01:00 committed by Martin Robinson
parent 7b4fb5dc22
commit 0fd2f08da1
7 changed files with 34 additions and 30 deletions

View file

@ -160,8 +160,8 @@ impl FragmentTree {
let border = style.get_border();
Some(Rect::new(
Point2D::new(
border.border_left_width.px() as i32,
border.border_top_width.px() as i32,
border.border_left_width.to_px(),
border.border_top_width.to_px(),
),
Size2D::new(
padding_rect.size.width.px() as i32,