Added unset font size/weight

This commit is contained in:
M66B 2020-05-04 18:27:46 +02:00
parent e546e62122
commit cc1b9cf52c
1 changed files with 2 additions and 0 deletions

View File

@ -1091,6 +1091,7 @@ public class HtmlHelper {
return 900; return 900;
case "none": case "none":
case "auto": case "auto":
case "unset":
case "initial": case "initial":
case "inherit": case "inherit":
return null; return null;
@ -1113,6 +1114,7 @@ public class HtmlHelper {
if (value.contains("calc") || if (value.contains("calc") ||
"none".equals(value) || "none".equals(value) ||
"auto".equals(value) || "auto".equals(value) ||
"unset".equals(value) ||
"initial".equals(value) || "initial".equals(value) ||
"inherit".equals(value)) "inherit".equals(value))
return null; return null;