- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Jan 2024 10:21:42 +0000
- To: public-houdini-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [css-properties-values-api] `initial-value` for `*` with arbitrary substitution values ==
If I understand the spec correctly, [`initial-value`](https://drafts.css-houdini.org/css-properties-values-api-1/#initial-value-descriptor) does not require to be validated when `syntax` is `*`.
But in Chrome, given the CSS rules below:
- the first rule is valid: `initial-value: var(1)` is discarded
- the second rule is invalid
```css
@property --p1 {
inherits: false;
syntax: "*";
initial-value: green;
initial-value: var(1);
}
@property --p2 {
inherits: false;
syntax: "*";
initial-value: green;
initial-value: var(--initial);
}
```
I am completely confused by the parse result in Chrome. Anyway, should `initial-value` be invalid when it includes an arbitrary substitution value?
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1120 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 January 2024 10:21:45 UTC