mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-10 13:09:55 +02:00
System/Libraries/Html/Renderer: Handle 'small' HTML tag
This commit is contained in:
@@ -1694,6 +1694,10 @@ U0 @handle_tag_specific_functions(@html_dom_node* node, HtmlRenderer* renderer)
|
||||
}
|
||||
}
|
||||
|
||||
if (!StrICmp(node->tagName, "small")) {
|
||||
node->fontSize = ToI64(0.83 * node->fontSize);
|
||||
}
|
||||
|
||||
if (!StrICmp(node->tagName, "strike")) {
|
||||
node->linethroughColor = node->color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user