<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
table {
 width: 50px;
}
tr:nth-child(odd) {
  background-color: green;
}
tr:nth-child(even) {
  background-color: blue;
}
</style>
<body style="background-color: white">
<table height=500px style="border-spacing: 0px;">
  <tr><td height=10%></td></tr>
  <tr><td height=20%></td></tr>
  <tr><td height=30%></td></tr>
  <tr><td height=40%></td></tr>
</table>
