mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
542 B
HTML
22 lines
542 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>Test Page dom test bug 102145a</title>
|
||
|
<script language="JavaScript">
|
||
|
|
||
|
function setElementSize (elementId) {
|
||
|
myElement = document.getElementById(elementId);
|
||
|
myElement.style.height =200;
|
||
|
myElement.width = 200;}
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="setElementSize('mytable')">
|
||
|
|
||
|
<table id="mytable" width="100%"><tr><td style="background-color:green">
|
||
|
I should be 200px x 200px
|
||
|
</td></tr></table>
|
||
|
</body>
|
||
|
</html>
|
||
|
|