gtk/testsuite/gsk/nodeparser/at-rule.errors
Matthias Clasen 16431da3f2 nodeparser: Add support for cicp color states
Allow defining cicp color states with an @-rule:

    @cicp "jpeg" {
      primaries: 1;
      transfer: 13;
      matrix: 6;
      range: full;
    }

And allow using them in color() like this:

    color("jpeg" 50% 0.5 1 / 75%)

Note that custom color states use a string, unlike default color
states which use an ident.

Test included.
2024-08-05 11:11:15 -04:00

4 lines
155 B
Plaintext

<data>:1:1-5: error: GTK_CSS_PARSER_ERROR_SYNTAX
<data>:4:1-8: error: GTK_CSS_PARSER_ERROR_SYNTAX
<data>:6:1-12: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE