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

Right. Using DOMPointReadOnly (an interface) requires that the passed object be either a DOMPointReadOnly or a subclass. Using DOMPointInit (a dictionary) just requires that the object have the dictionary's properties; in this case, `x` and `y`.

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

Received on Thursday, 12 April 2018 12:39:59 UTC