summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-10-29 18:23:00 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2022-10-29 18:23:00 +0100
commit54ae60db8c504ac5793c60631066cb012b687378 (patch)
treec9e96fd518ee1073352fb036c959b5fe7ca2813e
parent244e4f5dfbd7b2c8ee8c8d2478058a802004be14 (diff)
downloadlibcss-54ae60db8c504ac5793c60631066cb012b687378.tar.gz
libcss-54ae60db8c504ac5793c60631066cb012b687378.tar.bz2
test: dump: Add support for display property grid values
-rw-r--r--test/dump_computed.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dump_computed.h b/test/dump_computed.h
index 8ac6424..a5c4f13 100644
--- a/test/dump_computed.h
+++ b/test/dump_computed.h
@@ -1603,6 +1603,12 @@ static void dump_computed_style(const css_computed_style *style, char *buf,
case CSS_DISPLAY_INLINE_FLEX:
wrote = snprintf(ptr, *len, "display: inline-flex\n");
break;
+ case CSS_DISPLAY_GRID:
+ wrote = snprintf(ptr, *len, "display: grid\n");
+ break;
+ case CSS_DISPLAY_INLINE_GRID:
+ wrote = snprintf(ptr, *len, "display: inline-grid\n");
+ break;
default:
wrote = 0;
break;