- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 Aug 2018 13:37:23 +0000
- To: public-houdini-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-properties-values-api] Type-aware substitution == In issue, #321, it is indicated that the following is not valid, for a <color>-registered property `--color`: ``` --color: green; animation-name: var(--color); ``` Because `animation-name` does not take a <color>, it's invalid, and presumably behaves like `unset`. This means that substitution does not happen via tokens, but via some "transplant" from one property to another. Or it happens via tokens, but with an added layer of property-specific type-checking. Or something. The spec needs to clarify. The spec should probably also mention how type awareness plays a role (if any) for partial substitutions, e.g: ``` width: calc(10% + var(--reg-length)); background-image: url(a), var(--reg-image-list), url(b) ``` Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/793 using your GitHub account
Received on Monday, 13 August 2018 13:37:26 UTC