Exclude implicit tracks from grid-template-rows/columns resolved values

Implicit tracks will be excluded from the resolved values of the grid-template-rows and grid-template-columns. Previously, all tracks were included, whether implicit or explicit.

This change aims to make the resolved values round-trip, which is one of the most fundamental rules for getComputedStyle(). That is, reassigning the resolved value provided by getComputedStyle() as a specified value shouldn't change the number of tracks nor their sizes. The current behavior is problematic because the specified values of grid-template-rows and grid-template-columns are only able to define explicit tracks, while the resolved values include implicit tracks.


Shipped in 81, but reverted in 81.0.4044.0 because site authoring tools were relying on the previous behaviour, and there is no alternative API yet. May repursue after such an API is available.



Working draft or equivalent

Status in Chromium


On hold (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Last updated on 2020-06-15