| Summary: | tfoot printed on separate page when assigned to @page rule | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | nico.peterson |
| Component: | Printing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Minor | CC: | simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
When a table is assigned to a @page rule, everything except the tfoot element works just fine. The tfoot is printed on a extra page. It also depends on the layout. This does not work: <!DOCTYPE html> <html> <body> <style> @page testprint{size: landscape auto;} table{page:testprint;} </style> <table> <tfoot> <tr> <th> testfoot </th> </tr> </tfoot> <tbody> <tr> <td> testline </td> </tr> </tbody> </table> </body> </html> But this works: <!DOCTYPE html> <html> <body> <style> @page testprint{size: landscape auto;} table{page:testprint;} </style> <table> <tfoot> <tr> <th> testfoot</th> </tr> </tfoot> <tbody> <tr> <td> testline </td> </tr> </tbody> </table> </body> </html>