Re: [csswg-drafts] [css-grid-2] `subgrid` specified on grid-template-rows/columns and computed value for standalone axis (#9015)

Yes, Firefox seems right. If the specified value has `subgrid`, then https://drafts.csswg.org/css-grid/#computed-track-list

> The [computed track list](https://drafts.csswg.org/css-grid/#computed-track-list) of a [`subgrid`](https://drafts.csswg.org/css-grid/#valdef-grid-template-rows-subgrid) axis is the `subgrid` keyword followed by a [list](https://infra.spec.whatwg.org/#list) of [line name sets](https://drafts.csswg.org/css-grid/#line-name-set) and [computed repeat notations](https://drafts.csswg.org/css-grid/#computed-repeat-notation) representing the line names specified for that axis.

If the element is a grid, this may end up behaving as `none` (standalone axis) or stay as a subgridded axis.

When using `getComputedStyle`, then https://drafts.csswg.org/css-grid/#resolved-track-list applies, so e.g. when `subgrid` behaves as `none` and produces a standalone axis, we get the used track sizes.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9015#issuecomment-1614645774 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 30 June 2023 13:22:05 UTC