[csswg-drafts] [css-cascade][Editorial] Why list the global values for `all`? (#5740)

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

== [css-cascade][Editorial] Why list the global values for `all`? ==
https://drafts.csswg.org/css-cascade/#all-shorthand

> Value: initial | inherit | unset | revert

These keywords are valid in every other CSS property, yet we don’t list them explicitly. Why should `all` be an exception? This means that if we add another global keyword, we need to remember to add it here too, and old versions of the spec will be out of sync.

I'd propose changing it to: 

> Value: (Only global values)

or

> Value: (nothing)

and explain in the prose.

Also, we should avoid using "global keywords" in the value, as we may introduce some kind of global value that is not a keyword in the future.

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


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

Received on Monday, 23 November 2020 17:06:25 UTC