style: Be consistent with naming and serialization of "0" with LenghtOrPercentageOrNumber.

This commit is contained in:
Emilio Cobos Álvarez 2017-03-26 20:09:56 +02:00
parent c2d9f663af
commit 5ca16a844c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 12 additions and 10 deletions

View file

@ -400,7 +400,7 @@ impl ToCss for SVGPaint {
}
/// <length> | <percentage> | <number>
pub type LoPOrNumber = Either<LengthOrPercentage, Number>;
pub type LengthOrPercentageOrNumber = Either<LengthOrPercentage, Number>;
#[derive(Clone, PartialEq, Eq, Copy, Debug)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]