22 lines
582 B
HTML
22 lines
582 B
HTML
<html>
|
|
<head>
|
|
<script src="resources/repaint.js"></script>
|
|
<script>
|
|
function repaintTest()
|
|
{
|
|
document.getElementById("target").style.width = "100px";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runRepaintTest()">
|
|
<div>
|
|
<span style="-position: relative; top: 25px; left: 25px;">
|
|
<div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;">
|
|
<div id="target" style="height: 100px; width: 0; background-color: green;">
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</body>
|
|
</html>
|