See http//crbug.com/7465: "Canvas exposes the method isPointInPath. According to the spec, "Points on the path itself are considered to be inside the path." So that if you create a rect of size 20x20 at 0,0, then the point 0,20 should be in the path. We currently return false, because Skia considers the point 0,20 outside the bounds of the rect. Here's a trivial test case: ctx = document.getElementById("canvas").getContext("2d"); ctx.save(); ctx.beginPath(); ctx.rect(0, 0, 20, 20); ctx.isPointInPath(0, 20); ctx.restore(); See LayoutTests/fast/canvas/pointInPath.html for examples similar to this."
Created attachment 41239 [details] Fix for pointInPath() issue.
Landed as http://trac.webkit.org/changeset/49673. Closing.