Commit f4a6ef0d authored by Benjamin Otte's avatar Benjamin Otte

tests: Add a CSS test for color parsing errors

In [particular check for the fix in the last commit.
parent 9e2ebdee
......@@ -37,6 +37,9 @@ EXTRA_DIST += \
close-at-end-of-file.css \
close-at-end-of-file.errors \
close-at-end-of-file.ref.css \
colors-errors.css \
colors-errors.errors \
colors-errors.ref.css \
colors-red.css \
colors-red.ref.css \
css-21-malformed-declarations.css \
......
a {
rgba-property: #1;
}
b {
rgba-property: #12;
}
c {
rgba-property: #1234;
}
d {
rgba-property: #12345;
}
e {
rgba-property: #1234567;
}
f {
rgba-property: notacolorname;
}
g {
rgba-property: rgb(1,2,3,4);
}
h {
rgba-property: rgba(1,2,3,4,5);
}
colors-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:6: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:10: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:14: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:18: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:22: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:26: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
colors-errors.css:30: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
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