style: Enable multiple grid repeat values in Servo.

Differential Revision: https://phabricator.services.mozilla.com/D60931
This commit is contained in:
Emily McDonough 2020-03-19 22:11:48 +00:00 committed by Emilio Cobos Álvarez
parent b85b6ac16f
commit e0b4619fa5
2 changed files with 0 additions and 18 deletions

View file

@ -185,16 +185,6 @@ impl TrackRepeat<LengthPercentage, Integer> {
values.push(track_size);
names.push(current_names);
if is_auto {
// FIXME: In the older version of the spec
// (https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-auto-repeat),
// if the repeat type is `<auto-repeat>` we shouldn't try to parse more than
// one `TrackSize`. But in current version of the spec, this is deprecated
// but we are adding this for gecko parity. We should remove this when
// gecko implements new spec.
names.push(input.try(parse_line_names).unwrap_or_default());
break;
}
} else {
if values.is_empty() {
// expecting at least one <track-size>