gecko/layout/html/tests/table/bugs/bug139524-2.html

50 lines
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>SPAN attribute in COL element being ignored.</title>
<style type="text/css">
pre {font:1em monospace; margin-left:15px; color:#000066;}
td {border:thin solid black;}
.aside {font-style:italic;}
</style>
</head>
<body>
<h3>SPAN attribute of COL element being ignored in Mozilla 1.0 rc1</h3>
<p class="aside">(Note: this is a regression bug - I don't know when it appeared, but I remember the SPAN attribute on COL elements worked fine sometime before Mozilla 0.9.6)</p>
<p>The following TABLE has a COLGROUP structure of:</p>
<pre>&lt;colgroup&gt;
&lt;col width="100" span="2"&gt;
&lt;col width="200"&gt;
&lt;/colgroup&gt;
</pre>
<p>So the first two colums should both be 100px wide, and the third should be 200px wide.</p>
<p>However, the first column is 100px, the second is 200px, and the third is the default width.</p>
<p>So it would appear that the SPAN attribute is being ignored.</p>
<table>
<colgroup>
<col width="100" span="2">
<col width="200">
</colgroup>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
</tr>
</table>
</body>
</html>