summaryrefslogtreecommitdiff
path: root/src/select/computed.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-10-29 18:22:19 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2022-10-29 18:22:19 +0100
commit244e4f5dfbd7b2c8ee8c8d2478058a802004be14 (patch)
tree0f0704db0eff1177ad18fb84f8b2840b0654ed7e /src/select/computed.c
parent3b0f34bccc44e8ea81cfad57a5f6a3f50d8917ef (diff)
downloadlibcss-244e4f5dfbd7b2c8ee8c8d2478058a802004be14.tar.gz
libcss-244e4f5dfbd7b2c8ee8c8d2478058a802004be14.tar.bz2
properties: display: Add grid values
Diffstat (limited to 'src/select/computed.c')
-rw-r--r--src/select/computed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index 89d6efb..c257f17 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -926,6 +926,8 @@ uint8_t css_computed_display(const css_computed_style *style,
return CSS_DISPLAY_TABLE;
} else if (display == CSS_DISPLAY_INLINE_FLEX) {
return CSS_DISPLAY_FLEX;
+ } else if (display == CSS_DISPLAY_INLINE_GRID) {
+ return CSS_DISPLAY_GRID;
} else if (display == CSS_DISPLAY_INLINE ||
display == CSS_DISPLAY_RUN_IN ||
display == CSS_DISPLAY_TABLE_ROW_GROUP ||