Files
Mozilla/mozilla/layout/html/tests/table/bugs/bug60749.html
(no author) b4b70055bb This commit was manufactured by cvs2svn to create branch
'AVIARY_1_0_20040515_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@156431 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-15 19:32:54 +00:00

37 lines
841 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>This is a title</title>
<script type="text/javascript">
function test1() {
var e1 = document.getElementById("myTd");
e1.style.width = 300;
var e2 = document.getElementById("table");
}
function test2() {
var e1 = document.getElementById("myTd");
e1.style.width = 300;
var e2 = document.getElementById("table");
e2.style.display = 'none';
e2.style.display = '';
}
</script>
</head>
<body onload=test1()>
<table id="table" cellspacing=0 border=3>
<tr>
<td>fieldLabel</td>
<td id="myTd">&nbsp;&nbsp;&nbsp;InspectionText</td>
</tr>
</table>
<form action="">
<input type="button" value="change width" onclick="test1()">
<input type="button" value="change width with table reflow"
onclick="test2()">
</form>
</body>
</html>