W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2010

ISSUE-2358 (nested links): Resolve how nested links in referenced SVG are resolved [SVG 2]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 06 Aug 2010 18:48:32 +0000
To: public-svg-wg@w3.org
Message-Id: <E1OhRy4-00051l-8f@lowblow.w3.org>

ISSUE-2358 (nested links): Resolve how nested links in referenced SVG are resolved [SVG 2]

http://www.w3.org/Graphics/SVG/WG/track/issues/2358

Raised by: Doug Schepers
On product: SVG 2

If an SVG document has one or more links, and is referenced from an HTML <object> or <img> which has a block-level link around it, which link is followed, the one in the HTML page, or the one in the SVG?

What if the links in the SVG are nested:
<a href="foo.svg">
  <circle r="20" />
  <a href="bar.svg">
    <circle r="10" />
  </a> 
</a>

My intuition is that in both cases, the most closely scoped (innermost) link should be followed.  Perhaps there should be a way to override an inner link, but I think that would be bad for security.
Received on Friday, 6 August 2010 18:48:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC