diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-28 20:25:01 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-01-28 20:25:01 +0000 |
commit | 32ed7d0984f0dd872b4aaac0ac12c18471f291a0 (patch) | |
tree | 39181671076458c8f379507e0585d376ebc7363f /src/parse/propstrings.c | |
parent | 6800a4d203fa62366720cc18993a74af92c0359c (diff) | |
download | libcss-32ed7d0984f0dd872b4aaac0ac12c18471f291a0.tar.gz libcss-32ed7d0984f0dd872b4aaac0ac12c18471f291a0.tar.bz2 |
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
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r-- | src/parse/propstrings.c | 15 |
1 files changed, 15 insertions, 0 deletions
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") }, |