[csswg-drafts] [css-grid-1] Clarify "set" and "reset" in shorthand definitions (#7720)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid-1] Clarify "set" and "reset" in shorthand definitions ==
> The `grid` and `grid-template` properties are shorthands that can be used to set all three explicit grid properties (`grid-template-rows`, `grid-template-columns`, and `grid-template-areas`) at the same time. The `grid` shorthand also resets properties controlling the implicit grid, whereas the `grid-template` property leaves them unchanged.

https://drafts.csswg.org/css-grid-2/#explicit-grids

Because there is *at the same time*, I assume that *set all three explicit grid properties* means that setting the shorthand will result to a declaration for each sub-property, possibly to its initial value, and whether or not an explicit value is specified in the shorthand input value for each sub-property.

Then I would like to suggest replacing *resets* by *sets* because `grid` also allows to set `grid-auto-*` from a value explicitly specified in the input value.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7720 using your GitHub account


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

Received on Sunday, 11 September 2022 03:58:23 UTC