From 2bbbe9050fb449276e6230ce0c2b0353d04b587c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 6 Dec 2014 13:19:58 +0000 Subject: Add column-span to computed style dump and update test data. --- test/dump_computed.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/dump_computed.h') diff --git a/test/dump_computed.h b/test/dump_computed.h index 621b097..f45e6c5 100644 --- a/test/dump_computed.h +++ b/test/dump_computed.h @@ -982,6 +982,25 @@ static void dump_computed_style(const css_computed_style *style, char *buf, ptr += wrote; *len -= wrote; + /* column-span */ + val = css_computed_column_span(style); + switch (val) { + case CSS_COLUMN_SPAN_INHERIT: + wrote = snprintf(ptr, *len, "column-span: inherit\n"); + break; + case CSS_COLUMN_SPAN_NONE: + wrote = snprintf(ptr, *len, "column-span: none\n"); + break; + case CSS_COLUMN_SPAN_ALL: + wrote = snprintf(ptr, *len, "column-span: all\n"); + break; + default: + wrote = 0; + break; + } + ptr += wrote; + *len -= wrote; + /* content */ val = css_computed_content(style, &content); switch (val) { -- cgit v1.2.3