Closed Bug 1318876 Opened 8 years ago Closed 8 years ago

'grid-template' documentation needs updates

Categories

(Developer Documentation Graveyard :: CSS, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: sebo)

References

()

Details

Under "Syntax": most of the example values here are invalid. I suspect that the Grid spec has changed since this was written. Now you need to specify either, both row and column values, or row values using the special grid-template-areas syntax, then the column values are optional. There are examples in the spec: https://drafts.csswg.org/css-grid/#explicit-grid-shorthand It looks like the "Values" section has been updated though. But I think the Note here is wrong. The 'grid' shorthand has also changed and takes slightly different values now.
Assigned to :sebo per bug 1281320#c12
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
(In reply to Mats Palmgren (:mats) from comment #0) > Under "Syntax": most of the example values here are invalid. I've replaced them by valid values now. > But I think the Note here is wrong. The note was taken from the spec. If you think it's wrong, it also needs to be changed there. For now I've let it there. > The 'grid' shorthand has also changed and takes slightly different values now. I've created bug 1319397 to cover those changes. Sebastian
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
> The note was taken from the spec. If you think it's wrong, it also needs to be changed there. OK, I was mistaken about the 'grid' syntax. I see now that it accepts <‘grid-template’> so it does indeed take the full set of 'grid-template' values.
You need to log in before you can comment on or make changes to this bug.