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

AmeliaBR has just submitted a new pull request 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 Thursday, 31 January 2019 05:20:51 UTC