Files
Andrey AlexandrovandAndrey Sitnik 1b71eefb42 Remove warning from grid-[column/row]-end: span X; + grid-area combo … (#1159)
* Remove warning from grid-[column/row]-end: span X; + grid-area combo (#1157)

* Add clause to warnIfGridRowColumnExists method in lib/hacks/grid-utils.js

* Update tests

* Update test case

* Fix no newline at the end of the file
2018-11-27 14:16:51 +08:00

47 lines
499 B
CSS

.a {
grid-area: 5 / 1 / span 1 / span 5;
}
.b {
grid-area: span 1 / span 3 / 4 / 4;
}
.c {
grid-area: 2 / 2;
}
.d {
grid-area: "custom-ident";
}
.e {
grid-area: 2 / 2 / 3 / 8;
}
.f {
grid-area: 2 / 2 / 3;
}
/* emit warning */
.g {
grid-area: 3 / 1;
grid-row: 1;
grid-column: 2;
}
.h {
grid-area: 3 / 1;
grid-column: 1 / span 4;
}
/* there should be no warning */
.i {
grid-area: 3 / 1;
grid-column-end: span 4;
}
.j {
grid-area: 3 / 1;
grid-row-end: span 4;
}