summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/handlers/html/box.h2
-rw-r--r--content/handlers/html/box_construct.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/content/handlers/html/box.h b/content/handlers/html/box.h
index df2b99d87..90a252129 100644
--- a/content/handlers/html/box.h
+++ b/content/handlers/html/box.h
@@ -69,6 +69,8 @@ typedef enum {
BOX_NONE,
BOX_FLEX,
BOX_INLINE_FLEX,
+ BOX_GRID,
+ BOX_INLINE_GRID,
} box_type;
diff --git a/content/handlers/html/box_construct.c b/content/handlers/html/box_construct.c
index 8519c2b1d..11148485a 100644
--- a/content/handlers/html/box_construct.c
+++ b/content/handlers/html/box_construct.c
@@ -108,8 +108,8 @@ static const box_type box_map[] = {
BOX_NONE, /* CSS_DISPLAY_NONE */
BOX_FLEX, /* CSS_DISPLAY_FLEX */
BOX_INLINE_FLEX, /* CSS_DISPLAY_INLINE_FLEX */
- BOX_BLOCK, /* CSS_DISPLAY_GRID */
- BOX_INLINE_BLOCK, /* CSS_DISPLAY_INLINE_GRID */
+ BOX_GRID, /* CSS_DISPLAY_GRID */
+ BOX_INLINE_GRID, /* CSS_DISPLAY_INLINE_GRID */
};