[svgwg] Issue: What is the unit type after setting an SVGAngle or SVGLength's value (#478) marked as Agenda+

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== What is the unit type after setting an SVGAngle or SVGLength'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, 2 February 2019 03:04:34 UTC