Closed Bug 1152189 Opened 9 years ago Closed 9 years ago

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

Categories

(Core :: SVG, defect)

37 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1149516

People

(Reporter: anandit24, Unassigned)

Details

Attachments

(1 file)

Attached file 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
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.