Open Bug 453703 Opened 16 years ago Updated 2 years ago

Page Info > Media tab doesn't preview SVG images

Categories

(Firefox :: Page Info Window, enhancement, P4)

enhancement

Tracking

()

Future

People

(Reporter: info, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080904035000 Minefield/3.1b1pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080904035000 Minefield/3.1b1pre As the summary says. Reproducible: Always Steps to Reproduce: 1. Go to any page that has an SVG embedded in it. 2. Choose Tools > Page Info > Media 3. Select the SVG from the list of addresses. Actual Results: "Media Preview" shows nothing or a broken image. "Dimensions" shows 0px x 0px. Expected Results: "Media Preview" should render the SVG. I think some SVGs have a nominal size, otherwise just size to fit the preview window. Bug 448630 is to get <audio> and <video> preview in Page Info, maybe alterations to Page Info's Media Preview that it needs will help this. I can't believe no one else has reported this bug, but searching bugzilla for SVG media, preview, page info, etc. found nothing.
I don't see a dup and the request seems reasonable so confirming
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Priority: -- → P4
Target Milestone: --- → Future
Page Info > Media supports SVGImageElement, but SVGs that do not fall into this category are not rendered. Bug 515549 allows Page Info to render Flash and other <embed> elements, so when that's landed, the first case in the bug url will be fixed. That leaves SVGs that are <svg> tags and <object> tags. In the near future, I may have time to work on this, but if someone else has time before I do, I wont stop them.
Depends on: 515549
Assigning to me, when Bug 515549 is done, I will start on this.
Assignee: nobody → mozilla.bugs
Status: NEW → ASSIGNED
Depends on: 574545
OS: Windows XP → All
Hardware: x86 → All
Since the work on Bug 515549 is put on hold for design discussions with User Experience. I don't have time to work on this, and I am unassinging myself from the bug. There is a possibility that in the future, I will work on this again, but it would be quite some time before I do.
Assignee: mozilla.bugs → nobody
Status: ASSIGNED → NEW

Bug 515549 (<embed> isn't previewed) that this depends on is now INVALID, but the bug remains.

(In reply to skierpage from comment #0)

  1. Go to any page that has an SVG embedded in it.
  2. Choose Tools > Page Info > Media
  3. Select the SVG from the list of addresses.

SVG images on MDN pages don't even appear in the media list any more. E.g. the MDN home page https://developer.mozilla.org/en-US/ has 8 SVGs including the Mozilla dino in the header and footer, but Page Info > Media only lists two of them. This may be related to
(In reply to Tanner M. Young [:tmyoung] from comment #2)

Page Info > Media supports SVGImageElement, but SVGs that do not fall into
this category are not rendered.

No longer depends on: 515549, 574545
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.