Closed Bug 307942 Opened 19 years ago Closed 19 years ago

SVG images embedded with <embed> do not display in SVG-enabled Firefox

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andrew.honeypot, Assigned: jwatt)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

In the page
http://en.wikipedia.org/wikistats/EN/PlotsSvgWikipediansContributors.htm, the
SVG images should be displayed by Firefox if Firefox is enabled. Instead, a
missing plugin box comes up, and Plugin Finder can't find a plugin. It is
embedded with <embed> and points to Adobe's SVG plugin.

Reproducible: Always

Steps to Reproduce:
Run Firefox with no SVG plugin.


Actual Results:  
There is an empty box where the SVG image should be. Plugin Finder cannot find
the plugin.

Expected Results:  
The SVG image should have been displayed with Firefox's built-in SVG viewer.
it's Adobe SVG and not W3C (Mozilla native) SVG

INVA ?
It's standard SVG which validates (not Adobe's and made by an open source
software program, Ploticus). It's the way it's embedded that is non-standard. I
think that this is common enough on the Web that Firefox should support it.
Yeah, you're right.

bug 240408 first comment explains it.
I checked the source of that link

e.g.
<embed src='PlotWikipediansContributors7.svg' name='SVGEmbed' 
width='900' height='540' type='image/svg-xml'
pluginspage='http://www.adobe.com/svg/viewer/install/'>

says it all i guess
SVG embedded viewer in FireFox
doesn't work either in here:


http://www.carto.net/williams/yosemite/
So type='image/svg-xml' should be type='image/svg+xml'? I'm guessing this should
be Tech Evangelism, but I'll send it to Core:SVG first so someone can confirm that.
Assignee: nobody → general
Component: Plugin Finder Service → SVG
Product: Firefox → Core
QA Contact: plugin.finder → ian
Version: unspecified → 1.8 Branch
Yeah, the problem is that the 'type' attribute on the 'embed' tags is
incorrectly set to image/svg-xml. The server actually sends the correct value,
so if that's fixed it should be rendered by us. Over to Tech Evangelism and
assigning to me.
Assignee: general → jonathan.watt
Component: SVG → English US
Product: Core → Tech Evangelism
Hardware: PC → All
Version: 1.8 Branch → unspecified
Sent email to Erik Zachte <epzachte@chello.nl>
Status: UNCONFIRMED → NEW
Ever confirmed: true
also if no _type_ is specified in the embed tag the svg don't render,

ex: <embed src="../svggen/struct-image-02-b.svg" width="480" height="360"/>
(taken from
http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-struct-image-02-b.html)

The page I cited in the URL field has a type declaration, 'image/svg-xml'. It
does not work in Firefox 1.5b1.
Similar problem with the SVG testsuite on www.w3c.org which uses embedded SVG in
the Frame-based harnass:

e.g.
http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-animate-elem-02-t.html

does not display the embedded SVG with firefox1.5beta1 on linux!

it does however display the contained SVG directly:
http://www.w3.org/Graphics/SVG/Test/20030813/svggen/animate-elem-02-t.svg

These tests run fine on firefox-1.5alpha2 on linux

Kind regards,
              Dennis
> does not display the embedded SVG with firefox1.5beta1 on linux!
The w3c examples in frame-based harnass also do not work in firefox1.5beta2
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.