summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/220536-1.html
blob: e15548cc772faa061c977bf11d398ac6a28b2dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Essai</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" language="javascript">

function remove_col2() {

var colp = document.getElementById("colp");

var c4= document.getElementById("c4");



colp.colSpan=0;

colp.style.display="none";

c4.style.display="none";







}

function remove_col() {
var tr1 = document.getElementById("tr1");

var tr2 = document.getElementById("tr2");

var tr3 = document.getElementById("tr3");

var colp = document.getElementById("colp");

var c1 = document.getElementById("c1");

var c2 = document.getElementById("c2");

var c3 = document.getElementById("c3");

var c4= document.getElementById("c4");



c1.style.display="none";

colp.colSpan=1;

c3.style.display="none";

c2.style.display="none";

document.documentElement.offsetHeight;

remove_col2();

}



</script>
</head>
<body onload="remove_col()">
<table border="1" id="t_0">
  <thead>
    <tr id="tr1">
      <th rowspan="2">aaaa</th>
      <th rowspan="2">bbbb</th>
      <th colspan="2" id ="colp">cccc</th>
      <th rowspan="2">dddd</th>
    </tr>
    <tr id="tr2">
      <th id="c1">eeee</th>
      <th id="c2">ffff</th>
    </tr>
  </thead>
  <tbody>
    <tr  id="tr3">
      <td>1111</td>
      <td>2222</td>
      <td id="c3">3333</td>
      <td id="c4">4444</td>
      <td>5555</td>
    </tr>
  </tbody>
</table>

</body>
</html>