[gtk+/wip/css: 22/36] tests: Add a simple CSS test for cross-fade
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 22/36] tests: Add a simple CSS test for cross-fade
- Date: Mon, 17 Sep 2012 11:46:53 +0000 (UTC)
commit 4193197b4f56547c6b1057f58ea3addd82c707da
Author: Benjamin Otte <otte redhat com>
Date: Fri Sep 14 02:10:53 2012 +0200
tests: Add a simple CSS test for cross-fade
tests/css/parser/Makefile.am | 1 +
tests/css/parser/cross-fade-basic.css | 15 +++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index c04a40d..8576429 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -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 \
diff --git a/tests/css/parser/cross-fade-basic.css b/tests/css/parser/cross-fade-basic.css
new file mode 100644
index 0000000..8aa4aa4
--- /dev/null
+++ b/tests/css/parser/cross-fade-basic.css
@@ -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)));
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]