[svgwg] Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'. (#858)

df257 has just created a new issue for https://github.com/w3c/svgwg:

== Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'. ==
How to fix it?

<svg viewBox="0 0 100 100" width="150" height="150">
  <circle id="circle" cx="50" cy="50" r="45" fill="white" stroke="black" stroke-width="10"/>
</svg>
<script>
var circle = document.getElementById('circle');
var point = new DOMPoint(10, 10);
console.log(circle.isPointInFill(point));
</script>

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/858 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 June 2021 09:27:49 UTC