From 728bcd89959f95aad7cc503caecb181bce7e267f Mon Sep 17 00:00:00 2001 From: Daniel Jagszent Date: Mon, 10 Feb 2020 16:18:49 +0100 Subject: [PATCH] [Minor] add deprecated name HTML colors https://drafts.csswg.org/css-color-4/#deprecated-system-colors has a list of deprecated named colors that are system dependent. This commit adds them with default values. --- src/libserver/html_colors.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/libserver/html_colors.h b/src/libserver/html_colors.h index a22c5dc162..aea197f6cb 100644 --- a/src/libserver/html_colors.h +++ b/src/libserver/html_colors.h @@ -706,6 +706,29 @@ static const struct rspamd_html_colorname html_colornames[] = { {{205, 205, 0}, "yellow3"}, {{139, 139, 0}, "yellow4"}, {{154, 205, 50}, "yellowgreen"}, + {{180, 180, 180}, "activeborder"}, + {{153, 180, 209}, "activecaption"}, + {{171, 171, 171}, "appworkspace"}, + {{0, 0, 0}, "background"}, + {{255, 255, 255}, "buttonhighlight"}, + {{160, 160, 160}, "buttonshadow"}, + {{0, 0, 0}, "captiontext"}, + {{244, 247, 252}, "inactiveborder"}, + {{191, 205, 219}, "inactivecaption"}, + {{0, 0, 0}, "inactivecaptiontext"}, + {{255, 255, 225}, "infobackground"}, + {{0, 0, 0}, "infotext"}, + {{240, 240, 240}, "menu"}, + {{0, 0, 0}, "menutext"}, + {{200, 200, 200}, "scrollbar"}, + {{0, 0, 0}, "threeddarkshadow"}, + {{0, 0, 0}, "threedface"}, + {{0, 0, 0}, "threedhighlight"}, + {{0, 0, 0}, "threedlightshadow"}, + {{0, 0, 0}, "threedshadow"}, + {{255, 255, 255}, "window"}, + {{100, 100, 100}, "windowframe"}, + {{0, 0, 0}, "windowtext"}, }; #ifdef __cplusplus -- 2.47.3