aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhiei23 <yuikazuga_25@hotmail.co.uk>2017-02-08 21:23:04 -0500
committersi hua <yuikazuga_25@hotmail.co.uk>2017-02-10 13:10:16 -0500
commit07012279061baa5221d0eb2bc7ccd19f5f299aa9 (patch)
tree4f8f83af7ed974f6267eb1ae854b87af42f2994d
parent9c5abebd470cc0fe4af27929c2bd8a737d351e3f (diff)
downloadservo-07012279061baa5221d0eb2bc7ccd19f5f299aa9.tar.gz
servo-07012279061baa5221d0eb2bc7ccd19f5f299aa9.zip
-added parsing and serialization for grid-{row,column}-gap
updated missing products='gecko' in grid-row-gap and grip-column-gap
-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")}