-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-properties-values-api] initial-value
for *
with arbitrary substitution values
#1120
Comments
Hm, the spec is indeed unclear here. I prefer Chrome's behavior - validating the |
To clarify my understanding:
That is,
And
Computationally dependent values could have been specified as invalid at the context level of So the specifications are already clear and I am closing this issue. I hope I am not missing something. |
Indeed, I missed something. |
This should then be explicitly specified in both cases. But this is a different problem than a valid There are these lines on WPT (it is about the first and the third):
The spec requires An equivalent test exists for I wonder which one it is, and whether it also applies to other substitution functions like |
If I understand the spec correctly,
initial-value
does not require to be validated whensyntax
is*
.But in Chrome, given the CSS rules below:
initial-value: var(1)
is discardedI am completely confused by the parse result in Chrome. Anyway, should
initial-value
be invalid when it includes an arbitrary substitution value?The text was updated successfully, but these errors were encountered: