- From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Jun 2019 11:58:34 +0000
- To: public-svg-issues@w3.org
dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Needs editing": == 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 Thursday, 6 June 2019 11:58:35 UTC