mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Change AnimatedValue for GreaterThanOrEqualToOneNumber to CSSFloat
This commit is contained in:
parent
f89ebf7fe9
commit
056abcbf5f
4 changed files with 19 additions and 21 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue