Add a compare test for handling of pq colors

The node file here has a pq color that is far out of range for
sRGB, and will produce widely different result if we don't clamp
things properly.
This commit is contained in:
Matthias Clasen
2024-08-06 16:51:43 -04:00
parent 56ea1754bf
commit 449fc749e6
3 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
color {
bounds: 0 0 50 50;
color: color(rec2100-pq 1 0 0 / 0.2);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

View File

@@ -46,6 +46,7 @@ compare_render_tests = [
'color-matrix-identity',
'color-matrix-merge',
'color-matrix-parsing',
'color-pq-transparency',
'color-states',
'conic-gradient-with-64-colorstops',
'container-single-child-offscreen-for-opacity',