System/Libraries/Html/Renderer: Move some element defaults to Default.css

This commit is contained in:
Alec Murphy 2025-04-26 10:50:49 -04:00
parent 79d73bdff3
commit ee2114876a

View file

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