in chromium I can use stroke-dasharray followed by 2 numbers with the unit pixel, the same wont work in Firefox - it only accepts unit-less values. The Problem is that I cant strip off the unit from my variable. Do you have any ideas on how to get the same effect in Firefox as in Chromium?
Thank you in advance
Edit:
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
<line class="top" x1="0" y1="0" x2="100%" y2="0" />
</svg>
.top {
stroke-dasharray: 1px 1px;
}