dompdf
dompdf copied to clipboard
overflow hidden with an image height bigger than the paper height puts an empty page in front off
My image is to big and dompdf puts an empty page in front off.
<div id="sendhtml" style="height: 1122px; width: 794px; overflow: hidden; position: relative;"><img id="bgPic" src="" style="width: 2685.87px; height: 1786.1px; left: -945.936px; top: -332.052px; display: block; position: relative;"><div class="paper" style="color: rgb(0, 0, 0); margin: 0px; padding: 0px; font-weight: normal; font-style: normal; font-family: normal; position: absolute; left: 0px; top: 0px;"><h1 style="display: block; font-size: 30px; text-align: center; padding: 0px; margin: 0px; color: rgb(255, 255, 255);">headline</h1><div class="innerBox" style="text-align: center; width: 794px;"></div></div></div>
I would expect the image to render on the first full page where the container renders since there is no preceding content.
There may already be an issue related to this, though I didn't find it on a quick search.