svg element stroke-dasharray="0" doesn't work as expected in firefox 37.0.1

RESOLVED DUPLICATE of bug 1149516

Status

()

Core
SVG
RESOLVED DUPLICATE of bug 1149516
3 years ago
3 years ago

People

(Reporter: anandit24, Unassigned)

Tracking

37 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8589484 [details]
stroke-dasharray.html

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

Steps to reproduce:

I ran below code :

<svg height="80" width="300">
  <g fill="none" stroke="black" stroke-width="4">
    <path stroke-dasharray="0" d="M5 20 l215 0" />
  </g>
  Sorry, your browser does not support inline SVG.
</svg>


Attach is the html code you can run on firefox 37 and aother browser and notice the difference .


Actual results:

I didn't got any output on screen


Expected results:

stroke-dasharray="0" : this should give a straight line on my screen .
Group: core-security
Component: Untriaged → SVG
Product: Firefox → Core
the SVG specification is unclear as to whether stroke-dasharray="0" means rendering with a stroke="none" or stroke-dasharray="none". It seems like SVG 2 will settle on stroke-dasharray="none" though.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1149516
You need to log in before you can comment on or make changes to this bug.