зеркало из https://github.com/mozilla/pjs.git
22 строки
542 B
HTML
22 строки
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>
|
|
|