summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-17 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2012-02-02 03:14:02 +0100
commitf2352a5f35dea9be25951645c19aeab1553760ce (patch)
tree0390cde9ba5e70d7b127213ad2943a77a460435a
parent2fdadb053c101b30bde838de4f7593063e90b38b (diff)
downloadgtk+-f2352a5f35dea9be25951645c19aeab1553760ce.tar.gz
reftests: Fix border-image-url reftest
"border-style: none;" sets border widths to 0. So no border was drawn. Use "border-style: groove" instead. (If the border was drawn that way, it'd look noticably different.) Also include reset-to-defaults.css so we really get default CSS.
-rw-r--r--tests/reftests/border-image-url.css9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/reftests/border-image-url.css b/tests/reftests/border-image-url.css
index 9bc2a53572..da06b72b91 100644
--- a/tests/reftests/border-image-url.css
+++ b/tests/reftests/border-image-url.css
@@ -1,16 +1,15 @@
-.button-image {
- engine: none;
+@import "reset-to-defaults.css";
+.button-image {
border-image: url("green-20x20.png") 1 stretch;
+ border-style: groove;
border-width: 1px 2px 2px 1px;
- border-radius: 0;
}
.button-not-image {
border-color: green;
+
border-style: solid;
border-width: 1px 2px 2px 1px;
- border-radius: 0;
- border-image: none;
}