mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Combine LengthOrPercentage and Auto into LengthOrPercentageOrAuto for {Min,Max}Length.
This commit is contained in:
parent
323760f47e
commit
95bda2dff9
5 changed files with 54 additions and 80 deletions
|
@ -164,7 +164,7 @@ ${helpers.predefined_type("flex-basis",
|
|||
% for min_max in ["min", "max"]:
|
||||
<%
|
||||
MinMax = min_max.title()
|
||||
initial = "None" if "max" == min_max else "Auto"
|
||||
initial = "none()" if "max" == min_max else "auto()"
|
||||
%>
|
||||
|
||||
// min-width, min-height, min-block-size, min-inline-size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue