Skip to content
Browse files

style: followup: Add a comment as requested on Phabricator.

  • Loading branch information...
emilio committed Mar 6, 2019
1 parent 14e6875 commit 18a0c9b03335caa974c140f6d246ef411a29e280
Showing with 4 additions and 0 deletions.
  1. +4 −0 components/style/values/specified/
@@ -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 {

0 comments on commit 18a0c9b

Please sign in to comment.
You can’t perform that action at this time.