Re: [csswg-drafts] [css-grid] Set `grid-template-rows` to `none` instead of `auto` when declaring `grid-template` (#7849)

It should serialize as empty string, like Firefox does, since it seems that `grid-template` can't represent `grid-template-rows: none` when `grid-template-areas` is not `none`.

With your proposal, `grid-template: "." 1px "."` would set `grid-template-rows: 1px auto`, and  `grid-template: "." "."` would set `grid-template-rows: none`? Seems a bit inconsistent.

Also, I guess in "if all line names are omitted" you meant the `<track-size>`s, because it seems quite wrong if `grid-template: "." auto` would set `grid-template-rows: none`.

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


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

Received on Friday, 7 October 2022 15:19:41 UTC