<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: 100px;"></div> | |
<div id="target" style="display: none"> | |
<div style="float: left; width: 100px; height: 100px; background-color: green;"></div> | |
</div> | |
</body> |