Skip to content

Clarify relation of isPointInFill and pointer-events #416

Closed

Description

Image for: 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?

Metadata

Image for: Metadata

Metadata

Image for: Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

Image for: Issue actions