From 54183411a97306df6e52d35dc5547ffac18a0992 Mon Sep 17 00:00:00 2001 From: Lucas Neves Date: Thu, 28 Sep 2017 15:30:14 +0000 Subject: Parsing: Add support for parsing the flexbox properties. --- src/parse/properties/properties.h | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'src/parse/properties/properties.h') diff --git a/src/parse/properties/properties.h b/src/parse/properties/properties.h index 4517515..1e085c5 100644 --- a/src/parse/properties/properties.h +++ b/src/parse/properties/properties.h @@ -22,6 +22,15 @@ typedef css_error (*css_prop_handler)(css_language *c, extern const css_prop_handler property_handlers[LAST_PROP + 1 - FIRST_PROP]; +css_error css__parse_align_content(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_align_items(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_align_self(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); css_error css__parse_azimuth(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); @@ -199,6 +208,27 @@ css_error css__parse_elevation(css_language *c, css_error css__parse_empty_cells(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); +css_error css__parse_flex(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_basis(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_direction(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_flow(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_grow(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_shrink(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); +css_error css__parse_flex_wrap(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); css_error css__parse_float(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); @@ -223,6 +253,9 @@ css_error css__parse_font_weight(css_language *c, css_error css__parse_height(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); +css_error css__parse_justify_content(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); css_error css__parse_left(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); @@ -274,6 +307,9 @@ css_error css__parse_min_width(css_language *c, css_error css__parse_opacity(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); +css_error css__parse_order(css_language *c, + const parserutils_vector *vector, int *ctx, + css_style *result); css_error css__parse_orphans(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result); @@ -423,4 +459,3 @@ css_error css__parse_z_index(css_language *c, css_style *result); #endif - -- cgit v1.2.3