(raw: string)
| 1064 | } |
| 1065 | |
| 1066 | export function normalizeStyleValue(raw: string): string { |
| 1067 | if (!raw) return '' |
| 1068 | let val = preprocessCssValue(raw) |
| 1069 | val = stripFallback(val) |
| 1070 | val = val.replace(ZERO_UNITS_RE, '$10') |
| 1071 | return val.trim() |
| 1072 | } |
| 1073 | |
| 1074 | const TEXT_STYLE_DEFAULTS = new Map<string, string>([ |
| 1075 | ['text-decoration-skip-ink', 'auto'], |
no test coverage detected