Open shalanah opened 2 months ago
Folks have been asking about this for what feels like forever. But oddly enough no browser bugs have ever been filed so let's fix that:
Chromium: https://issues.chromium.org/issues/369111074 Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1920592
Can someone with a webkit account open one for Safari?
Worth noting that the stackoverflow article posted in the OP has been viewed 192,000 times over the last 13 years.
Being able to specify stroke on outside or inside a closed path could open up a lot of great designs and less hacks like avoiding
paint-order
or clipping/masking svg elements. If the path isn't closed it could fallback to default behavior (middle alignment) as it does in Illustrator.Would love some discussion around this spec + alignment.
Spec
https://svgwg.org/specs/strokes/#SpecifyingStrokeAlignment
Stack Overflow discussion (opened in 2011)
https://stackoverflow.com/questions/7241393/can-you-control-how-an-svgs-stroke-width-is-drawn