Another batch of cleanups in attribute parsing
Simplify things and get rid of parse_and_validate
.
Note that in the sequence there are a couple of changes that are not pure refactoring, but actually change how we handle things: instead of erroring out during parsing
- in
feColorMatrix
we clamp the saturate to the UnitInterval - in
feConvolveMatrix
we fallback to1.0
for the divisor These seem actually correct changes according to the spec.