]> Pileus Git - ~andy/gtk/commitdiff
reftests: Fix border-image-url reftest
authorBenjamin Otte <otte@redhat.com>
Tue, 17 Jan 2012 16:30:26 +0000 (17:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Feb 2012 02:14:02 +0000 (03:14 +0100)
"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

index 9bc2a53572c1e1abc2633eb09d2bccdbe00ba7d1..da06b72b91ce4a931d9fc90d070a711ff26c36a8 100644 (file)
@@ -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;
 }