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

> Is that defined somewhere? I couldn't find anything in the WebIDL spec.

That's literally the definition of what it means for a function to take a dictionary type, specified in <https://heycam.github.io/webidl/#es-dictionary>.

> How does that affect DOM implementations in other languages?

WebIDL intentionally only defines a mapping to/from JS.  Other languages can do whatever they want.

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

Received on Thursday, 12 April 2018 15:15:08 UTC