Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="height of rows in tfoot are increased to match table height" />
<title>
all row groups receive extra height distribution
</title>
<style>
table {
background: green;
border-collapse:collapse;
}
td {
padding:0px;
}
#redSquare {
height: 100px;
width: 100px;
background-color: red;
position: absolute;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
</p>
<div id="redSquare"></div>
<table style="height:100px">
<tfoot>
<tr>
<td><div style="display:inline-block; width:100px;">
</div></td>
</tr>
</tfoot>
</table>