Re: [svgwg] Allow stroke-dasharray/dashoffset % to be specified relative to path length

I'm not sure how insignificant it would be.  There are some cases 
where you _do_ want to set stroke-width as a percentage length.  In 
that case, you would need to set stroke-dashes using percentage 
lengths in order to have the dash length scale proportionally to its 
width.

E.g., [Kevin Mark's sparklines 
library](http://www.kevinmarks.com/svgsparklines.html) uses 
percentages in stroke width to keep a reasonable stroke width for the 
size of the chart even though the viewBox & coordinates are scaled to 
the data.

The use case may be small compared to the path-drawing-dashes effect, 
but it's realistic enough not to want to break it.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/177#issuecomment-234326281 using 
your GitHub account

Received on Thursday, 21 July 2016 17:34:04 UTC