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
[...] 3em is not computationally independent [...]. Neither is a value with a var() function, because it relies on the value of a custom property.
Browsers make @property invalid with syntax: "<custom-ident>" and initial-value: initial (WPT) whereas initial is computationally independent. If initial cannot match <custom-ident>, neither can var(--custom). Both are valid property values, no matter the property value definition.
Similarly, syntax: "<length>" with initial-value: first-valid(1vmin, 20px) seems reasonable. But that might also not be allowed (cf. #1120).
The text was updated successfully, but these errors were encountered:
There is this note about computationally independent values:
Browsers make
@property
invalid withsyntax: "<custom-ident>"
andinitial-value: initial
(WPT) whereasinitial
is computationally independent. Ifinitial
cannot match<custom-ident>
, neither canvar(--custom)
. Both are valid property values, no matter the property value definition.Similarly,
syntax: "<length>"
withinitial-value: first-valid(1vmin, 20px)
seems reasonable. But that might also not be allowed (cf. #1120).The text was updated successfully, but these errors were encountered: