[svgwg] What is the unit type after setting an SVGAngle's value

longsonr has just created a new issue for https://github.com/w3c/svgwg:

== What is the unit type after setting an SVGAngle's value ==
Per https://svgwg.org/svg2-draft/types.html#__svg__SVGAngle__value

Shouldn't the unit type become SVG_ANGLETYPE_UNKNOWN if you set an SVGAngle's value via the DOM. This is not particularly explicit in the specification but the spec says that assigning to value changes the internal value to a `<number>`, which implies that the unit will be SVG_ANGLETYPE_UNSPECIFIED.

However Chrome, Safari and Firefox don't do that. All of them leave the unit type unchanged. See https://bug1456004.bmoattachments.org/attachment.cgi?id=8975318 for a testcase.

Should the specification change to reflect reality? Note that I havent tested IE/Edge.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/478 using your GitHub account

Received on Sunday, 1 July 2018 15:07:12 UTC