mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: followup: Add a comment as requested on Phabricator.
This commit is contained in:
parent
14e6875ef9
commit
18a0c9b033
1 changed files with 4 additions and 0 deletions
|
@ -994,6 +994,10 @@ impl NonNegativeLengthPercentage {
|
|||
pub type LengthOrNormal = Either<Length, Normal>;
|
||||
|
||||
/// Either a `<length>` or the `auto` keyword.
|
||||
///
|
||||
/// Note that we use LengthPercentage just for convenience, since it pretty much
|
||||
/// is everything we care about, but we could just add a similar LengthOrAuto
|
||||
/// instead if we think getting rid of this weirdness is worth it.
|
||||
pub type LengthOrAuto = generics::LengthPercentageOrAuto<Length>;
|
||||
|
||||
impl LengthOrAuto {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue