W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2002

XHTML Object Module: linking target?

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Mon, 25 Nov 2002 22:56:48 +0100
Message-ID: <3DE29CA0.5080803@pinkjuice.com>
To: shane@aptest.com
CC: www-html-editor@w3.org

http://www.w3.org/TR/xhtml2/mod-object.html#s_objectmodule

Hi,

in HTML 4 / XHTML1, there is a grey area in the specification of the 
object element. It would be great if that could be resolved in the 
XHTML2 spec:

Example:
There's a page
http://www.pinkjuice.com/svg/links/svg.xhtml
(XHTML1; let's say it's XHTML2)
on which an object element embeds an SVG.

The SVG contains links. When I click on one of them, the target replaces 
the whole canvas, which is what I want.
But when the object element embeds HTML, then only the embedding box is 
replaced with the target document, as with frames.

The HTML spec is not clear enough about what the correct behaviour is:

1. replace the whole page (I think that would make most sense, since 
thumbnails etc have this behaviour.):
on
http://www.pinkjuice.com/svg/links/svg.xhtml
when I click
http://www.pinkjuice.com/howto/RubySVG/
the linked document fills the whole canvas of the browser

or

2. replace the embedded object:
When I click on the link listed above, the page and URL would stay, but 
instead of the SVG, it would now embed the linked page.
This is not desired in most cases, and should not be the default 
behaviour, but it should be possible to specify this via some attribute.

Anyways, I think it is immensely important that the XHTML2.0 spec either 
offers means to specify the behaviour, or/and that it specifies a 
default behaviour.

Sorry if I'm missing something, but in any case; in the developer / web 
author world, there is a lot of confusion about what the correct 
behaviour is, so even if this grey area now is specified in a clear and 
detailed way now, it would help to add a simple and clear specification 
with explanation to
http://www.w3.org/TR/xhtml2/mod-object.html#s_objectmodule

If you can't forward this to the working group, please tell me, then 
I'll subscribe to www-html@w3.org .

TIA!
Tobi

-- 
http://www.pinkjuice.com/
Received on Monday, 25 November 2002 16:56:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:43 GMT