Fix parsing bugs in grid-gap and grid-line

This commit is contained in:
Ravi Shankar 2017-05-23 12:17:03 +05:30
parent 9468fae0d4
commit 7dbd17bf70
2 changed files with 22 additions and 7 deletions

View file

@ -223,6 +223,7 @@ ${helpers.predefined_type("object-position",
${helpers.predefined_type("grid-%s-gap" % kind,
"LengthOrPercentage",
"computed::LengthOrPercentage::Length(Au(0))",
"parse_non_negative",
spec="https://drafts.csswg.org/css-grid/#propdef-grid-%s-gap" % kind,
animation_value_type="ComputedValue",
products="gecko")}