commit 728bcd8: [Minor] add deprecated name HTML colors
Daniel Jagszent
daniel at jagszent.de
Fri Feb 14 11:21:06 UTC 2020
Author: Daniel Jagszent
Date: 2020-02-10 16:18:49 +0100
URL: https://github.com/rspamd/rspamd/commit/728bcd89959f95aad7cc503caecb181bce7e267f (refs/pull/3260/head)
[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 a22c5dc16..aea197f6c 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
More information about the Commits
mailing list