Auto-generate parsing/serialization code for grid-auto-{rows,columns}

This commit is contained in:
Ravi Shankar 2017-02-15 15:12:47 +05:30
parent 7099743bbf
commit 048f1f3316
3 changed files with 25 additions and 1 deletions

View file

@ -272,4 +272,14 @@ ${helpers.predefined_type("object-position",
products="gecko",
boxed=True)}
% endfor
// NOTE: According to the spec, this should handle multiple values of `<track-size>`,
// but gecko supports only a single value
${helpers.predefined_type("grid-auto-%ss" % kind,
"TrackSize",
"Default::default()",
animatable=False,
spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-%ss" % kind,
products="gecko",
boxed=True)}
% endfor