[gtk+] Update css parser tests for colors



commit 6eb4102bf25263f8023e80a72d8da133f9ab5dee
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 21 14:08:58 2015 -0500

    Update css parser tests for colors
    
    Use the color property instead of a made-up rgba-valued property.

 testsuite/css/parser/colors-errors.css  |   16 ++++++++--------
 testsuite/css/parser/colors-red.css     |   30 +++++++++++++++---------------
 testsuite/css/parser/colors-red.ref.css |   30 +++++++++++++++---------------
 3 files changed, 38 insertions(+), 38 deletions(-)
---
diff --git a/testsuite/css/parser/colors-errors.css b/testsuite/css/parser/colors-errors.css
index 4b2cbad..d5dd178 100644
--- a/testsuite/css/parser/colors-errors.css
+++ b/testsuite/css/parser/colors-errors.css
@@ -1,31 +1,31 @@
 a {
-  rgba-property: #1;
+  color: #1;
 }
 
 b {
-  rgba-property: #12;
+  color: #12;
 }
 
 c {
-  rgba-property: #1234;
+  color: #1234;
 }
 
 d {
-  rgba-property: #12345;
+  color: #12345;
 }
 
 e {
-  rgba-property: #1234567;
+  color: #1234567;
 }
 
 f {
-  rgba-property: notacolorname;
+  color: notacolorname;
 }
 
 g {
-  rgba-property: rgb(1,2,3,4);
+  color: rgb(1,2,3,4);
 }
 
 h {
-  rgba-property: rgba(1,2,3,4,5);
+  color: rgba(1,2,3,4,5);
 }
diff --git a/testsuite/css/parser/colors-red.css b/testsuite/css/parser/colors-red.css
index 9d96b95..ed69db6 100644
--- a/testsuite/css/parser/colors-red.css
+++ b/testsuite/css/parser/colors-red.css
@@ -1,59 +1,59 @@
 a {
-  rgba-property: red;
+  color: red;
 }
 
 b {
-  rgba-property: rgba(255,0,0,1.0);
+  color: rgba(255,0,0,1.0);
 }
 
 c {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 d {
-  rgba-property: rgba(100%,0%,0%,1);
+  color: rgba(100%,0%,0%,1);
 }
 
 e {
-  rgba-property: rgb(100%,0,0);
+  color: rgb(100%,0,0);
 }
 
 f {
-  rgba-property: #f00;
+  color: #f00;
 }
 
 g {
-  rgba-property: #ff0000;
+  color: #ff0000;
 }
 
 h {
-  rgba-property: #F00;
+  color: #F00;
 }
 
 i {
-  rgba-property: #fF0000;
+  color: #fF0000;
 }
 
 j {
-  rgba-property: rgba( 255 , 0 , 0 , 1 ) ;
+  color: rgba( 255 , 0 , 0 , 1 ) ;
 }
 
 k {
-  rgba-property: rgb( 255 , 0 , 0 ) ;
+  color: rgb( 255 , 0 , 0 ) ;
 }
 
 l {
-  rgba-property:/*x*/rgba(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/,/*x*/1/*x*/)/*x*/;
+  color:/*x*/rgba(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/,/*x*/1/*x*/)/*x*/;
 }
 
 m {
-  rgba-property:/*x*/rgb(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/)/*x*/;
+  color:/*x*/rgb(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/)/*x*/;
 }
 
 n {
-  rgba-property: /*x*/ rgba( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 1 /*x*/ ) /*x*/ ;
+  color: /*x*/ rgba( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 1 /*x*/ ) /*x*/ ;
 }
 
 o {
-  rgba-property: /*x*/ rgb( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ ) /*x*/ ;
+  color: /*x*/ rgb( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ ) /*x*/ ;
 }
diff --git a/testsuite/css/parser/colors-red.ref.css b/testsuite/css/parser/colors-red.ref.css
index ba18119..f8e68c1 100644
--- a/testsuite/css/parser/colors-red.ref.css
+++ b/testsuite/css/parser/colors-red.ref.css
@@ -1,59 +1,59 @@
 a {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 b {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 c {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 d {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 e {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 f {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 g {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 h {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 i {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 j {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 k {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 l {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 m {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 n {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 o {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }


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