summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse/properties/generated_list.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parse/properties/generated_list.c b/src/parse/properties/generated_list.c
index 3efe305..0d9dd7c 100644
--- a/src/parse/properties/generated_list.c
+++ b/src/parse/properties/generated_list.c
@@ -247,14 +247,14 @@ css_error parse_list_style(css_language *c,
goto cleanup;
}
- if (image == NULL && (error = parse_list_style_image(c, vector,
- ctx, &image)) == CSS_OK) {
+ if (type == NULL && (error = parse_list_style_type(c, vector,
+ ctx, &type)) == CSS_OK) {
} else if (position == NULL &&
(error = parse_list_style_position(c, vector,
ctx, &position)) == CSS_OK) {
- } else if (type == NULL &&
- (error = parse_list_style_type(c, vector, ctx,
- &type)) == CSS_OK) {
+ } else if (image == NULL &&
+ (error = parse_list_style_image(c, vector, ctx,
+ &image)) == CSS_OK) {
}
if (error == CSS_OK) {