Bug 15787 - Mouse events from objects in an embedded SVG don't fire
Summary: Mouse events from objects in an embedded SVG don't fire
Status: RESOLVED DUPLICATE of bug 15768
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Blocker
Assignee: Nobody
URL:
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2007-11-01 14:29 PDT by Glenn Brauen
Modified: 2007-11-05 13:54 PST (History)
2 users (show)

See Also:


Attachments
svg testcase demonstrating the problem (4.56 KB, image/svg+xml)
2007-11-01 14:30 PDT, Glenn Brauen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Brauen 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.
Comment 1 Glenn Brauen 2007-11-01 14:30:42 PDT
Created attachment 16987 [details]
svg testcase demonstrating the problem
Comment 2 David Kilzer (:ddkilzer) 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).

Comment 3 Eric Seidel (no email) 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.
Comment 4 Eric Seidel (no email) 2007-11-05 10:19:58 PST
I expect this is a dup of bug 15768.
Comment 5 Glenn Brauen 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.
Comment 6 Eric Seidel (no email) 2007-11-05 13:54:57 PST

*** This bug has been marked as a duplicate of 15768 ***