You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the value of the syntax descriptor is the universal syntax definition, then the initial-value descriptor is optional. If omitted, the initial value of the property is the guaranteed-invalid value.
Otherwise, [...] The initial-value descriptor must be present.
The spec says it is nullable / it may not be present:
https://drafts.css-houdini.org/css-properties-values-api-1/#dom-csspropertyrule-initialvalue
But also:
https://drafts.css-houdini.org/css-properties-values-api-1/#initial-value-descriptor
So when the descriptor declaration is omitted, it seems the attribute should serialize the guaranteed-invalid value, which serializes to empty string.
In Chrome:
The text was updated successfully, but these errors were encountered: