24 lines
584 B
HTML
24 lines
584 B
HTML
<html>
|
|
<head>
|
|
<script src="resources/repaint.js"></script>
|
|
<script>
|
|
function repaintTest()
|
|
{
|
|
document.getElementById("target").style.width = "100px";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runRepaintTest()">
|
|
<table>
|
|
<tr>
|
|
<td style="height: 200px;"></td>
|
|
<td>
|
|
<div style="height: 100px; width: 100px; overflow: hidden; background-color: red;">
|
|
<div id="target" style="height: 100px; width: 0; background-color: green;"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|