]> Pileus Git - ~andy/gtk/blob - tests/css/parser/colors-red.css
tests: Add test that ensures we properly parse the color red
[~andy/gtk] / tests / css / parser / colors-red.css
1 a {
2   rgba-property: red;
3 }
4
5 b {
6   rgba-property: rgba(255,0,0,1.0);
7 }
8
9 c {
10   rgba-property: rgb(255,0,0);
11 }
12
13 d {
14   rgba-property: rgba(100%,0%,0%,1);
15 }
16
17 e {
18   rgba-property: rgb(100%,0,0);
19 }
20
21 f {
22   rgba-property: #f00;
23 }
24
25 g {
26   rgba-property: #ff0000;
27 }
28
29 h {
30   rgba-property: #F00;
31 }
32
33 i {
34   rgba-property: #fF0000;
35 }
36
37 j {
38   rgba-property: rgba( 255 , 0 , 0 , 1 ) ;
39 }
40
41 k {
42   rgba-property: rgb( 255 , 0 , 0 ) ;
43 }
44
45 l {
46   rgba-property:/*x*/rgba(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/,/*x*/1/*x*/)/*x*/;
47 }
48
49 m {
50   rgba-property:/*x*/rgb(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/)/*x*/;
51 }
52
53 n {
54   rgba-property: /*x*/ rgba( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 1 /*x*/ ) /*x*/ ;
55 }
56
57 o {
58   rgba-property: /*x*/ rgb( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ ) /*x*/ ;
59 }