[gtk+] reftests: Fix border-image-url reftest



commit f2352a5f35dea9be25951645c19aeab1553760ce
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jan 17 17:30:26 2012 +0100

    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.

 tests/reftests/border-image-url.css |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/tests/reftests/border-image-url.css b/tests/reftests/border-image-url.css
index 9bc2a53..da06b72 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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]