- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Jul 2022 19:57:54 +0000
- To: public-houdini-archive@w3.org
dbaron has just created a new issue for https://github.com/w3c/css-houdini-drafts: == initial value for universal ("*") syntax definition should not allow CSS-wide keywords == Right now the [steps for registering a custom property](https://www.w3.org/TR/css-properties-values-api-1/#register-a-custom-property) appear to allow the initial value for registered properties that use the universal syntax definition ("*") to be a CSS-wide keyword (such as `inherit`, `initial`, etc.). Since these values are [treated specially in custom properties](https://www.w3.org/TR/css-variables-1/#defining-variables) I think they probably shouldn't be allowed in the initial value of a registered property. I think it's possibly also allowed in the non-universal case as well, depending on how you interpret "computationally independent". I think these rules should throw an error in step 4 if the value given is a CSS-wide keyword. (It's possible they should also reserve `default` which is disallowed from being a `<custom-ident>`, but is not a CSS-wide keyword.) Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1076 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 July 2022 19:57:55 UTC