Closed Bug 1549223 Opened 5 years ago Closed 5 years ago

[css-grid-2] The 'grid' and 'grid-template' shorthands should not accept a single keyword 'subgrid' as a valid value

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

Attachments

(1 file)

https://drafts.csswg.org/css-grid/#grid-shorthand
https://drafts.csswg.org/css-grid/#propdef-grid-template

IIRC, these shorthands used to accept a value for just one axis
that were then copied to the other axis, but that syntax was
removed long ago. It appears that we forgot to remove the
subgrid part of it though.

Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5772a92c49cf
[css-grid-2] Remove single keyword 'subgrid' as a valid value for the 'grid' and 'grid-template' shorthands.  r=emilio

This is the proper spec reference that adds the subgrid keyword btw:
https://drafts.csswg.org/css-grid-2/#subgrid-per-axis

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: