[gtk+] reftests: Actually add a text-shadow to the text-shadow reftest
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Actually add a text-shadow to the text-shadow reftest
- Date: Tue, 30 Sep 2014 19:43:56 +0000 (UTC)
commit 3b08ba24b31702bd85901c8141d43d90fc6a2df4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 30 12:37:26 2014 -0600
reftests: Actually add a text-shadow to the text-shadow reftest
The reftest still passes, since the code still works, but we might as
well test what we claim to test.
testsuite/reftests/Makefile.am | 1 +
testsuite/reftests/label-text-shadow-clipping.css | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index 4655507..39cd5f1 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -301,6 +301,7 @@ testdata = \
label-sizing.ui \
label-small-ellipsized.ref.ui \
label-small-ellipsized.ui \
+ label-text-shadow-clipping.css \
label-text-shadow-clipping.ref.ui \
label-text-shadow-clipping.ui \
label-width-chars-dont-shrink.ref.ui \
diff --git a/testsuite/reftests/label-text-shadow-clipping.css
b/testsuite/reftests/label-text-shadow-clipping.css
new file mode 100644
index 0000000..9b13b51
--- /dev/null
+++ b/testsuite/reftests/label-text-shadow-clipping.css
@@ -0,0 +1,6 @@
+ import "reset-to-defaults.css";
+
+GtkLabel {
+ font-size: 40px;
+ text-shadow: 20px 20px tomato;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]