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
What would it mean for a custom property's initial value to have a variable reference in it? It doesn't sound useful. Should it make registerProperty throw an exception?
The text was updated successfully, but these errors were encountered:
heycam
changed the title
[css-properties-and-values-api] exception thrown by unregisterProperty
[css-properties-and-values-api] should initial values be allowed to have variable references?
Jan 31, 2016
in general, values that can't be directly represented as computed values seem weird. For example, specifying '4em' as an initial value would mean that:
(1) if the property is not inherited then it would need to compute 4em for every element
(2) if the property is inherited then the root would compute a result for 4em and the result would
be inherited down the tree.
What would it mean for a custom property's initial value to have a variable reference in it? It doesn't sound useful. Should it make
registerProperty
throw an exception?The text was updated successfully, but these errors were encountered: