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
SVG elements without explicit width/height attributes (embedded with <img>, <object> or otherwise) do not scale to the parent's size if the parent is using flexbox. They instead seem to become very small in the rendered PDF.
WeasyPrint 51 / Python 3.8.2 / Ubuntu 18.04
SVG elements without explicit width/height attributes (embedded with
<img>
,<object>
or otherwise) do not scale to the parent's size if the parent is using flexbox. They instead seem to become very small in the rendered PDF.Test code:
WeasyPrint output:

As you can see, on a browser the SVG renders with the right dimensions, whereas in WeasyPrint it does not respect the parent element's dimensions.
The text was updated successfully, but these errors were encountered: