summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-07 16:39:17 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:21 +0200
commit95a4b46f8b504d5278f9c0795377287b4e4b629b (patch)
treef01b393c0fcdd39ba36dc5f6cc4c99c9bf7ab9ea
parent33f111a47c47f343ce549ea66bc8608f9c75ab7d (diff)
downloadgtk+-95a4b46f8b504d5278f9c0795377287b4e4b629b.tar.gz
reftests: Fix reftests for recent changes
-rw-r--r--tests/reftests/background-size-keywords.css2
-rw-r--r--tests/reftests/background-size.css2
-rw-r--r--tests/reftests/box-shadow-spec-inset.css6
-rw-r--r--tests/reftests/label-shadows.css2
-rw-r--r--tests/reftests/nth-child.css20
-rw-r--r--tests/reftests/unresolvable.css2
6 files changed, 17 insertions, 17 deletions
diff --git a/tests/reftests/background-size-keywords.css b/tests/reftests/background-size-keywords.css
index 5638761408..ba4486f2b4 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 1b953be400..5dbff99984 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 337036420e..b76cc003c5 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 28e8840cc9..5df0f4c249 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 4b177eb8cf..0d7c5612b1 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 0590361cdc..31c216166f 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),