SVG and rectangle line thickness in Safari? -


i experiencing issue safari 9.0.2 on macos x 10.11, seems draw lines in svg thicker in other browsers on same computer. can't tell whether need tweak in svg settings or whether issue safari. note not seem impact regular lines.

a screen capture of seeing:

enter image description here

and code use generate it:

https://jsfiddle.net/ajmas/jh3144b3/

or essential code (using snap svg):

centerx = snap.node.clientwidth / 2; centery = snap.node.clientheight / 2;  (i=0; i<8; i++) {   width = 20 + (i*20);   height = width;   snap.rect(centerx - width/2, centery - height/2, width, height).attr({      'stroke': 'black',      'stroke-width': + 'px',      'fill': 'none'   }); } 

any insight appreciated.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -