In article <[EMAIL PROTECTED]>,
   Michael Drake <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
>    Mark Fraser <[EMAIL PROTECTED]> wrote:

> > Now that NetSurf can display SVGs, could someone please check to see
> > if http://mfraz74.mysite.orange.co.uk/waug/loxtonmap.html or

> It works when the object type is set to image/svg. At the moment it's
> image/svg+xml, which doesn't get loaded.

Actually, sorry, NetSurf accepts types of image/svg and image/svg+xml. The
problem is that the type attribute of the object tag is ignored. NetSurf
uses the HTTP Content-Type header only.

> > http://mfraz74.mysite.orange.co.uk/waug/loxtonmap.svg work with the
> > latest version of NetSurf?

> That SVG is served up with a content-type of text/xml, so NetSurf wont
> display it as an SVG unless you download it and set the file's type to
> SVG.

This is the reason NetSurf doesn't display it.

http://zamez.org/httplint?url=http%3A%2F%2Fmfraz74.mysite.orange.co.uk%2Fwaug%2Floxtonmap.svg

The Content-Type of text/xml is wrong for SVG.

Michael

-- 

Michael Drake (tlsa)                  http://www.netsurf-browser.org/


Reply via email to