<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>34218</bug_id>
          
          <creation_ts>2010-01-27 09:15:52 -0800</creation_ts>
          <short_desc>Table headers and footers don&apos;t repeat when printed on multiple pages</short_desc>
          <delta_ts>2015-07-01 13:04:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tables</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17205</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Richardson">channel200</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bobiswierd</cc>
    
    <cc>brandon</cc>
    
    <cc>dglazkov</cc>
    
    <cc>mitz</cc>
    
    <cc>m.kurz+webkitbugs</cc>
    
    <cc>nikita.grachev</cc>
    
    <cc>peter.liu</cc>
    
    <cc>sorin.sbarnea</cc>
    
    <cc>webkitbugs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>185125</commentid>
    <comment_count>0</comment_count>
      <attachid>47543</attachid>
    <who name="David Richardson">channel200</who>
    <bug_when>2010-01-27 09:15:52 -0800</bug_when>
    <thetext>Created attachment 47543
Test case for table header and footer printing behavious

&lt;thead&gt; and &lt;tfoot&gt; 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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>353016</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Liu">peter.liu</who>
    <bug_when>2011-02-17 10:39:33 -0800</bug_when>
    <thetext>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&apos;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&apos;m using the test is 5.0.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442369</commentid>
    <comment_count>2</comment_count>
    <who name="Brandon Valentine">brandon</who>
    <bug_when>2011-07-26 11:03:19 -0700</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559995</commentid>
    <comment_count>3</comment_count>
    <who name="Nikita">nikita.grachev</who>
    <bug_when>2012-02-19 20:29:15 -0800</bug_when>
    <thetext>please fix it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594331</commentid>
    <comment_count>4</comment_count>
    <who name="">webkitbugs</who>
    <bug_when>2012-04-03 03:06:18 -0700</bug_when>
    <thetext>Duplicate of #17205</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594529</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-03 08:50:58 -0700</bug_when>
    <thetext>Looks like that, thank you!

*** This bug has been marked as a duplicate of bug 17205 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>47543</attachid>
            <date>2010-01-27 09:15:52 -0800</date>
            <delta_ts>2010-01-27 09:15:52 -0800</delta_ts>
            <desc>Test case for table header and footer printing behavious</desc>
            <filename>table.html</filename>
            <type>text/html</type>
            <size>745</size>
            <attacher name="David Richardson">channel200</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgoJPHRpdGxlPk11bHRpLXBhZ2UgdGFibGUgdGVzdDwvdGl0bGU+CgkKPC9o
ZWFkPgoKPGJvZHk+Cgk8dGFibGU+CgkJPHRoZWFkIHN0eWxlPSJkaXNwbGF5OiB0YWJsZS1oZWFk
ZXItZ3JvdXA7Ij4KCQkJPHRyPgoJCQkJPHRoPk51bWJlcjwvdGg+CgkJCTwvdHI+CgkJPC90aGVh
ZD4JCQoJCgkJPHRmb290IHN0eWxlPSJkaXNwbGF5OiB0YWJsZS1mb290ZXItZ3JvdXA7Ij4KCQkJ
PHRyPgoJCQkJPHRkPkZvb3RlcjwvdGQ+CgkJCTwvdHI+CgkJPC90Zm9vdD4KCQk8dGJvZHkgaWQ9
ImJvZHkiPgoJCQkKCQk8L3Rib2R5PgoJPC90YWJsZT4KCQoJPHNjcmlwdCB0eXBlPSJ0ZXh0L2ph
dmFzY3JpcHQiIGNoYXJzZXQ9InV0Zi04Ij4KCQlmdW5jdGlvbiBsb2FkVGFibGUoKXsKCQkJZm9y
ICh2YXIgaT0xOyBpPD00MDA7IGkrPTEpewoJCQkJdmFyIHRib2R5ID0gZG9jdW1lbnQuZ2V0RWxl
bWVudEJ5SWQoImJvZHkiKTsKCQkJCXZhciBuZXdfcm93ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVu
dCgiVFIiKTsKCQkJCXZhciBuZXdfY29sdW1uID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgiVEQi
KTsJCQkJCgkJCQluZXdfY29sdW1uLmlubmVySFRNTCA9ICJSb3cgIiArIGk7CgkJCQluZXdfcm93
LmFwcGVuZENoaWxkKG5ld19jb2x1bW4pOwoJCQkJdGJvZHkuYXBwZW5kQ2hpbGQobmV3X3Jvdyk7
CQkJCQkJCQkKCQkJfQoKCQl9CgkJbG9hZFRhYmxlKCk7Cgk8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0
bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>