Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="match" href="col-definite-max-size-001-ref.html">
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:0; width:100px">
<col style="max-width:0; width:100px">
<col style="max-width:0; width:100px">
<col style="max-width:0; width:100px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:0; min-width:100px">
<col style="max-width:0; min-width:100px">
<col style="max-width:0; min-width:100px">
<col style="max-width:0; min-width:100px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:10%; width:100px">
<col style="max-width:10%; width:100px">
<col style="max-width:10%; width:100px">
<col style="max-width:10%; width:100px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:calc(100px + 1%); width:100px">
<col style="max-width:calc(100px + 1%); width:100px">
<col style="max-width:calc(100px + 1%); width:100px">
<col style="max-width:calc(100px + 1%); width:100px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:0; width:calc(100px + 1%)">
<col style="max-width:0; width:calc(100px + 1%)">
<col style="max-width:0; width:calc(100px + 1%)">
<col style="max-width:0; width:calc(100px + 1%)">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:0; width:50%">
<col style="max-width:0; width:50%">
<col style="max-width:0; width:50%">
<col style="max-width:0; width:50%">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col>
<col>
<col style="max-width:0">
<col style="max-width:0">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:40px; width:100px">
<col style="max-width:40px; width:100px">
<col style="max-width:40px; width:100px">
<col style="max-width:40px; width:100px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:40px; width:calc(100px + 1%)">
<col style="max-width:40px; width:calc(100px + 1%)">
<col style="max-width:40px; width:calc(100px + 1%)">
<col style="max-width:40px; width:calc(100px + 1%)">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col style="max-width:40px; width:50%">
<col style="max-width:40px; width:50%">
<col style="max-width:40px; width:50%">
<col style="max-width:40px; width:50%">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>
<table border="1" cellspacing="10">
<colgroup>
<col>
<col>
<col style="max-width:40px">
<col style="max-width:40px">
</colgroup>
<thead>
<tr>
<td>1</td>
<td>2</td>
</tr>
</thead>
</table>