24 lines
622 B
HTML
24 lines
622 B
HTML
<head>
|
|
<script src="resources/repaint.js"></script>
|
|
<script>
|
|
function repaintTest()
|
|
{
|
|
document.getElementById("target").style.backgroundColor = "transparent";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runRepaintTest();">
|
|
<table cellpadding=1 cellspacing=0>
|
|
<tr>
|
|
<td>
|
|
<div style="width: 100px;">
|
|
<div style="width: 100px; height: 100px; background-color: blue; margin-left: 50px;"></div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="width: 100px; height: 100px; background-color: red;" id="target"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|