summaryrefslogtreecommitdiff
path: root/src/parse/properties/border_outline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties/border_outline.c')
-rw-r--r--src/parse/properties/border_outline.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/parse/properties/border_outline.c b/src/parse/properties/border_outline.c
index 72b6b7b..8d31dc5 100644
--- a/src/parse/properties/border_outline.c
+++ b/src/parse/properties/border_outline.c
@@ -61,10 +61,6 @@ css_error parse_border_collapse(css_language *c,
if (ident == NULL || ident->type != CSS_TOKEN_IDENT)
return CSS_INVALID;
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
if (ident->ilower == c->strings[INHERIT]) {
flags |= FLAG_INHERIT;
} else if (ident->ilower == c->strings[COLLAPSE]) {
@@ -201,10 +197,6 @@ css_error parse_border_spacing(css_language *c,
value = BORDER_SPACING_SET;
}
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
opv = buildOPV(CSS_PROP_BORDER_SPACING, flags, value);
required_size = sizeof(opv);
@@ -290,10 +282,6 @@ css_error parse_outline_color(css_language *c,
value = OUTLINE_COLOR_SET;
}
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
opv = buildOPV(CSS_PROP_OUTLINE_COLOR, flags, value);
required_size = sizeof(opv);
@@ -382,10 +370,6 @@ css_error parse_border_side_color(css_language *c,
value = BORDER_COLOR_SET;
}
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
opv = buildOPV(op, flags, value);
required_size = sizeof(opv);
@@ -423,10 +407,6 @@ css_error parse_border_side_style(css_language *c,
if (ident == NULL || ident->type != CSS_TOKEN_IDENT)
return CSS_INVALID;
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
if (ident->ilower == c->strings[INHERIT]) {
flags |= FLAG_INHERIT;
} else if (ident->ilower == c->strings[NONE]) {
@@ -516,10 +496,6 @@ css_error parse_border_side_width(css_language *c,
value = BORDER_WIDTH_SET;
}
- error = parse_important(c, vector, ctx, &flags);
- if (error != CSS_OK)
- return error;
-
opv = buildOPV(op, flags, value);
required_size = sizeof(opv);