mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +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;
|
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")) {
|
if (!StrICmp(node->tagName, "strike")) {
|
||||||
node->linethroughColor = node->color;
|
node->linethroughColor = node->color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user