W3C home > Mailing lists > Public > public-html@w3.org > February 2011

Defining target of links for embedded content

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 23 Feb 2011 17:50:39 +0100
To: public-html <public-html@w3.org>
Message-ID: <1298479839.14443.422.camel@altostratustier>
Hi,

When embedding hypertext content using an <object> element (e.g. through
object or iframe), there is no way I've found to instruct that links in
that included content should be loaded in a given browsing context.

For instance, if in page A, I include an SVG image B, I can't force
links in image B to replace the browsing context of page A from within
page A (but only by adding a target="_parent" in image B).

It makes it pretty awkward to include an externally referenced SVG image
that has links in it (except if the author of that SVG image happened to
use the target attributes.)

It may be that the seamless attribute on iframe probably has that effect
(although I can't really tell by reading
http://dev.w3.org/html5/markup/iframe.html#iframe.attrs.seamless since
"seamlessly" doesn't seem to be defined), but it probably brings more
effects than needed. It also doesn't apply to the <object> element.

Maybe a targethref attribute on iframe, object, etc would solve that
problem?

Dom
Received on Wednesday, 23 February 2011 16:50:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:22 GMT