Closed
Bug 1136908
Opened 10 years ago
Closed 4 years ago
[css-grid] Need test in property_database.js for nested repeat() syntax being rejected, for grid-template-rows & grid-template-columns
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1118820
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=css])
CSS Grid section 5.1.2 says:
# The repeat() notation cannot be nested;
# doing so makes the declaration invalid.
AFAICT, we don't have any automated tests for this (though local testing indicates that we do correctly reject it, if I'm testing it right).
We should add such a test.
I think a sample invalid value would be:
grid-template-columns: repeat(1, repeat(1, 20px));
(whereas "grid-template-columns: repeat(1, 20px);" is valid)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Summary: Need test in property_database.js for nested repeat() syntax being rejected → Need test in property_database.js for nested repeat() syntax being rejected, for grid-template-rows & grid-template-columns
Updated•9 years ago
|
Severity: normal → enhancement
Summary: Need test in property_database.js for nested repeat() syntax being rejected, for grid-template-rows & grid-template-columns → [css-grid] Need test in property_database.js for nested repeat() syntax being rejected, for grid-template-rows & grid-template-columns
Whiteboard: [good first bug][lang=css]
Updated•5 years ago
|
Keywords: good-first-bug
Whiteboard: [good first bug][lang=css] → [lang=css]
Comment 2•4 years ago
|
||
Hi,
can i take this bug ?
Thanks,
Kartik Gautam
Reporter | ||
Comment 3•4 years ago
|
||
Hi Kartik - thanks for volunteering!
But as it turns out, this bug has already been addressed, via changes in some other bug (specifically bug 1118820), and we didn't notice until now that this could be closed.
The relevant automated test file already includes the changes that I'd filed this bug about incorporating -- it already includes nested repeat() syntax, like this line:
"repeat(1, repeat(1, 20px))",
Looks like that was added in https://hg.mozilla.org/mozilla-central/rev/1f0876a7e83d for Bug 1118820.
So, I'm closing this as a duplicate of Bug 1118820.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•