NEW261100
tfoot printed on separate page when assigned to @page rule
https://bugs.webkit.org/show_bug.cgi?id=261100
Summary tfoot printed on separate page when assigned to @page rule
nico.peterson
Reported 2023-09-03 23:39:20 PDT
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>
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-10 23:40:19 PDT
Note You need to log in before you can comment on or make changes to this bug.