mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Further changes required by Servo
This commit is contained in:
parent
7b4fb5dc22
commit
0fd2f08da1
7 changed files with 34 additions and 30 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue