[svgwg] Issue: What is the unit type after setting an SVGAngle's value marked as Basic Data Types and Interfaces chapter

svgeesus has just labeled an issue for https://github.com/w3c/svgwg as "Basic Data Types and Interfaces chapter":

== 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.

See https://github.com/w3c/svgwg/issues/478

Received on Saturday, 22 September 2018 23:33:12 UTC