- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Oct 2022 21:49:39 +0000
- To: public-css-archive@w3.org
This is basically #5055, but with especial behavior for variables. Some notes:
- This should use semicolons instead of commas, since properties like `background` accept values that contain top-level commas.
- Your proposal treats `--property-1` as a reference to the value of that custom property. But `--property-1` is an identifier, and various property grammars accept identifiers, which you may also want to specify as a fallback.
```css
@counter-style --foo { system: symbolic; symbols: '|'; }
div {
--foo: lower-alpha;
list-style-type: prefer(nonsense(), --foo); /* does --foo refer to lower-alpha or to the counter style? */
}
```
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7881#issuecomment-1278213734 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 October 2022 21:49:41 UTC