diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-29 18:23:00 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-29 18:23:00 +0100 |
commit | 54ae60db8c504ac5793c60631066cb012b687378 (patch) | |
tree | c9e96fd518ee1073352fb036c959b5fe7ca2813e | |
parent | 244e4f5dfbd7b2c8ee8c8d2478058a802004be14 (diff) | |
download | libcss-54ae60db8c504ac5793c60631066cb012b687378.tar.gz libcss-54ae60db8c504ac5793c60631066cb012b687378.tar.bz2 |
test: dump: Add support for display property grid values
-rw-r--r-- | test/dump_computed.h | 6 |
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; |