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
Because --length is a <length>, ident() can’t generate a valid <custom-ident>. I assume that in this case the declaration should become Invalid At Computed Value Time (IACVT) and the value should be considered to be unset.
Additionally, we might consider adding an extra argument to ident(), to allow a fallback value in case the constructed value is not a valid <custom-ident> – this similar to var().
The definition for ident() would then become the following:
This is a follow-up to #9141 which introduces
ident()
. Something that is not defined yet is what should happen when the input forident()
is invalid.E.g. what happens if you do the following:
Because
--length
is a<length>
,ident()
can’t generate a valid<custom-ident>
. I assume that in this case the declaration should become Invalid At Computed Value Time (IACVT) and the value should be considered to beunset
.Additionally, we might consider adding an extra argument to
ident()
, to allow a fallback value in case the constructed value is not a valid<custom-ident>
– this similar tovar()
.The definition for
ident()
would then become the following:The text was updated successfully, but these errors were encountered: