mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
css: Add some more variables tests
Add a test mixing color expressions with variables, and empty fallback values.
This commit is contained in:
parent
af0c277bba
commit
f5d69fa0c5
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user