[Webkit-unassigned] [Bug 12267] getElementById broken for <use>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 28 08:41:34 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12267


zimmermann at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |zimmermann at kde.org
                   |unassigned at lists.webkit.org |




------- Comment #11 from zimmermann at kde.org  2007-02-28 08:41 PDT -------
Okay, I finally found out what's going on here.
The freshview_week.svg is broken and relies on bugs in the other SVG
implementations.

graph.js expects the "cible" to be of type SVGUseElement, though the SVG spec
clearly says that the events should be dispatched to the corresponding
SVGElementInstance and NOT the SVGUseElement.

Easy fix to get it working in Safari:
function path_show(evt) {
  cible = evt.target.correspondingUseElement
...
instead of "cible = evt.target"

So this is definately a "won't fix" bug.
Though the reduction in #6 / #7 highlights a different bug, keeping this bug
open.

Niko


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list