Can you control how an SVG’s stroke-width is drawn?
No, you cannot specify whether the stroke is drawn inside or outside an element. I made a proposal to the SVG working group for this functionality in 2003, but it received no support (or discussion). As I noted in the proposal, you can achieve the same visual result as “inside” by doubling your stroke width … Read more