]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] add deprecated name HTML colors 3260/head
authorDaniel Jagszent <daniel@jagszent.de>
Mon, 10 Feb 2020 15:18:49 +0000 (16:18 +0100)
committerDaniel Jagszent <daniel@jagszent.de>
Mon, 10 Feb 2020 16:12:05 +0000 (17:12 +0100)
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

index a22c5dc1629a82609479c548b689e0f4bdccd12d..aea197f6cb9aa05ba5e99e4801c77dacba591a13 100644 (file)
@@ -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