mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix padding
This commit is contained in:
parent
b75b2de8bb
commit
4017839fe2
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ impl BoxModel {
|
|||
// FIXME(eatkinson): Handle 'em' and 'pt' correctly
|
||||
Au::from_frac_px(v)
|
||||
}
|
||||
CSSPaddingPercentage(p) => content_box_width.scale_by(p)
|
||||
CSSPaddingPercentage(p) => content_box_width.scale_by(p/100.0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue