gtk/testsuite
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
..
a11y tests: Fix signature of GtkTestATContext::update-selection-bound handlers 2024-07-27 00:59:03 +01:00
css css: Don't pass style variables redundantly 2024-08-16 11:38:56 -04:00
gdk Fix up transfer function symmetry 2024-08-14 11:45:25 -04:00
gsk testsuite: build fix 2024-08-12 19:19:15 -04:00
gtk ci: avoid another date-dependent failure 2024-07-30 15:50:12 -04:00
headless ci: Build testsuite for macOS 2024-02-17 14:31:51 +01:00
introspection ci: Build testsuite for macOS 2024-02-17 14:31:51 +01:00
reftests reftests: Avoid some deprecated css 2024-06-27 21:03:14 -04:00
tools tests: Update for the new setting 2024-04-19 12:56:34 -04:00
meson.build testsuite: Use catch as testwrapper 2024-07-01 22:29:36 -04:00
testutils.c testsuite: fix memleak 2023-06-05 05:33:07 +02:00
testutils.h testsuite: Make function arguments const 2021-11-30 14:12:10 +01:00