Changed: Do not restrict html font-family to inherit/monospace only.

--HG--
branch : develop
This commit is contained in:
Nimetu 2018-12-27 11:32:52 +02:00
parent d8638fa42b
commit 0099eb3ba4

View file

@ -6301,10 +6301,7 @@ namespace NLGUI
if (it->second == "inherit")
style.FontFamily = current.FontFamily;
else
if (it->second == "monospace")
style.FontFamily = "monospace";
else
style.FontFamily.clear();
style.FontFamily = it->second;
}
else
if (it->first == "font-weight")