style: Add bindings for LengthPercentage, and use it for text-indent.

Which is the only property that uses LengthPercentage alone.

Differential Revision: https://phabricator.services.mozilla.com/D17737
This commit is contained in:
Emilio Cobos Álvarez 2019-01-26 11:00:06 +01:00
parent 207ff730c2
commit 15f503d000
3 changed files with 25 additions and 4 deletions

View file

@ -1389,7 +1389,7 @@ impl Clone for ${style_struct.gecko_struct_name} {
"FlexBasis": impl_style_coord,
"Length": impl_absolute_length,
"LengthOrNormal": impl_style_coord,
"LengthPercentage": impl_style_coord,
"LengthPercentage": impl_simple,
"LengthPercentageOrAuto": impl_style_coord,
"LengthPercentageOrNone": impl_style_coord,
"MaxLength": impl_style_coord,