style: Support multiple track sizes for grid-auto-{columns|rows}.

Support `<track-size>+` on the implicit track sizing properties,
grid-auto-columns and grid-auto-rows.

Differential Revision: https://phabricator.services.mozilla.com/D38408
This commit is contained in:
Boris Chiou 2019-08-06 18:32:16 +00:00 committed by Emilio Cobos Álvarez
parent 69191d8b8c
commit 29f6db4d16
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
6 changed files with 76 additions and 22 deletions

View file

@ -357,16 +357,13 @@ ${helpers.predefined_type(
)}
% 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",
"ImplicitGridTracks",
"Default::default()",
engines="gecko",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-%ss" % kind,
boxed=True,
)}
${helpers.predefined_type(