Closed
Bug 494968
Opened 15 years ago
Closed 15 years ago
Support .svgz
Categories
(Firefox :: File Handling, enhancement)
Tracking
()
People
(Reporter: fpiat, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 Hello, According to SVG specifications[1] and freedesktop's mime database[2], the compressed .svg files should be named *.svgz (but not .svg.gz) Please, support opening .svgz files locally (i.e from file:// ). Thanks, Franklin [1] http://www.w3.org/TR/SVG11/intro.html#SVGMIMEType [2] /usr/share/mime/packages/freedesktop.org.xml: > <mime-type type="image/svg+xml-compressed"> > <comment>compressed SVG image</comment> > [..] > <acronym>SVG</acronym> > <expanded-acronym>Scalable Vector Graphics</expanded-acronym> > <sub-class-of type="application/x-gzip"/> > <glob pattern="*.svgz"/> > </mime-type> Reproducible: Always Steps to Reproduce: 1. drag and drop an .svgz file on Firefox window (an .svgz file is an .svg file, compressed with gzip [then renamed]. More and more tools generate compressed .svg files) Actual Results: Firefox shows a popup window asking which program to use to open the file Expected Results: Actually show the image, like if does if you drag and drop an .svg file. .svg is a great open standard. -> .svgz is even better (i.e smaller)! http://en.wikipedia.org/wiki/Svg
Comment 1•15 years ago
|
||
According to bug 308153 comment 1, it should be supported if the webserver uses the correct headers. But this doesn't use a webserver, it reads the files directly. But it's not related to the Content-Type header (or MIME type), but on the Content-Encoding header !
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•