<!DOCTYPE HTML> | |
<head> | |
<script src="resources/repaint.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function repaintTest() | |
{ | |
document.getElementById("target").style.height = "200px"; | |
} | |
</script> | |
</head> | |
<body onload="runRepaintTest();"> | |
<div style="width: 100px; | |
padding-top: 100px; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(red), to(blue)); | |
"> | |
<div id="target" style="height: 100px;"></div> | |
</div> | |
</body> |