Re: [csswg-drafts] [css-grid] How to serialize the strings in grid-template-areas? (#3261)

> I'm not sure that arguing for consistency with repeat() makes sense here. The rules for unwinding repeat() notations are for getComputedStyle, which returns used values. This question is about specified values.

Yeah I was somehow mixing both things.

The problem is that in Chromium/WebKit that for `grid-template-rows: repeat(4, 20px)` we return as specified value `20px 20px 20px 20px` ([bug #716114](https://bugs.chromium.org/p/chromium/issues/detail?id=716114)) and also as computed value (I'm sorry but I haven't investigated this well enough to know how complex/easy it would be to fix it).
However Firefox only does it for the computed value, and returns `repeat(4, 20px)` as specified value.

So one question could be if we should we change `grid-template-columns|rows` to be consistent to `grid-template-areas` regarding specified values being the same than computed values?

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

Received on Thursday, 13 December 2018 09:33:04 UTC