Re: [csswg-drafts] [css-grid] Interpolate repeat() (#3503)

Hm. My first instinct is to say no to both, and require an exact match on the first arg. 

But that's not actually a very consistent position; if I'm fine with `repeat(auto-fill, 20px)` => `repeat(auto-fill, 10px)`, which at used-value time (if we pretend a 40px container) is equivalent to `repeat(2, 20px)` => `repeat(4, 10px)`, then I should be fine with that 2=4 transition directly.

So I think I agree. We can do either of the following:

* require that the first arg is a number, and identical between start/end; different values, or keyword values, both go discrete
* allow any values for the first arg: if they've the same value they transition by doing nothing; if they're different numbers they transition as integers; otherwise the whole function transitions discretely

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3503#issuecomment-453674839 using your GitHub account

Received on Friday, 11 January 2019 22:17:20 UTC