overflow hidden with an image height bigger than the paper height puts an empty page in front off
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 11.2k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
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>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Reproduce the supplied HTML with the oversized image and inspect dompdf's overflow and page-layout handling; done means the document no longer begins with an empty page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100