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

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/dom/appendCellsRebuild1.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
<HEAD>
 
2
<SCRIPT src=tableDom.js>
 
3
</SCRIPT>
 
4
<SCRIPT>
 
5
 
 
6
function doIt() {
 
7
  appendCellAt(0, 2, 1);
 
8
 
 
9
  appendCellAt(4, 2, 1);
 
10
  appendCellAt(4, 2, 1);
 
11
}
 
12
</SCRIPT>  
 
13
</HEAD>
 
14
<BODY onload="doIt()">
 
15
The 2 tables should look the same
 
16
<table bgcolor=orange border>
 
17
 <tbody>
 
18
 <tr>
 
19
  <td>c11</td>
 
20
 </tr>
 
21
 <tr>
 
22
  <td>c21</td><td>c22</td>
 
23
 </tr>
 
24
 </tbody>
 
25
</table>
 
26
<BR>
 
27
<table bgcolor=orange border>
 
28
 <tbody>
 
29
 <tr>
 
30
  <td>c11</td><td rowspan=2>X1</td>
 
31
 </tr>
 
32
 <tr>
 
33
  <td>c21</td><td>c22</td>
 
34
 </tr>
 
35
 </tbody>
 
36
</table>
 
37
<BR>
 
38
The 2 tables should look the same
 
39
<table bgcolor=orange border>
 
40
 <tbody>
 
41
 <tr>
 
42
  <td>c11</td>
 
43
 </tr>
 
44
 <tr>
 
45
  <td>c21</td><td>c22</td>
 
46
 </tr>
 
47
 </tbody>
 
48
</table>
 
49
<BR>
 
50
<table bgcolor=orange border>
 
51
 <tbody>
 
52
 <tr>
 
53
  <td>c11</td><td rowspan=2>X2</td><td rowspan=2>X3</td>
 
54
 </tr>
 
55
 <tr>
 
56
  <td>c21</td><td>c22</td>
 
57
 </tr>
 
58
 </tbody>
 
59
</table>
 
60
 
 
61
 
 
62
</BODY></HTML>
 
63
 
 
64
 
 
65
 
 
66
 
 
67
 
 
68