commit a50d458: [Minor] Fix some visibility classes

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jun 18 19:42:06 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-06-18 20:16:01 +0100
URL: https://github.com/rspamd/rspamd/commit/a50d4583a0f2c8998ef216a2eea5fb5d2cc268ea

[Minor] Fix some visibility classes

---
 src/libserver/css/css_value.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libserver/css/css_value.cxx b/src/libserver/css/css_value.cxx
index fcca37d8f..d187f1031 100644
--- a/src/libserver/css/css_value.cxx
+++ b/src/libserver/css/css_value.cxx
@@ -302,13 +302,13 @@ constexpr const auto display_names_map = frozen::make_unordered_map<frozen::stri
 		{"block",              css_display_value::DISPLAY_BLOCK},
 		{"content",            css_display_value::DISPLAY_INLINE},
 		{"flex",               css_display_value::DISPLAY_BLOCK},
-		{"grid",               css_display_value::DISPLAY_INLINE},
+		{"grid",               css_display_value::DISPLAY_BLOCK},
 		{"inline-block",       css_display_value::DISPLAY_INLINE},
 		{"inline-flex",        css_display_value::DISPLAY_INLINE},
 		{"inline-grid",        css_display_value::DISPLAY_INLINE},
 		{"inline-table",       css_display_value::DISPLAY_INLINE},
 		{"list-item",          css_display_value::DISPLAY_BLOCK},
-		{"run-in",             css_display_value::DISPLAY_BLOCK},
+		{"run-in",             css_display_value::DISPLAY_INLINE},
 		{"table",              css_display_value::DISPLAY_BLOCK},
 		{"table-caption",      css_display_value::DISPLAY_BLOCK},
 		{"table-column-group", css_display_value::DISPLAY_BLOCK},


More information about the Commits mailing list