From 207dc70c8717c8402e4d065acea7da75c64a034f Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 26 Aug 2023 09:10:03 +0200 Subject: [PATCH] [libcss] Set status = 0 for color. --- src/document/libdom/css.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/document/libdom/css.c b/src/document/libdom/css.c index 0f9ae19b7..9a1e9be80 100644 --- a/src/document/libdom/css.c +++ b/src/document/libdom/css.c @@ -1802,6 +1802,7 @@ css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint) if (property == CSS_PROP_COLOR) { // hint->data.color = 0x00000000; // hint->status = CSS_COLOR_COLOR; + hint->status = 0; } else if (property == CSS_PROP_FONT_FAMILY) { hint->data.strings = NULL; hint->status = CSS_FONT_FAMILY_SANS_SERIF;