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

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/bugs/bug60749.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
 
 
3
<html>
 
4
<head>
 
5
<title>This is a title</title>
 
6
<script type="text/javascript">
 
7
 
 
8
function test1() {
 
9
    var e1 = document.getElementById("myTd");
 
10
    e1.style.width = 300;
 
11
    var e2 = document.getElementById("table");
 
12
}
 
13
function test2() {
 
14
    var e1 = document.getElementById("myTd");
 
15
    e1.style.width = 300;
 
16
    var e2 = document.getElementById("table");
 
17
    e2.style.display = 'none';
 
18
    e2.style.display = '';
 
19
}
 
20
 
 
21
</script>
 
22
</head>
 
23
<body onload=test1()>
 
24
<table id="table" cellspacing=0 border=3>
 
25
<tr>
 
26
  <td>fieldLabel</td>
 
27
  <td id="myTd">&nbsp;&nbsp;&nbsp;InspectionText</td>
 
28
</tr>
 
29
</table>
 
30
<form action="">
 
31
<input type="button" value="change width" onclick="test1()">
 
32
<input type="button" value="change width with table reflow"
 
33
onclick="test2()">
 
34
</form>
 
35
</body>
 
36
</html>