forked from AuroraMiddleware/gtk
tests: Add a simple CSS test for cross-fade
This commit is contained in:
parent
eb6ad3562e
commit
23cc1e9528
@ -181,6 +181,7 @@ EXTRA_DIST += \
|
||||
colors-errors.ref.css \
|
||||
colors-red.css \
|
||||
colors-red.ref.css \
|
||||
cross-fade-basic.css \
|
||||
css-21-malformed-declarations.css \
|
||||
css-21-malformed-declarations.errors \
|
||||
css-21-malformed-declarations.ref.css \
|
||||
|
15
tests/css/parser/cross-fade-basic.css
Normal file
15
tests/css/parser/cross-fade-basic.css
Normal file
@ -0,0 +1,15 @@
|
||||
a {
|
||||
background-image: cross-fade(linear-gradient(rgb(1,2,3)));
|
||||
}
|
||||
|
||||
b {
|
||||
background-image: cross-fade(0% linear-gradient(rgb(1,2,3)));
|
||||
}
|
||||
|
||||
c {
|
||||
background-image: cross-fade(100% linear-gradient(rgb(1,2,3)), linear-gradient(rgb(3,2,1)));
|
||||
}
|
||||
|
||||
d {
|
||||
background-image: cross-fade(75% cross-fade(linear-gradient(rgb(1,2,3))), linear-gradient(rgb(3,2,1)));
|
||||
}
|
Loading…
Reference in New Issue
Block a user