CSS hints: Ensure length and unit are initialised for vertical-align.
This commit is contained in:
parent
8e6cf1e1d4
commit
f64a22c228
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue