'Stroke-line cap on iPad Retina
I have a simple SVG image which is rendered differently on iPad Retina and MacBook Pro with Retina display (both Chrome and Safari). As soon as you add stroke-linecap to your rect element, the stroke-width is rendered double the normal width.
Here is the example where two rectangles should have the same border width (check it on iPad): SVG rectangle with/without linecap.
Is there a unit specifier for stroke-width which I am missing or there is other solutions?
Solution 1:[1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | akarve |

