mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
22 lines
583 B
HTML
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>
|
||
|
|