aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/macros.rs')
-rw-r--r--components/style/macros.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/style/macros.rs b/components/style/macros.rs
index 4edcf3f7d08..503c13ba283 100644
--- a/components/style/macros.rs
+++ b/components/style/macros.rs
@@ -95,7 +95,7 @@ macro_rules! define_keyword_type {
#[allow(missing_docs)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, PartialEq)]
- #[derive(ToAnimatedZero, ToCss)]
+ #[derive(ToAnimatedZero, ToComputedValue, ToCss)]
pub struct $name;
impl fmt::Debug for $name {
@@ -113,7 +113,6 @@ macro_rules! define_keyword_type {
}
}
- impl $crate::values::computed::ComputedValueAsSpecified for $name {}
impl $crate::values::animated::AnimatedValueAsComputed for $name {}
};
}