diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index bc9cf33f73..dcc8b8274b 100644 --- a/tests/css/parser/Makefile.am +++ b/tests/css/parser/Makefile.am @@ -185,6 +185,7 @@ EXTRA_DIST += \ css-21-malformed-statements.css \ css-21-malformed-statements.errors \ css-21-malformed-statements.ref.css \ + currentcolor-everywhere.css \ declarations.css \ declarations.errors \ declarations.ref.css \ diff --git a/tests/css/parser/currentcolor-everywhere.css b/tests/css/parser/currentcolor-everywhere.css new file mode 100644 index 0000000000..6198fb0bc3 --- /dev/null +++ b/tests/css/parser/currentcolor-everywhere.css @@ -0,0 +1,21 @@ +@define-color some-color currentColor; + +a { + color: currentColor; +} + +b { + color: shade (currentColor, 1.5); +} + +c { + color: alpha (currentColor, 0.5); +} + +d { + color: mix (currentColor, @some-color, 0.5); +} + +e { + color: mix (@some-color, currentColor, 0.5); +}