blob: 02683245f6b01ecf188fcf6dcd337acfe84aa2c0 [file] [log] [blame]
<!DOCTYPE HTML>
<style>
table { border-collapse: collapse; width: 100%; }
#green { background-color: green; padding: 0;}
#blue { background-color: blue; padding: 0;}
div { height: 10px; }
</style>
<script src="../../resources/check-layout.js"></script>
<div style="width: 500px">
<table>
<td id="green" data-expected-width=250></td>
<td id="blue" data-expected-width=250><div></div></td>
</table>
</div>
<p> crbug.com/476370: Test empty cells get appropriate width when spread across a percent width table. </p>
<div id="console"></div>
<script>
checkLayout('td', document.getElementById('console'));
</script>