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
Currently, Safari sets the value of the custom property to the inherited value, or otherwise the initial value. Chrome and Firefox both set the value of the property to the text 'revert', as seen in the test case above.
What should be the correct behavior? It seems to me that revert should be treated in the same way as initial or inherit, which all three browsers handle in the same way. I can't find anything in the spec about this.
Thanks!
The text was updated successfully, but these errors were encountered:
https://drafts.csswg.org/css-variables/
I am wondering how the 'revert' keyword should be handled in a custom property.
http://jsfiddle.net/0d6Lsfr2/3/
Currently, Safari sets the value of the custom property to the inherited value, or otherwise the initial value. Chrome and Firefox both set the value of the property to the text 'revert', as seen in the test case above.
What should be the correct behavior? It seems to me that revert should be treated in the same way as initial or inherit, which all three browsers handle in the same way. I can't find anything in the spec about this.
Thanks!
The text was updated successfully, but these errors were encountered: