Comment #2 on issue 15461 by verdyp: SVG - stroke-width:0 bug with stroke  
other than "none"
http://code.google.com/p/chromium/issues/detail?id=15461

In fact the stroke-width:0 seems to be understood as a 1-pixel stroke width  
(at
display resolution), independantly of the current transform matrix (or zoom  
level).

I thought it was a feature (to make sure that the stroke will be visible  
but always
thin, at all zoom levels), but this is clearly a violation of the SVG  
standard
(there's still no way in SVG to specify an effective 1 pixel width on the  
rendered
surface; to do this, you would need another custom unit).

The trick is to use stroke-width:0.000001 (possibly smaller, depending on  
the zoom
factor and current matrix), but not 0 (which should be treated like  
stroke:none) to
make sure that thin borders will be halfshaded when zooming out, and will  
eventually
become invisible when the output surface resolution is highly reduced.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to