forked from AuroraMiddleware/gtk
tests: Add a test ensuring currentColor is parsed everywhere
This commit is contained in:
parent
505fefbec7
commit
0048c8baf5
@ -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 \
|
||||
|
21
tests/css/parser/currentcolor-everywhere.css
Normal file
21
tests/css/parser/currentcolor-everywhere.css
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user