Change AnimatedValue for GreaterThanOrEqualToOneNumber to CSSFloat

This commit is contained in:
Anthony Ramine 2018-02-12 23:35:18 +01:00
parent f89ebf7fe9
commit 056abcbf5f
4 changed files with 19 additions and 21 deletions

View file

@ -121,6 +121,11 @@ pub enum LineHeight<Number, LengthOrPercentage> {
Length(LengthOrPercentage),
}
impl<N, L> ToAnimatedZero for LineHeight<N, L> {
#[inline]
fn to_animated_zero(&self) -> Result<Self, ()> { Err(()) }
}
impl<N, L> LineHeight<N, L> {
/// Returns `normal`.
#[inline]