If I understand the spec correctly, initial-value 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
@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?