diff options
Diffstat (limited to 'test/dump_computed.h')
-rw-r--r-- | test/dump_computed.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/dump_computed.h b/test/dump_computed.h index e1519f0..530b617 100644 --- a/test/dump_computed.h +++ b/test/dump_computed.h @@ -843,6 +843,25 @@ static void dump_computed_style(const css_computed_style *style, char *buf, ptr += wrote; *len -= wrote; + /* column-fill */ + val = css_computed_column_fill(style); + switch (val) { + case CSS_COLUMN_FILL_INHERIT: + wrote = snprintf(ptr, *len, "column-fill: inherit\n"); + break; + case CSS_COLUMN_FILL_AUTO: + wrote = snprintf(ptr, *len, "column-fill: auto\n"); + break; + case CSS_COLUMN_FILL_BALANCE: + wrote = snprintf(ptr, *len, "column-fill: balance\n"); + break; + default: + wrote = 0; + break; + } + ptr += wrote; + *len -= wrote; + /* content */ val = css_computed_content(style, &content); switch (val) { |