blob: f8c4776f88ef4e4c6d54fb8eeb47d6ea86a42f39 [file] [log] [blame]
<!DOCTYPE html>
<style>
td, th {
background-color: #ddd;
border: 1px solid black;
}
tr {
break-inside: avoid;
}
.header {
font-weight: bold;
text-align: center;
}
.none {
background-color: transparent;
border: 1px solid yellow;
color: yellow;
height: 8px;
}
</style>
<p>crbug.com/656232: Headers and Footers should repeat correctly in the presence of bottom captions.</p>
<div style="columns:3; line-height: 18px; column-fill: auto; height:112px; background-color: yellow;">
<table>
<tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td style="background-color: transparent; border: none; height: 8px;"></td><td style="background-color: transparent; border: none;"></td></tr>
<tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
</table>
<table style="padding-top: 2px;">
<tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
<tr><td class="none"></td><td class="none"></td></tr>
<caption style="caption-side: bottom;">Caption</caption>
</table>
</div>