phetsims / scenery

Scenery is an HTML5 scene graph.
http://scenerystack.org/
MIT License
55 stars 12 forks source link

Safari SVG bounds bug #1658

Open samreid opened 1 month ago

samreid commented 1 month ago

Discovered in https://github.com/phetsims/forces-and-motion-basics/issues/310#issuecomment-2391643232, Safari (but not chrome) shrinks the svg image within its bounding box incorrectly:

image

We confirmed the artboard bounds, the svg width/height and viewbox, and could not get Safari to render it to the correct scale.

samreid commented 1 month ago

Please note the SVG has been converted to PNG in forces and motion basics, so you will need to recover the SVG to reproduce this problem.

amanda-phet commented 1 month ago

We have been using SVGs in many places, including this sim, and haven't had this issue (that I'm aware of). Is there something special about the rope?