We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c3598 commit 6f9755cCopy full SHA for 6f9755c
css-properties-values-api/Overview.bs
@@ -589,6 +589,18 @@ to full URLs as described in [[!css3-values]].
589
590
</div>
591
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
604
Examples {#examples}
605
====================
606
0 commit comments