Re: [svgwg] What is the unit type after setting an SVGAngle or SVGLength's value (#478)

> I'd be happy with either the Chrome or Edge behavior.

Blink (Chrome) could probably implement the Edge behavior if needed. (IIRC that's what's currently speced. We exported some embryonic tests for that behavior[1] - it could probably do with some love.)

> I'd prefer the Chrome behavior except for getting/setting valueAsString.

ISTR that behavior being based on early discussions around this (how to support new units), and it should be an easy change to make.

[1] https://wpt.fyi/results/svg/types/scripted/SVGLength-px.html

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/478#issuecomment-459956304 using your GitHub account

Received on Saturday, 2 February 2019 11:05:17 UTC