diff --git a/components/style/values/specified/length.rs b/components/style/values/specified/length.rs index 840991a0dac..acee43f4b38 100644 --- a/components/style/values/specified/length.rs +++ b/components/style/values/specified/length.rs @@ -994,6 +994,10 @@ impl NonNegativeLengthPercentage { pub type LengthOrNormal = Either; /// Either a `` 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; impl LengthOrAuto {