Skip to content

Commit

Permalink
Fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Atkinson authored and pcwalton committed Jun 12, 2013
1 parent b75b2de commit 4017839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/layout/model.rs
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 4017839

Please sign in to comment.