[css-grid] Need test in property_database.js for nested repeat() syntax being rejected, for grid-template-rows & grid-template-columns

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
--
enhancement
3 years ago
2 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug][lang=css] )

(Reporter)

Description

3 years ago
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)

Updated

3 years ago
Depends on: 978478
(Reporter)

Updated

3 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

2 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]
You need to log in before you can comment on or make changes to this bug.