W3C home > Mailing lists > Public > public-cdf@w3.org > March 2007

Re: Resolving Relative URIs and Link Targets in a Compound Document

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 29 Mar 2007 18:29:21 +0200
To: "Jeff Schiller" <codedread@gmail.com>, public-cdf@w3.org
Cc: tor@acm.org, "Jonathan Watt" <jwatt@jwatt.org>, longsonr@gmail.com
Message-ID: <op.tpyle7r364w2qv@id-c0020>

On Thu, 29 Mar 2007 18:26:35 +0200, Jeff Schiller <codedread@gmail.com>  
> When dealing with svg:a, a question arose:  If we have a document:
> <html ...>
>   <head><base target="_top" .../></head><body>
>   <svg ...><a xlink:href="foo.svg">click</a></svg>
> </body></html>
> Should clicking the svg:a link obey the html:base target attribute?
> More context here: https://bugzilla.mozilla.org/show_bug.cgi?id=375696#c9
> In other words, is there any CDF documentation that describes
> resolving link targets and relative URIs in a HTML-SVG compound
> document?

No, but clicking <svg:a> should observe the <html:base> element for  
resolving URIs. Not entirely sure about target="" as there's no concept of  
that in the DOM... (<html:base> usually maps to document.baseURI.)

Anne van Kesteren
Received on Thursday, 29 March 2007 16:29:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:22 UTC