Re: [svgwg] SVGGeometry.prototype.isPointInStroke vs. vector-effects

I think we have an issue for exactly this question already. I’ll link it when I find it.

@fsoder in WebKit and Blink it is a purely graphical effect. The stroke gets rendered within the „root coordinate system“ and the path transformed to the actual coordinate space temporarily and render time.

Have you checked if WebKit or Blink even include it in the Hit testing code? If yes, you are right and it wouldn’t be a big thing. Otherwise, it might be less performant than the no-vector-effect case. I wonder if the difference is measurable. If it is, there might be a security issue. This should be checked as well before we include it in the calculation.

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

Received on Saturday, 27 October 2018 05:41:57 UTC