mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Libraries/Html/Renderer: Move some element defaults to Default.css
This commit is contained in:
@@ -1279,14 +1279,6 @@ U0 @render_node_list(@html_dom_node* node, HtmlRenderer* renderer)
|
||||
block_widget->data = node;
|
||||
}
|
||||
|
||||
if (!StrICmp(node->tagName, "b") || !StrICmp(node->tagName, "strong")) {
|
||||
node->fontWeight = 700;
|
||||
}
|
||||
|
||||
if (!StrICmp(node->tagName, "i") || !StrICmp(node->tagName, "em")) {
|
||||
node->italic = TRUE;
|
||||
}
|
||||
|
||||
if (!StrICmp(node->tagName, "strike")) {
|
||||
node->linethroughColor = node->color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user