[gtk+/wip/cssvalue: 138/165] reftests: Fix reftests for recent changes



commit 81e451cdb04955d74cb2d828f2ecf7290e5e8765
Author: Benjamin Otte <otte redhat com>
Date:   Sat Apr 7 16:39:17 2012 +0200

    reftests: Fix reftests for recent changes

 tests/reftests/background-size-keywords.css |    2 +-
 tests/reftests/background-size.css          |    2 +-
 tests/reftests/box-shadow-spec-inset.css    |    6 +++---
 tests/reftests/label-shadows.css            |    2 +-
 tests/reftests/nth-child.css                |   20 ++++++++++----------
 tests/reftests/unresolvable.css             |    2 +-
 6 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/tests/reftests/background-size-keywords.css b/tests/reftests/background-size-keywords.css
index 5638761..ba4486f 100644
--- a/tests/reftests/background-size-keywords.css
+++ b/tests/reftests/background-size-keywords.css
@@ -2,7 +2,7 @@
 
 * {
   color: black;
-  text-shadow: 1 1 white;
+  text-shadow: 1px 1px white;
   background-repeat: no-repeat;
 }
 
diff --git a/tests/reftests/background-size.css b/tests/reftests/background-size.css
index 1b953be..5dbff999 100644
--- a/tests/reftests/background-size.css
+++ b/tests/reftests/background-size.css
@@ -3,7 +3,7 @@
 * {
   background-image: url("border-image-balls.png");
   color: black;
-  text-shadow: 1 1 white;
+  text-shadow: 1px 1px white;
 }
 
 #a {
diff --git a/tests/reftests/box-shadow-spec-inset.css b/tests/reftests/box-shadow-spec-inset.css
index 3370364..b76cc00 100644
--- a/tests/reftests/box-shadow-spec-inset.css
+++ b/tests/reftests/box-shadow-spec-inset.css
@@ -27,15 +27,15 @@ GtkButton {
 .row2 {
   box-shadow:
     rgba(0,0,0,1)
-    15/*px*/ 15/*px*/
+    15px 15px
     inset
 }
 
 .row3 {
   box-shadow:
     rgba(0,0,0,1)
-    15/*px*/ 15/*px*/ 0
-    10/*px*/ /*spread*/
+    15px 15px 0
+    10px /*spread*/
     inset
 }
 
diff --git a/tests/reftests/label-shadows.css b/tests/reftests/label-shadows.css
index 28e8840..5df0f4c 100644
--- a/tests/reftests/label-shadows.css
+++ b/tests/reftests/label-shadows.css
@@ -1,6 +1,6 @@
 GtkLabel {
   engine: none;
-  text-shadow: 1 1 red;
+  text-shadow: 1px 1px red;
 }
 
 .no-shadow {
diff --git a/tests/reftests/nth-child.css b/tests/reftests/nth-child.css
index 4b177eb..0d7c561 100644
--- a/tests/reftests/nth-child.css
+++ b/tests/reftests/nth-child.css
@@ -20,12 +20,12 @@
 
 :nth-child(7n+7),
 :nth-last-child(7n-700) {
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 :nth-child(11n+11),
 :nth-last-child(-11n+1100) {
-  text-shadow: green 1 1;
+  text-shadow: green 1px 1px;
 }
 
 #ref1 {
@@ -42,12 +42,12 @@
 
 #ref4 {
   color: blue;
-  text-shadow: green 1 1;
+  text-shadow: green 1px 1px;
 }
 
 #ref5 {
   font-weight: bold;
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 #ref6 {
@@ -81,7 +81,7 @@
 #ref12 {
   color: blue;
   font-weight: bold;
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 #ref13 {
@@ -90,13 +90,13 @@
 #ref14 {
   color: blue;
   font-weight: bold;
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 #ref15 {
   font-weight: bold;
   font-style: italic;
-  text-shadow: green 1 1;
+  text-shadow: green 1px 1px;
 }
 
 #ref16 {
@@ -114,7 +114,7 @@
 }
 
 #ref19 {
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 #ref20 {
@@ -126,12 +126,12 @@
 #ref21 {
   font-weight: bold;
   font-style: italic;
-  text-shadow: red 1 1;
+  text-shadow: red 1px 1px;
 }
 
 #ref22 {
   color: blue;
-  text-shadow: green 1 1;
+  text-shadow: green 1px 1px;
 }
 
 #ref23 {
diff --git a/tests/reftests/unresolvable.css b/tests/reftests/unresolvable.css
index 0590361..31c2161 100644
--- a/tests/reftests/unresolvable.css
+++ b/tests/reftests/unresolvable.css
@@ -2,7 +2,7 @@
 
 GtkWindow {
   background-color: @doesntexist;
-  box-shadow: @nonexistant 5 5;
+  box-shadow: @nonexistant 5px 5px;
   border-image: -gtk-gradient(linear,
                               left top, left bottom,
                               from(@notaavailable),



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