New issue
Advanced search Search tips

Issue 646591 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 631222
Owner: ----
Closed: Sep 2016
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Duplicate content when printing

Reported by a...@cesygroup.com, Sep 13 2016

Issue description

Chrome Version       : 

Google Chrome	53.0.2785.101 (Official Build) m (32-bit)
Revision	d68319683072a27031ebac6ac151e59f4190cab7-refs/branch-heads/2785@{#838}
OS	Windows 
Blink	537.36 (@d68319683072a27031ebac6ac151e59f4190cab7)
JavaScript	V8 5.3.332.43
Flash	22.0.0.209

URLs (if applicable) : None
Other browsers tested: None
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:
         IE:

What steps will reproduce the problem?
(1)
Make a following table 
<table>
			<thead>
				<tr>
					<th>Test</th>
					<th>Test</th>
					<th>Test</th>
					<th>Test</th>
					<th>test</th>
					<th></th>
					<th>Test</th>
				</tr>
			</thead>
			<tbody>
					  <tr>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
					  </tr>
			</tbody>
		</table>
<h2 style="page-break-before: always;">TEST</h2>

<table>
			<thead>
				<tr>
					<th>Test</th>
					<th>Test</th>
					<th>Test</th>
					<th>Test</th>
					<th>test</th>
					<th></th>
					<th>Test</th>
				</tr>
			</thead>
			<tbody>


					  <tr>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
						 <td>Test</td>
					  </tr>
			</tbody>
		</table>





(2) Press Ctrl+P or right click and select print and look the table header which will show twice on the second page.
(3)

What is the expected result?  Table header should appear only once per html markup. 


What happens instead? Table header shows twice


Please provide any additional information below. Attach a screenshot if
possible.

 
This was reported also by one of our customers. I have reproduced it on my computer in v. 53.0.2785.113 m.
This basically means that printing of multi-page reports with tables is not possible from latest version of Chrome and we have to advice customers to use some other browser.

Comment 2 by seek...@gmail.com, Sep 15 2016

We seen this problem as well and have had to advice all of our customers to stop using Chrome as all our reports use tables.

Comment 3 Deleted

Workaround:

@media print {
	thead {
		break-inside: auto;
	}
}

Comment 5 by spam...@gmail.com, Sep 15 2016

This is the same as  issue 645421 .
Mergedinto: 631222
Status: Duplicate (was: Unconfirmed)
The canary already has a fix.

Sign in to add a comment