[gtk+/wip/css: 34/36] reftests: Add 'px' to all properties



commit 04c7f48e76a9fa36a08251551e9f9e810d92e8d7
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jan 17 17:09:30 2012 +0100

    reftests: Add 'px' to all properties

 tests/reftests/background-area.css          |    2 +-
 tests/reftests/background-origin.css        |    2 +-
 tests/reftests/border-color-default.css     |    2 +-
 tests/reftests/border-image-excess-size.css |    2 +-
 tests/reftests/border-image-gradient.css    |    4 ++--
 tests/reftests/border-image-url.css         |    4 ++--
 tests/reftests/border-radius-clamp.css      |    4 ++--
 tests/reftests/border-style-none.css        |    6 +++---
 tests/reftests/border-style.css             |    2 +-
 tests/reftests/box-shadow-spec-inset.css    |   10 +++++-----
 tests/reftests/no-colors.css                |    2 +-
 tests/reftests/shorthand-entry-border.css   |   10 +++++-----
 12 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/tests/reftests/background-area.css b/tests/reftests/background-area.css
index e730fff..73d6bd9 100644
--- a/tests/reftests/background-area.css
+++ b/tests/reftests/background-area.css
@@ -12,7 +12,7 @@ GtkWindow {
 }
 
 GtkButton {
-  border-width: 5;
+  border-width: 5px;
   border-style: solid;
   border-color: rgba(255,0,0,0.6);
   padding: 10;
diff --git a/tests/reftests/background-origin.css b/tests/reftests/background-origin.css
index 22b22ee..f665eb9 100644
--- a/tests/reftests/background-origin.css
+++ b/tests/reftests/background-origin.css
@@ -13,7 +13,7 @@ GtkWindow {
 }
 
 GtkButton {
-  border-width: 5;
+  border-width: 5px;
   border-style: solid;
   border-color: rgba(255,0,0,0.5);
   padding: 10;
diff --git a/tests/reftests/border-color-default.css b/tests/reftests/border-color-default.css
index 5eba00f..4efe0e0 100644
--- a/tests/reftests/border-color-default.css
+++ b/tests/reftests/border-color-default.css
@@ -1,7 +1,7 @@
 * {
   border-image: none;
   border-style: solid;
-  border-width: 5;
+  border-width: 5px;
 }
 
 GtkButton {
diff --git a/tests/reftests/border-image-excess-size.css b/tests/reftests/border-image-excess-size.css
index 80af2b5..ffad2d9 100644
--- a/tests/reftests/border-image-excess-size.css
+++ b/tests/reftests/border-image-excess-size.css
@@ -4,7 +4,7 @@
   background-image: none;
   background-color: #000;
   border-style: solid;
-  border-width: 1;
+  border-width: 1px;
   padding: 0;
   border-radius: 0;
 }
diff --git a/tests/reftests/border-image-gradient.css b/tests/reftests/border-image-gradient.css
index c01629a..6cfe444 100644
--- a/tests/reftests/border-image-gradient.css
+++ b/tests/reftests/border-image-gradient.css
@@ -14,11 +14,11 @@
                                      to(green));
   border-image-slice: 1;
   border-image-repeat: stretch;
-  border-width: 1 2 2 1;
+  border-width: 1px 2px 2px 1px;
 }
 
 .button-not-image {
   border-color: green;
   border-style: solid;
-  border-width: 1 2 2 1;
+  border-width: 1px 2px 2px 1px;
 }
diff --git a/tests/reftests/border-image-url.css b/tests/reftests/border-image-url.css
index a5b4195..a61c452 100644
--- a/tests/reftests/border-image-url.css
+++ b/tests/reftests/border-image-url.css
@@ -3,13 +3,13 @@
 
   border-image: url("green-20x20.png") 1 stretch;
 
-  border-width: 1 2 2 1;
+  border-width: 1px 2px 2px 1px;
   border-radius: 0;
 }
 
 .button-not-image {
   border-color: green;
   border-style: solid;
-  border-width: 1 2 2 1;
+  border-width: 1px 2px 2px 1px;
   border-radius: 0;
 }
diff --git a/tests/reftests/border-radius-clamp.css b/tests/reftests/border-radius-clamp.css
index f7b3da6..d8ec308 100644
--- a/tests/reftests/border-radius-clamp.css
+++ b/tests/reftests/border-radius-clamp.css
@@ -1,9 +1,9 @@
 .progressbar {
   engine: none;
   border-image: none;
-  border-radius: 25;
+  border-radius: 25px;
 }
 
 #reference .progressbar {
-  border-radius: 10;
+  border-radius: 10px;
 }
diff --git a/tests/reftests/border-style-none.css b/tests/reftests/border-style-none.css
index 0c3bde8..06154c8 100644
--- a/tests/reftests/border-style-none.css
+++ b/tests/reftests/border-style-none.css
@@ -7,13 +7,13 @@
 GtkButton {
   background-color: purple;
   border-style: none;
-  border-width: 5;
-  border-radius: 15;
+  border-width: 5px;
+  border-radius: 15px;
 }
 
 #reference {
   border-style: solid;
   border-width: 0;
-  border-radius: 15;
+  border-radius: 15px;
 }
 
diff --git a/tests/reftests/border-style.css b/tests/reftests/border-style.css
index da28731..cf770d9 100644
--- a/tests/reftests/border-style.css
+++ b/tests/reftests/border-style.css
@@ -3,7 +3,7 @@
 GtkButton {
   background-color: red;
   border-color: green;
-  border-width: 1;
+  border-width: 1px;
 }
 
 .button-top-left {
diff --git a/tests/reftests/box-shadow-spec-inset.css b/tests/reftests/box-shadow-spec-inset.css
index 8cc2626..3370364 100644
--- a/tests/reftests/box-shadow-spec-inset.css
+++ b/tests/reftests/box-shadow-spec-inset.css
@@ -10,7 +10,7 @@ GtkButton {
 
 .row1, .row2, .row3 {
   /*border:5px solid blue;*/
-  border-width: 5;
+  border-width: 5px;
   border-style: solid;
   border-color: blue;
   background-color:orange;
@@ -40,7 +40,7 @@ GtkButton {
 }
 
 .reference-border {
-  border-width: 5;
+  border-width: 5px;
   border-style: solid;
   border-color: blue;
 }
@@ -55,14 +55,14 @@ GtkButton {
 
 /*
 .reference-padding-radius {
-  border-radius: 15
+  border-radius: 15px
 }
 
 .reference-radii1 {
-  border-radius: 15 0 10;
+  border-radius: 15px 0 10px;
 }
 
 .reference-radii2 {
-  border-radius: 5 0 10;
+  border-radius: 5px 0 10px;
 }
 */
diff --git a/tests/reftests/no-colors.css b/tests/reftests/no-colors.css
index 6091b9f..587634c 100644
--- a/tests/reftests/no-colors.css
+++ b/tests/reftests/no-colors.css
@@ -3,5 +3,5 @@
   color: transparent;
   border-color: transparent;
   border-style: solid;
-  border-width: 1;
+  border-width: 1px;
 }
diff --git a/tests/reftests/shorthand-entry-border.css b/tests/reftests/shorthand-entry-border.css
index eca547b..0d1d463 100644
--- a/tests/reftests/shorthand-entry-border.css
+++ b/tests/reftests/shorthand-entry-border.css
@@ -4,18 +4,18 @@
 }
 
 GtkWidget {
-  border-right-width: 5;
+  border-right-width: 5px;
 }
 
 GtkEntry {
-  border-width: 10 20;
+  border-width: 10px 20px;
 }
 
 .entry {
-  border-left-width: 10;
-  border-right-width: 10;
+  border-left-width: 10px;
+  border-right-width: 10px;
 }
 
 #reference {
-  border-width: 10;
+  border-width: 10px;
 }



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