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

The input parameter is not restricted to read only. DOMPoint inherits from DOMPointReadOnly. If the input is DOMPointReadOnly you can pass either type. What you're saying is that calling this method won't change the values of the passed in object.

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

Received on Saturday, 24 February 2018 08:04:15 UTC