sdglhm / dompdf

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

TR + max-height / rowspan issue #396

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a table with multiple rows and columns (say 2 cols, 3 rows). 
2. Join the last two rows on the right via rowspan, and fill the cell with 3 or 
4 lines of text.
3. Set the maximum height of the middle TR to 2.5ex.
4. Set the style governing TDs to Vertical-Align: Top.
5. Ensure that none of the other cells have more than 1 line of text.

What is the expected output? What do you see instead?

The expected output is a table with all the cells with content floating to the 
top, the bottom-right cell containing multiple lines of text and the left cells 
all with a height of 1-line with the exception of the bottom cell which would 
expand as necessary to fill the remaining space.

The result is one where the two cells in the left column with the joined cell 
split the height of that cell.

What version of the product are you using? On what operating system?

0.6beta2

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

Original issue reported on code.google.com by OneWinge...@gmail.com on 21 Dec 2011 at 8:39

Attachments:

GoogleCodeExporter commented 9 years ago

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