~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/bugs/bug139524-2.html

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
2
             "http://www.w3.org/TR/html4/loose.dtd">
 
3
<html lang="en">
 
4
<head>
 
5
<title>SPAN attribute in COL element being ignored.</title>
 
6
 
 
7
<style type="text/css">
 
8
pre {font:1em monospace; margin-left:15px; color:#000066;}
 
9
 
 
10
td {border:thin solid black;}
 
11
 
 
12
.aside {font-style:italic;}
 
13
 
 
14
</style>
 
15
</head>
 
16
 
 
17
<body>
 
18
<h3>SPAN attribute of COL element being ignored in Mozilla 1.0 rc1</h3>
 
19
 
 
20
<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>
 
21
 
 
22
<p>The following TABLE has a COLGROUP structure of:</p>
 
23
<pre>&lt;colgroup&gt;
 
24
 &lt;col width="100" span="2"&gt;
 
25
 &lt;col width="200"&gt;
 
26
&lt;/colgroup&gt;
 
27
</pre>
 
28
 
 
29
<p>So the first two colums should both be 100px wide, and the third should be 200px wide.</p>
 
30
<p>However, the first column is 100px, the second is 200px, and the third is the default width.</p>
 
31
<p>So it would appear that the SPAN attribute is being ignored.</p>
 
32
    
 
33
<table>
 
34
 
 
35
<colgroup>
 
36
 <col width="100" span="2">
 
37
 <col width="200">
 
38
</colgroup>
 
39
 
 
40
<tr>
 
41
 <td>col 1</td>
 
42
 <td>col 2</td>
 
43
 <td>col 3</td>
 
44
</tr>
 
45
 
 
46
</table>
 
47
 
 
48
</body>
 
49
</html>