From 32ed7d0984f0dd872b4aaac0ac12c18471f291a0 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 28 Jan 2012 20:25:01 +0000 Subject: Add support for parsing CSS3 Multi-column layout properties: + break-after + break-before + break-inside + column-count + column-fill + column-gap + column-rule-color + column-rule-style + column_rule-width + column_span + column_width TODO: Shorthand properties (columns, column-rule) TODO: Selection svn path=/trunk/libcss/; revision=13412 --- src/parse/propstrings.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/parse/propstrings.c') diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c index dea8816..9ea4707 100644 --- a/src/parse/propstrings.c +++ b/src/parse/propstrings.c @@ -105,10 +105,21 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "border-top-width", SLEN("border-top-width") }, { "border-width", SLEN("border-width") }, { "bottom", SLEN("bottom") }, + { "break-after", SLEN("break-after") }, + { "break-before", SLEN("break-before") }, + { "break-inside", SLEN("break-inside") }, { "caption-side", SLEN("caption-side") }, { "clear", SLEN("clear") }, { "clip", SLEN("clip") }, { "color", SLEN("color") }, + { "column-count", SLEN("column-count") }, + { "column-fill", SLEN("column-fill") }, + { "column-gap", SLEN("column-gap") }, + { "column-rule-color", SLEN("column-rule-color") }, + { "column-rule-style", SLEN("column-rule-style") }, + { "column-rule-width", SLEN("column-rule_width") }, + { "column-span", SLEN("column-span") }, + { "column-width", SLEN("column-width") }, { "content", SLEN("content") }, { "counter-increment", SLEN("counter-increment") }, { "counter-reset", SLEN("counter-reset") }, @@ -382,6 +393,10 @@ const stringmap_entry stringmap[LAST_KNOWN] = { { "opentype", SLEN("opentype") }, { "embedded-opentype", SLEN("embedded-opentype") }, { "svg", SLEN("svg") }, + { "column", SLEN("column") }, + { "avoid-page", SLEN("avoid_page") }, + { "avoid-column", SLEN("avoid-column") }, + { "balance", SLEN("balance") }, { "aliceblue", SLEN("aliceblue") }, { "antiquewhite", SLEN("antiquewhite") }, -- cgit v1.2.3