pjs/layout/reftests/bugs/413286-1c.html

109 строки
3.3 KiB
HTML
Исходник Обычный вид История

<html>
<head>
<style>
table { width: 400px; height: 25px; }
td.blue { background: lightblue; color: lightblue }
td.green { background: lightgreen; color: lightgreen }
col.a { width: 100px; }
col.c { width: 100px; }
</style>
</head>
<body>
With colspan:
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green" colspan="2"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green" colspan="2"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green" colspan="2">xxx</td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green" colspan="2">xxx</td>
</tr></tbody>
</table>
Without colspan:
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green"></td>
<td class="green"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green"></td>
<td class="green"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green">xxx</td>
<td class="green"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green"></td>
<td class="green">xxx</td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green">xxx</td>
<td class="green"></td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green"></td>
<td class="green">xxx</td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue"></td>
<td class="green">xxx</td>
<td class="green">xxx</td>
</tr></tbody>
</table>
<table cellspacing=0 cellpadding=0>
<colgroup><col class="a"/><col/><col class="c"/></colgroup>
<tbody><tr>
<td class="blue">xxx</td>
<td class="green">xxx</td>
<td class="green">xxx</td>
</tr></tbody>
</table>
</body>
</html>