style: Implement scroll-padding parser and serializer.

Differential Revision: https://phabricator.services.mozilla.com/D20103
This commit is contained in:
Hiroyuki Ikezoe 2019-02-18 02:46:09 +00:00 committed by Emilio Cobos Álvarez
parent 79a5e97c13
commit 7cbaaf6734
5 changed files with 50 additions and 2 deletions

View file

@ -503,7 +503,7 @@ impl LengthPercentageOrAuto {
/// A wrapper of LengthPercentageOrAuto, whose value must be >= 0.
pub type NonNegativeLengthPercentageOrAuto =
generics::LengthPercentageOrAuto<NonNegativeLengthPercentage>;
generics::GenericLengthPercentageOrAuto<NonNegativeLengthPercentage>;
impl NonNegativeLengthPercentageOrAuto {
computed_length_percentage_or_auto!(NonNegativeLengthPercentage);