Jeckky / dompdf

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

'Frame not found in cellmap' error - table issues #452

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
-What steps will reproduce the problem?
Trying to produce a PDF for the attached HTML causes a 'Frame not found in 
cellmap' error.

-What is the expected output? What do you see instead?
Attempting to push content to the next page by using margin-bottom on a table. 
<div style="page-break-before: always; display: none;">&nbsp;</div> has no 
affect. Decreasing the margin-bottom from 170px to 160px doesn't cause the 
error but then content I wish to be on the next page appears at the bottom of 
the previous which is not what I want.

-What version of dompdf are you using? What version of PHP? On what
operating system?
Dompdf Beta 3
PHP 5.3.10
Win 7/x64

-Please provide the HTML source code you want to convert, or any additional 
information.
See attached.

Original issue reported on code.google.com by u01jmg3 on 24 Mar 2012 at 6:32

Attachments:

GoogleCodeExporter commented 8 years ago
I don't have Lucida, but I am able to reproduce the problem using DejaVu Serif.

The problem with your div page break is that you're styling it display: none;. 
This style effectively removes the element from the document, and so it doesn't 
affect the document flow. The page-break attribute is thus ignored.

Original comment by eclecticgeek on 24 Mar 2012 at 11:52

GoogleCodeExporter commented 8 years ago
Lucida fonts attached.

Thanks, my fault for copying code and not reading it!

I assume the bug I've found will need to be fixed though?

Original comment by u01jmg3 on 25 Mar 2012 at 10:32

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, this is a known problem with rowspan.

Original comment by fabien.menager on 25 Mar 2012 at 5:11

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16