From 3b08ba24b31702bd85901c8141d43d90fc6a2df4 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 30 Sep 2014 12:37:26 -0600 Subject: [PATCH] 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(+) create mode 100644 testsuite/reftests/label-text-shadow-clipping.css diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index 4655507198..39cd5f146c 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 0000000000..9b13b51fbd --- /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; +}