gecko-dev/layout/reftests/bugs/413286-1a.html
Jonathan Kew 27a7a54dc2 Bug 518357, make reftests less sensitive to default font size settings. r=roc
--HG--
extra : rebase_source : 1914dd5f2998a2f45e10ccf3574d854ba9240f52
2009-09-23 15:55:55 +01:00

109 lines
3.3 KiB
HTML

<html>
<head>
<style>
table { width: 400px; height: 25px; font-size: 10px; }
td.blue { background: lightblue; color: rgba(0,0,0,0) }
td.green { background: lightgreen; color: rgba(0,0,0,0) }
col.a { width: 100px; }
col.c { width: 25%; }
</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>