<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
table {
  background-color: green;
  border-spacing: 0px;
  border: 100px solid green;
}
</style>
<div style="height: 500px;">
<table><tr><td style="height: 100%; background-color: red; padding: 0px"></td></tr></table>
</div>