diff --git a/content/handlers/css/hints.c b/content/handlers/css/hints.c index 08fe438c1..3a15f8e08 100644 --- a/content/handlers/css/hints.c +++ b/content/handlers/css/hints.c @@ -748,6 +748,8 @@ static void css_hint_vertical_align_table_cells( corestring_dom_valign, &attr); if (err == DOM_NO_ERR && attr != NULL) { + hint->data.length.value = 0; + hint->data.length.unit = CSS_UNIT_PX; if (dom_string_caseless_lwc_isequal(attr, corestring_lwc_top)) { hint->prop = CSS_PROP_VERTICAL_ALIGN;