blob: df4daa77daae21d4e3cc81e1b7e7be827f50ed6a [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
td {
background-color: #ddd;
border: 1px solid black;
font-size: 50px;
}
tr {
break-inside: avoid;
}
</style>
<p>crbug.com/99124: Table rows shouldn't straddle page boundaries.</p>
<div style="-webkit-columns:3; line-height: 60px; column-fill: auto; height:210px; background-color: yellow;">
<table>
<tr>
<td><div id="container" data-total-y=1>Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text</td>
<td>Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text</td>
</tr>
</table>
</div>
<div id="console"></div>
<script src="../resources/check-layout.js"></script>
<script>
checkLayout("#container", document.getElementById("console"));
</script>