[svgwg] Merged Pull Request: Enum-like DOM properties throw TypeErrors on setting to unknown values

AmeliaBR has just merged AmeliaBR's pull request 641 for https://github.com/w3c/svgwg:

== Enum-like DOM properties throw TypeErrors on setting to unknown values ==
As resolved in https://github.com/w3c/svgwg/issues/547#issuecomment-424105119

> RESOLUTION: Setting a enum-like DOM property to a value
> that doesn't represent a valid attribute value
> should throw a TypeError

This affects the setter algorithm for
SVGAnimatedEnumeration
and for SVGPreserveAspectRatio.

Clarifying changes made to:
-  the note regarding reserializing an SVGAnimatedEnumeration,
- the general statement about
silently ignoring invalid values.

Closes #547.

See https://github.com/w3c/svgwg/pull/641

Received on Monday, 11 February 2019 21:04:27 UTC