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

On Thu, 29 Mar 2007 18:26:35 +0200, Jeff Schiller <codedread@gmail.com>  
wrote:
> 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
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 29 March 2007 16:29:45 UTC