File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
css-properties-values-api Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -589,6 +589,18 @@ to full URLs as described in [[!css3-values]].
589589
590590</div>
591591
592+
593+ Fallbacks in ''var()'' references {#fallbacks-in-var-references}
594+ ----------------------------------------------------------------
595+
596+ References to registered custom properties using the ''var()'' function may
597+ provide a fallback. However, the fallback value must match the
598+ [[#supported-syntax-strings|registered syntax]] of the custom property being
599+ referenced, otherwise the declaration is
600+ <a spec=css-variables>invalid at computed-value time</a> .
601+
602+ Note: This applies regardless of whether or not the fallback is being used.
603+
592604Examples {#examples}
593605====================
594606
You can’t perform that action at this time.
0 commit comments