haikuwebkit/LayoutTests/fast/layoutformattingcontext/table-with-percent-columns-...

20 lines
481 B
HTML

<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=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>