Re: [svgwg] isPointInFill/isPointInStroke and display: none and other specifics

The methods should return valid values even if the shape isn't currently stroked / filled, since we have `pointer-events` settings that allow the stroke/fill region to be pointer-sensitive in those situations.

I would prefer for the methods to return valid values even for non-rendered elements, just like `getBBox()` is supposed to do (and does in most browsers).

If implementations cannot do that, the methods should throw an error, not just silently return false.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/456#issuecomment-389608426 using your GitHub account

Received on Wednesday, 16 May 2018 17:52:32 UTC