Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
utils | 2 years ago | |
README.md | 2 years ago | |
index.js | 2 years ago |
Disallow invalid named grid areas.
a { grid-template-areas:
"a a a"
"b b b"; }
/** ↑
* This named grid area */
For a named grid area to be valid, all strings must define:
And all named grid areas that spans multiple grid cells must form a single filled-in rectangle.
true
The following patterns are considered violations:
a { grid-template-areas: "" }
a { grid-template-areas: "a a a"
"b b b b"; }
a { grid-template-areas: "a a a"
"b b a"; }
The following pattern is not considered a violation:
a { grid-template-areas: "a a a"
"b b b"; }