RESOLVED FIXED 13161
Hit testing fails for complex polygons
https://bugs.webkit.org/show_bug.cgi?id=13161
Summary Hit testing fails for complex polygons
Andreas Neumann
Reported 2007-03-22 13:39:51 PDT
This bug might be related to http://bugs.webkit.org/show_bug.cgi?id=11931 If you mouse over the polygons in the map the corresponding color in the legend should hightlight (with a black stroke). For more complex polygons Webkit often fails. I haven't figured out the reason yet. Other implementations (Batik, Opera, FF, etc.) seem to work fine.
Attachments
Eric Seidel (no email)
Comment 1 2007-05-10 04:47:46 PDT
We really need a more reduced test case than that one.
Andreas Neumann
Comment 2 2007-05-10 04:51:13 PDT
to me it seems like all the polygons that have a hole fail in hit testing, while other polygons work. I will try to come up with a reduced testcase. Andreas
Eric Seidel (no email)
Comment 3 2007-05-10 06:01:09 PDT
I'm pretty sure this is fixed by the fix for bug 11931
Andreas Neumann
Comment 4 2007-05-10 06:10:12 PDT
yes, it might be fixed by bug 11931 (haven't checked), will check when it is landed and available in the nightlies Note that the paths generated in my mapping examples are usually not explicitly closed (with a "z" or "Z" path command) because the spatial database (Postgis) I use outputs the path in a way that it "closes" the path by repeating the initial "M" coordinate. In case of relative paths, they might not match exactly. So, lets have a look at again, after the fix for 11931 is available. Thanks, Andraes
Eric Seidel (no email)
Comment 5 2007-12-27 01:54:29 PST
Please confirm this is fixed for you in the latest nightlies or under leopard. bug 11931 was fixed, I reopend it to track removing the workaround under Leopard.
Note You need to log in before you can comment on or make changes to this bug.