From: Daniel Jagszent Date: Mon, 10 Feb 2020 15:18:49 +0000 (+0100) Subject: [Minor] add deprecated name HTML colors X-Git-Tag: 2.4~57^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3260%2Fhead;p=thirdparty%2Frspamd.git [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. --- 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