mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Parse min-height
and max-height
This commit is contained in:
parent
897c679be2
commit
e6adc54df2
1 changed files with 7 additions and 0 deletions
|
@ -318,6 +318,13 @@ pub mod longhands {
|
||||||
"computed::LPN_None",
|
"computed::LPN_None",
|
||||||
"parse_non_negative")}
|
"parse_non_negative")}
|
||||||
|
|
||||||
|
${predefined_type("min-height", "LengthOrPercentage",
|
||||||
|
"computed::LP_Length(Au(0))",
|
||||||
|
"parse_non_negative")}
|
||||||
|
${predefined_type("max-height", "LengthOrPercentageOrNone",
|
||||||
|
"computed::LPN_None",
|
||||||
|
"parse_non_negative")}
|
||||||
|
|
||||||
${new_style_struct("InheritedBox", is_inherited=True)}
|
${new_style_struct("InheritedBox", is_inherited=True)}
|
||||||
|
|
||||||
<%self:single_component_value name="line-height">
|
<%self:single_component_value name="line-height">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue