Fix extraction of @size attribute.

This commit is contained in:
John-Mark Bell 2012-09-30 10:21:46 +01:00
parent aea01d1978
commit 5743009283

View File

@ -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;
}