mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Change AnimatedValue for NonNegativeNumber to CSSFloat
This commit is contained in:
parent
da5acc81d2
commit
f89ebf7fe9
5 changed files with 22 additions and 42 deletions
|
@ -64,7 +64,7 @@ where
|
|||
|
||||
/// Convenience void type to disable some properties and values through types.
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, MallocSizeOf, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, ToComputedValue, ToCss)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, ToAnimatedValue, ToComputedValue, ToCss)]
|
||||
pub enum Impossible {}
|
||||
|
||||
// FIXME(nox): This should be derived but the derive code cannot cope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue