Re: [svgwg] Shouldn't getCharNumAtPosition take an argument of type DOMPointReadOnly rather than DOMPoint

That only talks about read-only DOMPoints - not SVGPointList. The whole "read-only object" thing is there because of the various `animVal`s (and similar, like `animatedPoints`) which were supposed to be read-only, but that couldn't be expressed through IDL in all cases (for instance SVGNumber works fine to just mark `readonly` in IDL, but SVGLength doesn't. Having SVGLengthReadOnly et.c would've done the trick though.) Presumably this is remnants from when `baseVal === animVal` was not always the case, and thus it can probably be removed.

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

Received on Saturday, 3 March 2018 22:01:35 UTC