From 14a0e74ca34e702a603277c0b4182689bba4a24d Mon Sep 17 00:00:00 2001 From: Ramshell Date: Fri, 6 Apr 2018 12:23:25 -0300 Subject: [PATCH] Remove col_gap_type variable --- components/style/properties/longhand/column.mako.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/components/style/properties/longhand/column.mako.rs b/components/style/properties/longhand/column.mako.rs index a4da425d0a7..5ed8164e7eb 100644 --- a/components/style/properties/longhand/column.mako.rs +++ b/components/style/properties/longhand/column.mako.rs @@ -30,16 +30,14 @@ ${helpers.predefined_type( )} -<% -col_gap_type = "NonNegativeLengthOrPercentageOrNormal" -%> + ${helpers.predefined_type( "column-gap", - "length::%s" % col_gap_type, + "length::NonNegativeLengthOrPercentageOrNormal", "Either::Second(Normal)", extra_prefixes="moz", servo_pref="layout.columns.enabled", - animation_value_type=col_gap_type, + animation_value_type="NonNegativeLengthOrPercentageOrNormal", spec="https://drafts.csswg.org/css-multicol/#propdef-column-gap", servo_restyle_damage = "reflow", )}