diff --git a/testsuite/gsk/compare/color-states.node b/testsuite/gsk/compare/color-states.node new file mode 100644 index 0000000000..be21f94a8a --- /dev/null +++ b/testsuite/gsk/compare/color-states.node @@ -0,0 +1,23 @@ +@cicp "mycolors" { + primaries: 1; + transfer: 13; + matrix: 0; + range: full; +} + +color { + bounds: 0 0 100 100; + color: color(srgb 1 0 0); +} +color { + bounds: 100 0 100 100; + color: color(srgb-linear 1 0 0); +} +color { + bounds: 0 100 100 100; + color: color(rec2100-pq 0.792 0.231 0.0738); +} +color { + bounds: 100 100 100 100; + color: color("mycolors" 1 0 0); +} diff --git a/testsuite/gsk/compare/color-states.png b/testsuite/gsk/compare/color-states.png new file mode 100644 index 0000000000..7a487f3a69 Binary files /dev/null and b/testsuite/gsk/compare/color-states.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 9bd8276f48..5334a2d2c4 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -46,6 +46,7 @@ compare_render_tests = [ 'color-matrix-identity', 'color-matrix-merge', 'color-matrix-parsing', + 'color-states', 'conic-gradient-with-64-colorstops', 'container-single-child-offscreen-for-opacity', 'crossfade-clip-both-children',