You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this project for an instance of this occurring. Compare the behavior across browsers.
I also created this project file (rename to a .sb3) that showcases the issue. The first cat sprite has been changed to have SVG width and height attributes of 100%.
Operating System and Browser
All OSes, Chrome/Safari/Firefox/others?
The text was updated successfully, but these errors were encountered:
Expected Behavior
All SVGs should render properly and consistently across browsers
Actual Behavior
If an SVG tag has its
width
and/orheight
defined as a percentage:it will be rendered differently across different browsers.
In Chrome, the width and height appear to be taken to mean "100% of the width/height of the bounding box containing all the items in the SVG".
In Firefox, nothing appears to be rendered whatsoever.
In Safari, according to the original reporter of this bug, some SVG costumes are rendered larger.
Steps to Reproduce
See this project for an instance of this occurring. Compare the behavior across browsers.
I also created this project file (rename to a
.sb3
) that showcases the issue. The first cat sprite has been changed to have SVGwidth
andheight
attributes of100%
.Operating System and Browser
All OSes, Chrome/Safari/Firefox/others?
The text was updated successfully, but these errors were encountered: