summaryrefslogtreecommitdiff
path: root/src/parse/properties/margin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties/margin.c')
-rw-r--r--src/parse/properties/margin.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/parse/properties/margin.c b/src/parse/properties/margin.c
index 896e300..7817d50 100644
--- a/src/parse/properties/margin.c
+++ b/src/parse/properties/margin.c
@@ -43,28 +43,28 @@ css_error css__parse_margin(css_language *c,
/* Firstly, handle inherit */
token = parserutils_vector_peek(vector, *ctx);
- if (token == NULL)
+ if (token == NULL)
return CSS_INVALID;
-
+
if (is_css_inherit(c, token)) {
error = css_stylesheet_style_inherit(result, CSS_PROP_MARGIN_TOP);
- if (error != CSS_OK)
+ if (error != CSS_OK)
return error;
error = css_stylesheet_style_inherit(result, CSS_PROP_MARGIN_RIGHT);
- if (error != CSS_OK)
- return error;
+ if (error != CSS_OK)
+ return error;
error = css_stylesheet_style_inherit(result, CSS_PROP_MARGIN_BOTTOM);
- if (error != CSS_OK)
+ if (error != CSS_OK)
return error;
error = css_stylesheet_style_inherit(result, CSS_PROP_MARGIN_LEFT);
- if (error == CSS_OK)
+ if (error == CSS_OK)
parserutils_vector_iterate(vector, ctx);
return error;
- }
+ }
/* Attempt to parse up to 4 widths */
do {