tests: Add a simple CSS test for cross-fade

This commit is contained in:
Benjamin Otte 2012-09-14 02:10:53 +02:00
parent eb6ad3562e
commit 23cc1e9528
2 changed files with 16 additions and 0 deletions

View File

@ -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 \

View 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)));
}