Commit dd78ab5a authored by Benjamin Otte's avatar Benjamin Otte

tests: Add test that ensures we properly parse the color red

parent 42fb004d
......@@ -34,6 +34,8 @@ EXTRA_DIST += \
close-at-end-of-file.css \
close-at-end-of-file.errors \
close-at-end-of-file.ref.css \
colors-red.css \
colors-red.ref.css \
css-21-malformed-declarations.css \
css-21-malformed-declarations.errors \
css-21-malformed-declarations.ref.css \
......
a {
rgba-property: red;
}
b {
rgba-property: rgba(255,0,0,1.0);
}
c {
rgba-property: rgb(255,0,0);
}
d {
rgba-property: rgba(100%,0%,0%,1);
}
e {
rgba-property: rgb(100%,0,0);
}
f {
rgba-property: #f00;
}
g {
rgba-property: #ff0000;
}
h {
rgba-property: #F00;
}
i {
rgba-property: #fF0000;
}
j {
rgba-property: rgba( 255 , 0 , 0 , 1 ) ;
}
k {
rgba-property: rgb( 255 , 0 , 0 ) ;
}
l {
rgba-property:/*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*/;
}
n {
rgba-property: /*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*/ ;
}
a {
rgba-property: rgb(255,0,0);
}
b {
rgba-property: rgb(255,0,0);
}
c {
rgba-property: rgb(255,0,0);
}
d {
rgba-property: rgb(255,0,0);
}
e {
rgba-property: rgb(255,0,0);
}
f {
rgba-property: rgb(255,0,0);
}
g {
rgba-property: rgb(255,0,0);
}
h {
rgba-property: rgb(255,0,0);
}
i {
rgba-property: rgb(255,0,0);
}
j {
rgba-property: rgb(255,0,0);
}
k {
rgba-property: rgb(255,0,0);
}
l {
rgba-property: rgb(255,0,0);
}
m {
rgba-property: rgb(255,0,0);
}
n {
rgba-property: rgb(255,0,0);
}
o {
rgba-property: rgb(255,0,0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment