[Webkit-unassigned] [Bug 16268] target="_top" in embedded SVG fails to replace parent content
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 4 18:42:20 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16268
------- Comment #3 from eric at webkit.org 2007-12-04 18:42 PDT -------
Ok. Our problem here is in SVGAElement::defaultEventHandler:
String target = getAttribute(SVGNames::targetAttr);
String xlinktarget = getAttribute(XLinkNames::showAttr);
if (e && e->button() == MiddleButton)
target = "_blank";
else if (target.isEmpty()) // if target is empty, default to "_self" or
use xlink:target if set
target = (xlinktarget == "new") ? "_blank" : "_self";
That might be the correct behavior for xlink:show, but that's not right for
:target, which should behave like html's :target attribute and correctly
support _top, etc.
--
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.
More information about the webkit-unassigned
mailing list