mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -348,8 +348,8 @@ impl ToAnimatedValue for ComputedBorderCornerRadius {
|
|||
|
||||
#[inline]
|
||||
fn from_animated_value(animated: Self::AnimatedValue) -> Self {
|
||||
ComputedBorderCornerRadius::new(animated.0.width.clamp_to_non_negative(),
|
||||
animated.0.height.clamp_to_non_negative())
|
||||
ComputedBorderCornerRadius::new((animated.0).0.width.clamp_to_non_negative(),
|
||||
(animated.0).0.height.clamp_to_non_negative())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue