blob: 1a14ee3bb7beefa83272650d6b96962f5b4346f8 [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
border-spacing: 0px;
}
td, th {
background-color: #ddd;
}
tr {
break-inside: avoid;
}
.header {
font-weight: bold;
text-align: center
}
.float {
break-inside: avoid;
width: 50px;
height: 40px;
background-color: blue;
border: 1px solid black;
}
.spacer {
width: 50px;
height: 2px;
}
</style>
<p>crbug.com/675453: Content of a cell that spans multiple pages should avoid the repeating header.</p>
<div style="columns:3; line-height: 20px; column-fill: auto; height:100px; background-color: yellow;">
<table>
<tr><td class="header">Col 1</td></tr>
<tr><td>Text</td></tr>
<tr><td style="height: 32px;"></td></tr>
<tr><td class="header">Ft 2</td></tr>
<tr><td class="header">Col 1</td></tr>
<tr><td style="padding-top: 0px;"><div class="float"</td></tr>
<tr><td style="height: 11px;"></td></tr>
<tr><td class="header">Ft 2</td></tr>
<tr><td class="header">Col 1</td></tr>
<tr><td style="padding-top: 0px;"><div class="float"</td></tr>
<tr><td class="header">Ft 2</td></tr>
</table>
</div>