[Webkit-unassigned] [Bug 12499] External <use> xlink:href references do not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 20:34:57 PDT 2011


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


Cosmin Truta <ctruta at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ctruta at gmail.com




--- Comment #54 from Cosmin Truta <ctruta at gmail.com>  2011-03-24 20:34:55 PST ---
In addition to Justin's remarks in comment #51, I can also see that SVGUseElement::parseMappedAttribute is currently broken.

If I have the following three files:

** file "main.svg"
<svg>
<use href="level1.svg#TOP">
</svg>

** file "level1.svg"
<svg>
<circle id="RECT"> <!-- deliberate mismatch to show error -->
<use href="level2.svg#RECT">
</svg>

** file "level2.svg"
<svg>
<rect id="RECT">
</svg>

Then, with the currently-submitted patch, I am seeing the <circle> from "level1.svg", instead of the <rect> from "level2.svg". That's because, while processing "level1.svg", the cachedDocument being loaded in parseMappedAttribute is "level1.svg" instead of "level2.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