diff options
author | Lucas Neves <lcneves@gmail.com> | 2017-09-28 15:30:14 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-10-21 15:03:51 +0100 |
commit | 54183411a97306df6e52d35dc5547ffac18a0992 (patch) | |
tree | 462bebe5062e41a03f0e61933349da0ea5062bc5 /src/parse/propstrings.c | |
parent | 24479e3311cb07d09d3efb3338cb2904b18c0397 (diff) | |
download | libcss-54183411a97306df6e52d35dc5547ffac18a0992.tar.gz libcss-54183411a97306df6e52d35dc5547ffac18a0992.tar.bz2 |
Parsing: Add support for parsing the flexbox properties.
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r-- | src/parse/propstrings.c | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c index dd6bee4..bfd2965 100644 --- a/src/parse/propstrings.c +++ b/src/parse/propstrings.c @@ -82,6 +82,9 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "before", SLEN("before") }, { "after", SLEN("after") }, + { "align-content", SLEN("align-content") }, + { "align-items", SLEN("align-items") }, + { "align-self", SLEN("align-self") }, { "azimuth", SLEN("azimuth") }, { "background", SLEN("background") }, { "background-attachment", SLEN("background-attachment") }, @@ -141,6 +144,13 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "display", SLEN("display") }, { "elevation", SLEN("elevation") }, { "empty-cells", SLEN("empty-cells") }, + { "flex", SLEN("flex") }, + { "flex-basis", SLEN("flex-basis") }, + { "flex-direction", SLEN("flex-direction") }, + { "flex-flow", SLEN("flex-flow") }, + { "flex-grow", SLEN("flex-grow") }, + { "flex-shrink", SLEN("flex-shrink") }, + { "flex-wrap", SLEN("flex-wrap") }, { "float", SLEN("float") }, { "font", SLEN("font") }, { "font-family", SLEN("font-family") }, @@ -149,6 +159,7 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "font-variant", SLEN("font-variant") }, { "font-weight", SLEN("font-weight") }, { "height", SLEN("height") }, + { "justify-content", SLEN("justify-content") }, { "left", SLEN("left") }, { "letter-spacing", SLEN("letter-spacing") }, { "line-height", SLEN("line-height") }, @@ -166,6 +177,7 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "min-height", SLEN("min-height") }, { "min-width", SLEN("min-width") }, { "opacity", SLEN("opacity") }, + { "order", SLEN("order") }, { "orphans", SLEN("orphans") }, { "outline", SLEN("outline") }, { "outline-color", SLEN("outline-color") }, @@ -415,6 +427,18 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "vertical-lr", SLEN("vertical-lr") }, { "content-box", SLEN("content-box") }, { "border-box", SLEN("border-box") }, + { "stretch", SLEN("stretch") }, + { "inline-flex", SLEN("inline-flex") }, + { "flex-start", SLEN("flex-start") }, + { "flex-end", SLEN("flex-end") }, + { "space-between", SLEN("space-between") }, + { "space-around", SLEN("space-around") }, + { "space-evenly", SLEN("space-evenly") }, + { "row", SLEN("row") }, + { "row-reverse", SLEN("row-reverse") }, + { "column-reverse", SLEN("column-reverse") }, + { "wrap", SLEN("wrap") }, + { "wrap-reverse", SLEN("wrap-reverse") }, { "aliceblue", SLEN("aliceblue") }, { "antiquewhite", SLEN("antiquewhite") }, @@ -621,5 +645,3 @@ void css__propstrings_unref(void) lwc_string_unref(css__propstrings.strings[i]); } } - - |