Closed Bug 1081890 Opened 11 years ago Closed 11 years ago

Firefox does not render svg line and polygon

Categories

(Firefox :: Untriaged, defect)

32 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 886390

People

(Reporter: petcuandrei, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140924083558 Steps to reproduce: Go to this web site http://freiksenet.github.io/hexdrawer-svg/demo/ Actual results: No shapes are shown. Expected results: Should look like in Chrome, some bee hive-like pattern with hexagons.
I checked svg line and polygon seem to be implemented https://developer.mozilla.org/en-US/docs/SVG_in_Firefox What am I missing?
The library you are using is creating html elements rather than SVG elements. You need to create SVG elements in the SVG namespace.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
OK so reading the stackoverflow issue, it seems you need innerHTML to create elements in the SVG namespace. Fortunately the spec changed in your favour so this is being implemented now.
Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.