mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|
||
|
|