hakimhaji / dompdf

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

Handling of TFOOT tag is incorrect #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an HTML document that contains a table with THEAD, TBODY, and
TFOOT sections. The table should span two pages in the rendered PDF.
2. Render the document with DOMPDF.

What is the expected output?

The PDF should contain a table that spans two pages. The THEAD and TFOOT
should bookend the table on each page on which it appears.

What do you see instead?

The THEAD renders as expected, but the TFOOT is rendered as if it were a
normal table row.

Additional information:

The TFOOT grouping should appear before the TBODY grouping in the HTML code
as per the W3C specification:
http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3

We may wish to consider allowing the TFOOT grouping to be placed at the end
of the table code since this is a likely scenario.

Original issue reported on code.google.com by eclecticgeek on 29 May 2009 at 5:59

GoogleCodeExporter commented 9 years ago
I've gotten a lot of email requests for this. We may want to make this a 
priority. Has anyone looked into it yet?

Original comment by ryan.mas...@gmail.com on 28 Jul 2011 at 9:38

GoogleCodeExporter commented 9 years ago
Nope, we didn't work on it, we try to resolve page break issues in tables for 
now.

Original comment by fabien.menager on 31 Jul 2011 at 1:35

GoogleCodeExporter commented 9 years ago

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