RetroZilla/layout/html/tests/table/bugs/bug102145-4.html
2015-10-20 23:03:22 -04:00

22 lines
583 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test Page dom test bug 102145</title>
<script language="JavaScript">
function foo(elementId) {
myElement = document.getElementById(elementId);
myElement.setAttribute("style","height:200;width:200");
}
</script>
</head>
<body onLoad="foo('mytable')">
<table id="mytable" style="width:100%"><tr><td style="background-color:green">
I should be 200px x 200px
</td></tr></table>
</body>
</html>