SVG stroke-linecap对于Firefox中的圈子不起作用?

时间:2016-01-23 13:35:34

标签: firefox svg

我遇到了svg stroke-linecap属性的问题。我已经在AngularJS中获得了圆形进度条,我想将外圆(蓝色圆圈)设置为圆形"结束"。看看这个fiddle

<svg ... height="130" width="130">
<!-- ngIf: background -->
<circle ... 
    ng-if="background" 
    fill="#fff" 
    class="ng-scope" 
    stroke-width="13" 
    stroke="#cc3399" 
    r="57.5" 
    cy="65" 
    cx="65" 
    stroke-linecap="round" 
/>
<!-- end ngIf: background -->
<circle ... 
    fill="none" 
    stroke-dashoffset="36.12831551628261" 
    stroke-dasharray="361.28315516282623" 
    stroke-width="13" 
    stroke="#432db3" 
    stroke-linecap="round" 
    r="57.5" 
    cy="65" 
    cx="65" 
    transform="rotate(-89.9, 65, 65)"
/>
</svg>

我该怎么做?

1 个答案:

答案 0 :(得分:1)

从Firefox 45开始,这已经是fixed