If an image element's width/height is set to auto the values should be based on the image's intrinsic width/height. instead, php-svg-lib attempts to use the keyword as-is which can cause string + numeric calculation errors. If the values are omitted entirely php-svg-lib does not attempt to specify a width/height for the image resulting in incorrect placement.
If an image element's width/height is set to
auto
the values should be based on the image's intrinsic width/height. instead, php-svg-lib attempts to use the keyword as-is which can cause string + numeric calculation errors. If the values are omitted entirely php-svg-lib does not attempt to specify a width/height for the image resulting in incorrect placement.References: