mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Implement -webkit-line-clamp.
Differential Revision: https://phabricator.services.mozilla.com/D20115
This commit is contained in:
parent
81e706469d
commit
ca756a8550
5 changed files with 42 additions and 2 deletions
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue