Last Comment Bug 605666 - should allow you to upload SVG files for header/footer images
: should allow you to upload SVG files for header/footer images
Product: Websites Graveyard
Classification: Graveyard
Component: (show other bugs)
: unspecified
: All All
: -- enhancement with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on:
  Show dependency treegraph
Reported: 2010-10-19 16:48 PDT by Daniel Holbert [:dholbert]
Modified: 2013-05-07 21:49 PDT (History)
7 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

screencast of a custom persona I made using SVG (794.10 KB, video/ogg)
2010-10-19 16:48 PDT, Daniel Holbert [:dholbert]
no flags Details

Description Daniel Holbert [:dholbert] 2010-10-19 16:48:49 PDT
Created attachment 484542 [details]
screencast of a custom persona I made using SVG

Now that bug 276431 is fixed, Firefox nightly builds supports SVG images, including handling them in a persona. (see attached screencast)

However, the upload page rejects uploaded SVG files for the header/footer image.

While this may be appropriate for now, we'll want to change that at some point in the not-too-distant future. (Probably around the time we make the Personas Plus extension support Firefox 4.0.)

Filing this bug to track that change to the website.
Comment 1 Daniel Holbert [:dholbert] 2010-10-20 17:14:14 PDT
Just thinking out loud -- so one potential problem with this will be that SVG-based personas won't work for users running Firefox 3.x.  I see three options to address that.
 (A) Completely hide SVG-based personas from Firefox 3.x users

 (B) Display SVG-based personas to Firefox 3.x users, but also display a notification that "This persona uses features introduced in Firefox 4.0, so you can't use it. Sorry!"

 (C) Automatically rasterize SVG-based personas to generate an (un-animated) PNG-based version, and offer the PNG version for Firefox 3.x users.
Comment 2 Deb Richardson [:dria] (plz NEEDINFO) 2011-04-25 15:51:57 PDT
Would SVG images work on Fennec?  Also how large are SVG images compared to jpg or png?
Comment 3 Daniel Holbert [:dholbert] 2011-04-25 16:00:33 PDT
(In reply to comment #2)
> Would SVG images work on Fennec?


> Also how large are SVG images compared to jpg or png?

You mean, file-size? They can be very small, (Here: "<svg></svg>" :)) or they can in theory be arbitrarily large.  It all depends on how complex the SVG is.

Since it's XML-based, there's generally a bit of file-size overhead, but SVGZ (SVG compressed with gzip) fixes that.
Comment 4 Daniel Holbert [:dholbert] 2011-04-25 16:01:29 PDT
(ideally, I'd advocate for getpersonas supporting both .svg and .svgz files)
Comment 5 Deb Richardson [:dria] (plz NEEDINFO) 2011-04-25 16:25:55 PDT
This isn't something we'd support in since it's slated to merge with AMO in Q3, but we can revisit this after that merge is done and we start looking at ways to expand on/improve Personas in general.  Will keep this bug on file for then.
Comment 6 Wil Clouser [:clouserw] 2013-04-12 13:59:56 PDT has been retired.  More information at
Comment 7 Daniel Holbert [:dholbert] 2013-04-12 14:45:24 PDT
OK, I filed bug 861402 on the identical problem in them.

Note You need to log in before you can comment on or make changes to this bug.