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

```js
text.getCharNumAtPosition({x: 50, y: 15});
```

Firefox:
> TypeError: Argument 1 of SVGTextContentElement.getCharNumAtPosition does not implement interface SVGPoint.

Safari:
> TypeError: Argument 1 ('point') to SVGTextContentElement.getCharNumAtPosition must be an instance of SVGPoint

Chrome:
> Uncaught TypeError: Failed to execute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'.


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

Received on Thursday, 12 April 2018 10:06:43 UTC