[Webkit-unassigned] [Bug 37187] New: SVG <use href="foo"> is interpreted as <use href="#foo">

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 6 21:00:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37187

           Summary: SVG <use href="foo"> is interpreted as <use
                    href="#foo">
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morrita at google.com


Created an attachment (id=52699)
 --> (https://bugs.webkit.org/attachment.cgi?id=52699)
reproduce - an expected behaviour is not show anything.

in SVG, <use xlink:href="foo"> refers <defs id="foo">. But it shoudn't.
It should be referenced as <use xlink:href="#foo">, but not href="foo".

See attachment to reproduce.  

Glancing code, I suspect that almost every internal reference ("fragment
identifier") handling in svg/ would be wrong.
Because SVGURIReference::getTarget() looks broken, which is widely used in SVG.

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



More information about the webkit-unassigned mailing list