aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/style/properties/longhand/position.mako.rs14
1 files changed, 14 insertions, 0 deletions
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")}