From 07012279061baa5221d0eb2bc7ccd19f5f299aa9 Mon Sep 17 00:00:00 2001 From: hiei23 Date: Wed, 8 Feb 2017 21:23:04 -0500 Subject: [PATCH] -added parsing and serialization for grid-{row,column}-gap updated missing products='gecko' in grid-row-gap and grip-column-gap --- .../style/properties/longhand/position.mako.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/style/properties/longhand/position.mako.rs b/components/style/properties/longhand/position.mako.rs index adb66cdc3a4..1c644899873 100644 --- a/components/style/properties/longhand/position.mako.rs +++ b/components/style/properties/longhand/position.mako.rs @@ -220,3 +220,17 @@ ${helpers.single_keyword("object-fit", "fill contain cover none scale-down", spec="https://drafts.csswg.org/css-grid/#propdef-%s" % longhand, products="gecko")} % endfor + +${helpers.predefined_type("grid-row-gap", + "LengthOrPercentage", + "computed::LengthOrPercentage::Length(Au(0))", + spec="https://drafts.csswg.org/css-grid/#propdef-grid-row-gap", + animatable=True, + products="gecko")} + +${helpers.predefined_type("grid-column-gap", + "LengthOrPercentage", + "computed::LengthOrPercentage::Length(Au(0))", + spec="https://drafts.csswg.org/css-grid/#propdef-grid-column-gap", + animatable=True, + products="gecko")}