[svgwg] Issue: Clarify relation of isPointInFill and pointer-events marked as Agenda+

dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== 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`?

See https://github.com/w3c/svgwg/issues/416

Received on Friday, 20 April 2018 20:24:23 UTC