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

> One could bring up the argument that it might be easier for implementations to comply to DOMPointReadOnly than to the DOMPointInit usage.

??? DOMPointInit is just a dictionary; you just check that the passed object, whatever it is, has x/y properties.  Dictionary-handling is already pretty automatic in impls; I think it gets handled automatically by your binding-generator code.

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

Received on Thursday, 12 April 2018 08:07:31 UTC