New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple images in any element (div, table, span...) move outside of the container #2180
Comments
Hi @simonschaufi thank you for your bug report. img {
border-radius: 50%;
vertical-align: top;
} There is some strange code moving inline elements which have the default value baseline. |
Regarding border-radius. Support is limited to simple values at the moment and percentage values do not work as expected at all. |
@simonberger You made my day! the Regarding the border-radius: You can get the image size from GD easily with getimagesize and then do the 50% calculation. |
Any update or fix about this ?
|
Not really. I had started to work on a fix for the line height adjustment issue in #2762, though I ran into a roadblock then had to switch gears and just haven't gotten back to it. I don't think that update will make the next release though I hope to return to it afterwards. |
Dompdf version: v0.8.5
I couldn't believe what dompdf is doing but I guess I found a bug. Green is expected, red is an error.
Steps to reproduce:
Result
I tried everything I can but I din't find any css attribute that could fix this issue. I'm wondering what exactly pushes the images up as there are no styles applied.
I'm ready to sponsor a bug fix.
PS: Even the border radius is wrong as it should be a circle and not just a little round edges but that's another bug...
The text was updated successfully, but these errors were encountered: