musically_ut
musically_ut

Reputation: 34288

SVG does not show up on Firefox but does on Chrome

On this page, the SVG elements do not show up in Firefox, but they are displayed in Chrome correctly. The program used to generate the svg is present on the page.

The elements are present in the HTML and have the correct dimensions and location when viewed via Firebug.

enter image description here

I am at a loss as to how to explain the discrepancy. Can someone offer any hypothesis?

I am using Firefox 24.0 and Chrome Version 29.0.1547.65

Update: This seems to be fixed in Firefox 25.0 The text rendering has also improved!

Upvotes: 0

Views: 6423

Answers (1)

Rémi
Rémi

Reputation: 689

Your SVG element is not sized properly (and overflow is set to hidden) so the content is not shown. You can solve it by specifying the unit in your css:

min-height: 600px; /* instead of 600 */

Upvotes: 5

Related Questions