Closed Bug 1166386 Opened 9 years ago Closed 8 years ago

Allow svg icons

Categories

(Firefox Graveyard :: Webapp Runtime, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nick, Unassigned)

References

Details

Attachments

(2 files)

Attached file test_case.zip
It looks like we don't support .svg icons for desktop webappRT, at least on OSX.  In 1152597, I'm looking to use a .svg as an icon (since I can create a 512px x 512px that's significantly smaller in bytes than a bitmap), but it looks like we don't support .svg files on desktop.
Attached image 512.svg
Do we support SVG in FxOS?
> Do we support SVG in FxOS?

Yes, I tried my attached test case on 1.3.  It works.

It looks like we can use `qlmanage` [0] instead of `sips` [1] on OSX:

$ qlmanage -t -s 512 -o . 512.svg
$ ls
512.svg.png 512.svg
$ du -h 512.svg.png 512.svg
8.0K	512.svg.png
4.0K	512.svg
$ man 1 qlmanage
qlmanage -- Quick Look Server debug and management tool
...


[0] http://superuser.com/a/142082
[1] http://mxr.mozilla.org/mozilla-central/source/toolkit/webapps/MacNativeApp.js#321
Or rather than instead of, we would preprocess the svg icon with qlmanage, then run sips on it.
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: