- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Oct 2022 13:23:57 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] Set `grid-template-rows` to `none` instead of `auto` when declaring `grid-template` == Can you please clarify me how `el.style.gridTemplate` should serialize when declaring eg. `el.style.cssText = 'grid-template: "."; grid-template-rows: none;'`? `"." auto`? `"."`? Empty string? From reading `none` definition for [`grid-template-rows|columns`](https://drafts.csswg.org/css-grid-2/#propdef-grid-template-columns), I think it should be considered as if the property were not declared. If so, I suggest the following change [here](https://drafts.csswg.org/css-grid-2/#grid-template-ascii)... ```diff - Sets grid-template-rows to the `<track-size>`s following each string (filling in `auto` for any missing sizes), and splicing in the named lines defined before/after each size. + Sets grid-template-rows to the `<track-size>`s following each string (filling in `auto` for any missing sizes), and splicing in the named lines defined before/after each size, or `none` if all line names are omitted and all sizes end up being `auto`. ``` ... which would clarify that my previous example should serialize to `"."`, and also that `"." auto` should serialize to `"."`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7849 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 13:23:58 UTC