1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[libcss] Set status = 0 for color.

This commit is contained in:
Witold Filipczyk 2023-08-26 09:10:03 +02:00
parent abf035f21f
commit 207dc70c87

View File

@ -1802,6 +1802,7 @@ css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint)
if (property == CSS_PROP_COLOR) { if (property == CSS_PROP_COLOR) {
// hint->data.color = 0x00000000; // hint->data.color = 0x00000000;
// hint->status = CSS_COLOR_COLOR; // hint->status = CSS_COLOR_COLOR;
hint->status = 0;
} else if (property == CSS_PROP_FONT_FAMILY) { } else if (property == CSS_PROP_FONT_FAMILY) {
hint->data.strings = NULL; hint->data.strings = NULL;
hint->status = CSS_FONT_FAMILY_SANS_SERIF; hint->status = CSS_FONT_FAMILY_SANS_SERIF;