Bug 34218 - Table headers and footers don't repeat when printed on multiple pages
Summary: Table headers and footers don't repeat when printed on multiple pages
Status: RESOLVED DUPLICATE of bug 17205
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 09:15 PST by David Richardson
Modified: 2015-07-01 13:04 PDT (History)
10 users (show)

See Also:


Attachments
Test case for table header and footer printing behavious (745 bytes, text/html)
2010-01-27 09:15 PST, David Richardson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Richardson 2010-01-27 09:15:52 PST
Created attachment 47543 [details]
Test case for table header and footer printing behavious

<thead> and <tfoot> elements need to appear on every page of a printed table if they are to be useful.
Yes, the spec says they *may* be repeated, but that's hardly useful in practice.
Both Firefox and Internet Explorer have supported this for many years.

Yes, this has been reported previously, but not with style={display: table-header-group;} explicitly set.

Sample attached.
Comment 1 Peter Liu 2011-02-17 10:39:33 PST
We are also experiencing this problem on Safari and wkhtmltopdf (which uses WebKit).  The problem is very easy to duplicate per the attachment in this ticket.  Open it in IE or Firefox and you'll the table header repeated on every page when printed.  But in Safari, it will not.


I have also seen reports of the same problem in Chrome, which I believe uses the Webkit engine.  The version of the Safari I'm using the test is 5.0.3.
Comment 2 Brandon Valentine 2011-07-26 11:03:19 PDT
Can confirm that this is still broken on WebKit2 as shipped in OS X 10.7 / Safari 5.1. =(

Any interest in fixing this in a future release?
Comment 3 Nikita 2012-02-19 20:29:15 PST
please fix it
Comment 4 webkitbugs 2012-04-03 03:06:18 PDT
Duplicate of #17205
Comment 5 Alexey Proskuryakov 2012-04-03 08:50:58 PDT
Looks like that, thank you!

*** This bug has been marked as a duplicate of bug 17205 ***