[Webkit-unassigned] [Bug 261100] New: tfoot printed on separate page when assigned to @page rule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 3 23:39:20 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261100

            Bug ID: 261100
           Summary: tfoot printed on separate page when assigned to @page
                    rule
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Printing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nico.peterson at askdante.com

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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230904/c0b311e9/attachment-0001.htm>


More information about the webkit-unassigned mailing list