Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support instrinsic dimensions for image elements #94

Open
bsweeney opened this issue Jul 23, 2022 · 0 comments
Open

Support instrinsic dimensions for image elements #94

bsweeney opened this issue Jul 23, 2022 · 0 comments

Comments

@bsweeney
Copy link
Member

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:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant