Based on the spec [1][2], it seems the repeat() notation is resolved in resolved values, instead of computed track list. The current Gecko expands repeat() (with numeric repeat count) in ToComputedValue [3]. This may be incorrect, and will have impact on interpolation between repeat()s. [1] https://drafts.csswg.org/css-grid/#computed-track-list [2] https://drafts.csswg.org/css-grid/#resolved-track-list [3] https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/servo/components/style/values/specified/grid.rs#327 BTW, there is a discussion about interpolating repeat(): https://github.com/w3c/csswg-drafts/issues/3503
Bug 1519958 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Based on the spec [1][2], it seems the repeat() notation is resolved in resolved values, instead of computed track list. The current Gecko expands repeat() (with numeric repeat count) in ToComputedValue [3]. This is incorrect, and will have impact on interpolation between repeat()s. [1] https://drafts.csswg.org/css-grid/#computed-track-list [2] https://drafts.csswg.org/css-grid/#resolved-track-list [3] https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/servo/components/style/values/specified/grid.rs#327 BTW, there is a discussion about interpolating repeat(): https://github.com/w3c/csswg-drafts/issues/3503