mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Kill AnimatedValueAsComputed
This commit is contained in:
parent
57daf06c71
commit
a90e660eac
2 changed files with 23 additions and 27 deletions
|
@ -68,8 +68,8 @@ macro_rules! try_match_ident_ignore_ascii_case {
|
|||
macro_rules! define_keyword_type {
|
||||
($name: ident, $css: expr) => {
|
||||
#[allow(missing_docs)]
|
||||
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, MallocSizeOf, PartialEq)]
|
||||
#[derive(ToAnimatedZero, ToComputedValue, ToCss)]
|
||||
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, MallocSizeOf)]
|
||||
#[derive(PartialEq, ToAnimatedValue, ToAnimatedZero, ToComputedValue, ToCss)]
|
||||
pub struct $name;
|
||||
|
||||
impl fmt::Debug for $name {
|
||||
|
@ -86,8 +86,6 @@ macro_rules! define_keyword_type {
|
|||
input.expect_ident_matching($css).map(|_| $name).map_err(|e| e.into())
|
||||
}
|
||||
}
|
||||
|
||||
impl $crate::values::animated::AnimatedValueAsComputed for $name {}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue