mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
style: Make border-spacing serialization consistent, and move it to precomputed_type.
This commit is contained in:
parent
f9c06d7932
commit
2ac1327e4b
21 changed files with 200 additions and 219 deletions
|
@ -474,8 +474,8 @@ pub fn specified_border_radius(
|
|||
containing_size: Size2D<Au>)
|
||||
-> Size2D<Au>
|
||||
{
|
||||
let w = radius.0.width.to_used_value(containing_size.width);
|
||||
let h = radius.0.height.to_used_value(containing_size.height);
|
||||
let w = radius.0.width().to_used_value(containing_size.width);
|
||||
let h = radius.0.height().to_used_value(containing_size.height);
|
||||
Size2D::new(w, h)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue