mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Streamline parsing of NonNegativeLengthOrNumber a bit
This commit is contained in:
parent
f097dfad59
commit
4a98fa70bf
5 changed files with 20 additions and 31 deletions
|
@ -902,7 +902,7 @@ pub type NonNegativeLengthOrAuto = Either<NonNegativeLength, Auto>;
|
|||
pub type NonNegativeLengthOrNormal = Either<NonNegativeLength, Normal>;
|
||||
|
||||
/// Either a computed NonNegativeLength or a NonNegativeNumber value.
|
||||
pub type NonNegativeLengthOrNumber = Either<NonNegativeLength, NonNegativeNumber>;
|
||||
pub type NonNegativeLengthOrNumber = Either<NonNegativeNumber, NonNegativeLength>;
|
||||
|
||||
/// A type for possible values for min- and max- flavors of width, height,
|
||||
/// block-size, and inline-size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue