mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Properly implement ToAnimatedZero for BorderSpacing
This commit is contained in:
parent
b17fea1d7f
commit
52f0fcabad
4 changed files with 15 additions and 10 deletions
|
@ -43,7 +43,7 @@ impl<L> BorderCornerRadius<L> {
|
|||
|
||||
/// A generic value for the `border-spacing` property.
|
||||
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, Debug, MallocSizeOf)]
|
||||
#[derive(PartialEq, ToAnimatedValue, ToComputedValue, ToCss)]
|
||||
#[derive(PartialEq, ToAnimatedValue, ToAnimatedZero, ToComputedValue, ToCss)]
|
||||
pub struct BorderSpacing<L>(pub Size<L>);
|
||||
|
||||
impl<L> BorderSpacing<L> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue