Closed spenrose closed 12 years ago
Sorry for the late response, and tanks for reporting.
I have tested this quickly with this textile
h1. Test
!http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png!
!{width:100%;}http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png!
!{height:20%;}http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png!
And you are right, the height one doesn't get displayed. I wonder if this is a limitation in wkhtmltopdf? Seems like it only affect height, could be that it doesn't know what to calculate the percentage from, since the with percent works.
Sorry, don't have a solution for this at this moment. I'll have to look it over some more.
There is no hurry as I just set the height using pixels. I just wanted to let you know.
The following url doesn't have an image in the PDF
but if you use a height in pixels it works