<html> | |
<head> | |
<script src="resources/repaint.js"></script> | |
<script> | |
function repaintTest() | |
{ | |
document.getElementById("block").style.height = "100px"; | |
document.getElementById("inline").innerText = "is invisible"; | |
} | |
</script> | |
</head> | |
<body onload="runRepaintTest()"> | |
<div style="visibility: hidden; position: relative;"> | |
<span id="inline">Invisible text</span> | |
</div> | |
<div style="visibility: hidden; position: relative;"> | |
<div id="block" style="height: 50px;"></div> | |
</div> | |
</body> | |
</html> |