raunakbinani / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

page-break-inside: avoid and large images may cause infinite loop #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a document that contains an element styled with
"page-break-inside: avoid"
2. place inside the above element an image that spans more than a single page
3. render

What is the expected output? What do you see instead?
The image should be rendered and the PDF displayed. Reasonably the image
should be rendered cropped on a single page; arguably the image would be
rendered across multiple pages. Instead, DOMPDF enters an infinite loop
attempting to render the content on a single page.

Testing parameters:
 -PHP 5.2.9 on Windows and Linux
 -DOMPDF 0.6.0 alpha 2
 -remote JPG image reference
 -image dimensions 1920x1200

Original issue reported on code.google.com by eclecticgeek on 30 Nov 2009 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 Nov 2009 at 8:12

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00