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
Per the SVG spec the viewBox "(specifes) a rectangle in user space that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system."
Essentially, when the viewBox doesn't match the viewport a transformation is applied. While the x/y values are correctly applied, the width/height do not define a transformation to the viewport. https://svgwg.org/svg2-draft/coords.html
The text was updated successfully, but these errors were encountered:
Per the SVG spec the viewBox "(specifes) a rectangle in user space that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the
preserveAspectRatio
attribute. The presence of theviewBox
attribute results in a transformation being applied to the viewport coordinate system."Essentially, when the viewBox doesn't match the viewport a transformation is applied. While the x/y values are correctly applied, the width/height do not define a transformation to the viewport.
https://svgwg.org/svg2-draft/coords.html
The text was updated successfully, but these errors were encountered: