<!DOCTYPE html>
<html>
<head>
<style>
table {
border-spacing: 0px;
}
th {
padding: 0px;
width: 100px;
height: 100px;
}
col, colgroup {
background-color: green;
}
</style>
</head>
<body>
<p><a href="http://webkit.org/b/87051">87051</a>: Centralize and clean-up table column iteration</p>
<p>This test passes if you see 3 rectangles below: green - purple - green (in this order, left to right).</p>
<table>
<col>
<caption>
<colgroup span="2">
<col style="background-color: purple">
<col>
</colgroup>
<tbody>
<tr>
<th></th>
<th></th>
<th></th>
</tr>
</tbody>
</table>
</body>
</html>