style: Implement -webkit-line-clamp.

Differential Revision: https://phabricator.services.mozilla.com/D20115
This commit is contained in:
Cameron McCormack 2019-05-09 02:32:30 +00:00 committed by Emilio Cobos Álvarez
parent 81e706469d
commit ca756a8550
5 changed files with 42 additions and 2 deletions

View file

@ -640,6 +640,9 @@ impl From<CSSInteger> for PositiveInteger {
}
}
/// A computed positive `<integer>` value or `none`.
pub type PositiveIntegerOrNone = Either<PositiveInteger, None_>;
/// rect(...)
pub type ClipRect = generics::ClipRect<LengthOrAuto>;