diff options
-rw-r--r-- | dw/style.hh | 1 | ||||
-rw-r--r-- | src/cssparser.cc | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dw/style.hh b/dw/style.hh index dffb84bb..f69e5015 100644 --- a/dw/style.hh +++ b/dw/style.hh @@ -260,6 +260,7 @@ enum TextTransform { enum DisplayType { DISPLAY_BLOCK, DISPLAY_INLINE, + DISPLAY_INLINE_BLOCK, DISPLAY_LIST_ITEM, DISPLAY_NONE, DISPLAY_TABLE, diff --git a/src/cssparser.cc b/src/cssparser.cc index 306aa58c..ca41781e 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -71,8 +71,8 @@ static const char *const Css_cursor_enum_vals[] = { }; static const char *const Css_display_enum_vals[] = { - "block", "inline", "list-item", "none", "table", "table-row-group", - "table-header-group", "table-footer-group", "table-row", + "block", "inline", "inline-block", "list-item", "none", "table", + "table-row-group", "table-header-group", "table-footer-group", "table-row", "table-cell", NULL }; |