Firstly, this is completely off topic, and has turned into a discussion
which should probably be on c.i.w.a.html instead; however, I will still
attempt to answer you questions.
Jim Ley wrote:[color=blue]
> On Sun, 30 May 2004 15:22:36 GMT, Lachlan Hunt
> <lachlan.hunt@lachy.id.au.update.virus.scanners> wrote:
>
>[color=green]
>> From my experience, experementing with embedding XHTML documents
>>using <object> instead of <iframe>; links within an object's content
>>replace the contents of the object, not the parent/window, without
>>explicit use of the target attribute.[/color]
>
> What even with flash?[/color]
I don't know, my experience with embedding flash, and other
technologies is minimal, that's one reason why I explicitly mentioned
embedded XHTML documents. Flash on other sites I've been to, tend to
open links in the parent, so I guess it depends on what's being
embedded. Although I'm at a loss, as to where that question came from,
and why you asked about linking when that wasn't the topic; but anyway,
I did my best to answer it.
[color=blue][color=green][color=darkred]
>>>>You should also be able to
>>>>use the <img/> element for SVG, when it's deleivered correctly as
>>>>"image/svg+xml".
>>>
>>>Why should you be able to?[/color]
>>
>> Because SVG is an image format, which is why it should be served as
>>"image/svg+xml", so I assumed using <img/> would work.[/color]
>
>
> Why is that a reasonable assumption to make? there's lots of image/*
> which aren't rendered by browsers, and there's certainly no browser
> out there which does a wide amoung of SVG that supports it under an
> img ref.[/color]
I never mentioned anything about how well it was or was not
supported, I only mentioned that it should be able to be used. The HTML
4.01 specification's definition of the <img> element [1] only provides
examples of widely used image formats, and does not limit the formats
which can be supported in any way. Therefore, it should be completely
valid to embed SVG, or any other "image/*" type, using the <img/> element.
As it turns out, now that I've had time to test the various methods
of embedding SVG, the following lists the support using Internet
Explorer with Adobe's SVG Viewer 3.01 plugin.
<object>: Not Supported (standard implementation only,
not IE's confusing proprietary
implementation)
<img/>: Not Supported
<iframe>: Supported
<frame/>: Supported (within a <frameset>)
<embed>: Supported (but non-standard element)
Inline: Not Supported (using the XHTML 1.1 + MathML 2.0 + SVG 1.1 DTD)
I'd also like to know which ones work in an SVG enabled build of
Mozilla, or Opera if there's a plugin available for it, or with any
other plugins available for IE.
[1]
http://www.w3.org/TR/html401/struct/....html#edef-IMG
--
Lachlan Hunt
http://www.lachy.id.au/ lachlan.hunt@lachy.id.au.update.virus.scanners
Remove .update.virus.scanners to email me,
NO SPAM and NO VIRUSES!!!