Closed
Description
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
?