The definition of the spec is very clear
(https://drafts.csswg.org/css-grid/#grid-definition):
"The size of the explicit grid is determined by the larger
of the number of rows/columns defined by grid-template-areas
and the number of rows/columns sized by grid-template-rows/grid-template-columns."
Attached example to reproduce the issue, only using "grid-template-areas" in a grid
makes that auto-positioned items are not placed in the proper columns/rows,
as the grid thinks doesn't have any explicit grid.
Check it live at: http://jsbin.com/rejene/1/edit?html,css,output
|
Deleted:
explicit-grid-template-areas.html
362 bytes
|
|
Deleted:
explicit-grid-template-areas-current.png
1.8 KB
|
|
explicit-grid-template-areas-current.png
1.8 KB
View
Download
|
|
|
Deleted:
explicit-grid-template-areas-expected.png
1.7 KB
|
|
explicit-grid-template-areas-expected.png
1.7 KB
View
Download
|
|
Comment 1 by bugdroid1@chromium.org
, Apr 14 2016