<script src="resources/repaint.js" type="text/javascript" charset="utf-8"></script> | |
<script> | |
function repaintTest() | |
{ | |
document.getElementById("target").style.removeProperty("display"); | |
} | |
</script> | |
<body onload="runRepaintTest()"> | |
<div style="height: 20px; background-color: lightblue;"> | |
<div id="target" style="display: none; float: left; width: 100px; height: 100px; background-color: green;"></div> | |
</div> | |
</body> |