SIGN IN SIGN UP

svg: keep inherited text styles on invalid values

An unrecognized font-weight, dominant-baseline, letter-spacing or
word-spacing value overrode the inherited one (auto or 0) when set via
the style attribute or without validation.

Validate all four in _parseStyleAttr(), the shared entry for presentation
and style attributes, and drop invalid values so the parent's stays.
J
JunsuChoi committed
c4f274fe38da46a1ddaa111d287675d85c7fc252
Parent: 3a2ce05
Committed by Hermet Park <hermetpark@gmail.com> on 8/16/2026, 3:23:00 PM