RESOLVED DUPLICATE of bug 15768 15787
Mouse events from objects in an embedded SVG don't fire
https://bugs.webkit.org/show_bug.cgi?id=15787
Summary Mouse events from objects in an embedded SVG don't fire
Glenn Brauen
Reported 2007-11-01 14:29:19 PDT
I have an SVG file that contains another SVG object which contains polygons that fire events on mouseover/mouseout. These events no longer fire on the most recent webkit nightly builds. They did work on earlier nightly builds. I just picked up r27337 and had a fairly old nightly (from a couple of months ago) until today so can't pinpoint when this stopped working very well. I'll attach a small SVG file that demonstrates the problem. It contains two copies of the same polygon, one inside and embedded <svg> tag and the other standalone. The events fire for the standalone polygon but not for the one in the embedded <svg> tag.
Attachments
svg testcase demonstrating the problem (4.56 KB, image/svg+xml)
2007-11-01 14:30 PDT, Glenn Brauen
no flags
Glenn Brauen
Comment 1 2007-11-01 14:30:42 PDT
Created attachment 16987 [details] svg testcase demonstrating the problem
David Kilzer (:ddkilzer)
Comment 2 2007-11-02 04:12:48 PDT
This was broken in r26570, but it seems to be fixed in WebKit nightly build r27373 now. Also works in nightly r24002. Works for me in r27337 as well. Using Safari 3 Public Beta v. 3.0.3 (522.12.1) with Mac OS X 10.4.10 (8R218).
Eric Seidel (no email)
Comment 3 2007-11-05 10:18:01 PST
We'll need to create a DRT-compatible test case. RenderSVGViewportContainer::nodeAtPoint is the code in question. At least firefox passes this test.
Eric Seidel (no email)
Comment 4 2007-11-05 10:19:58 PST
I expect this is a dup of bug 15768.
Glenn Brauen
Comment 5 2007-11-05 10:35:37 PST
(In reply to comment #2) > This was broken in r26570, but it seems to be fixed in WebKit nightly build > r27373 now. > > Also works in nightly r24002. Works for me in r27337 as well. > > Using Safari 3 Public Beta v. 3.0.3 (522.12.1) with Mac OS X 10.4.10 (8R218). > Thanks for the pointer to the version in which this was broken. I've tested r27434 and neither it nor r27337 pass this test. I installed r26359 (prior to the version that introduced the problem) and that does pass this testcase. I'm running on a G4 powerbook with Mac OS X 10.4.10. As Eric just noted, firefox does handle this testcase properly.
Eric Seidel (no email)
Comment 6 2007-11-05 13:54:57 PST
*** This bug has been marked as a duplicate of 15768 ***
Note You need to log in before you can comment on or make changes to this bug.