css: Add some more variables tests

Add a test mixing color expressions with variables, and
empty fallback values.
This commit is contained in:
Matthias Clasen 2024-05-19 16:37:20 -04:00
parent af0c277bba
commit f5d69fa0c5
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
label {
color: var(--color1);
background-color: var(--color2, green);
--extra-color: mix(var(--color1,), var(--color2, var(--color1)), var(--factor, 0.2));
}
@keyframes aaaa {

View File

@ -12,6 +12,7 @@
label {
background-color: var(--color2, green);
color: var(--color1);
--extra-color: mix(var(--color1,), var(--color2, var(--color1)), var(--factor, 0.2));
}
:root {