Closed Bug 837162 Opened 11 years ago Closed 11 years ago

Center SVG and render it with gray image background, like a normal image

Categories

(Core :: SVG, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Tobbi, Unassigned)

References

Details

compare with Bug 376997

Since SVG files are practically images, I would suggest that you render them in the center of the page and with the default grey background.
I've created https://addons.mozilla.org/en-US/firefox/addon/centersvg/ which achieves that. We can close this bug, if you don't consider working on this.
(In reply to Tobias Markus (:Tobbi) from comment #0)
> Since SVG files are practically images

When you view them directly, they're not necessarily "practically images" -- they can have things like scripts & iframes, they can dynamically tweak their size (or add/remove a viewBox to make them occupy the full window or not).

Given that, I think the complexity & potential-for-weirdness would be high.  I'm going to boldly WONTFIX this for the time being. (particularly given that it's something that can be done with an addon -- thanks for taking the initiative on that!)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.