[svgwg] Clarify relation of isPointInFill and pointer-events

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

== Clarify relation of isPointInFill and pointer-events ==
Currently the section Interface SVGGeometryElement is not very specific how `isPointInFill` and `isPointInStroke` correlate to the `pointer-events` CSS property.

The spec says:
> Normal hot testing rules apply; the value of the `pointer-events` property on the element determines wheather a point is considered to be within the full or stroke.

What happens when the property is set to `stroke` and we ask for `isPointInFill`? Or `visibleStroke` with `visibility` `hidden` and asking if the point is in the full area?

I suppose we follow the rules for hit testing as if the `stroke` value was set for `pointer-events` on `isPointInSroke` and take things like clipping path into account but not `visibility`? For `isPointInFill` `fill`?

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

Received on Friday, 20 April 2018 19:29:29 UTC