Files
gtk/testsuite/css
Matthias Clasen 4aea2d2e09 css: Don't pass style variables redundantly
The context->variables field is expected by the resolve code to be
the keyframe variables. That code takes the style variables from
context->style anyway, so no need to pass them as context->variables
too. And crucially, the lookup code treats the keyframes variables
differently to the style variables, since it doesn't expect the
hierarchical structure that comes from parent styles. This change
fixes infinite recursion in variable lookup with css like

:root {
  --a: var(--b);
}

.foo {
  --b: var(--a);
  color: var(--a);
}

Test included.

Fixes: #6881
2024-08-16 11:38:56 -04:00
..
2024-05-10 18:29:48 +04:00
2024-06-11 16:41:22 -04:00
2024-07-26 08:45:58 -04:00
2021-02-03 22:10:13 -05:00
2024-07-08 16:47:29 -04:00