[csswg-drafts] [css-env-1] defining variables

rebeccahughes has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-env-1] defining variables ==
This is a follow up to: https://drafts.csswg.org/css-env-1/#issue-ed0904e4

The current Safari implementation does not have a way to define variables. A noticeable difference from var is the missing double dash at the beginning of variable names e.g. env(safe-area-inset-let). Maybe we could prefix developer defined variables with the double dash and UA defined variables should not have the double dash.

This would make it easier to differentiate between the two types of variables, would stop the developer overriding UA variables and ensure consistency with what has already been shipped.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2629 using your GitHub account

Received on Monday, 30 April 2018 18:15:15 UTC