mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 00:40:15 +03:00
Fix extraction of @size attribute.
This commit is contained in:
parent
aea01d1978
commit
5743009283
@ -2611,7 +2611,7 @@ node_presentational_hint_font_size(nscss_select_ctx *ctx,
|
||||
|
||||
dom_string_unref(node_name);
|
||||
|
||||
err = dom_element_get_attribute(node, corestring_dom_align, &size);
|
||||
err = dom_element_get_attribute(node, corestring_dom_size, &size);
|
||||
if ((err != DOM_NO_ERR) || (size == NULL)) {
|
||||
return CSS_PROPERTY_NOT_SET;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user