24 lines
762 B
HTML
24 lines
762 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="resources/repaint.js" type="text/javascript" charset="utf-8"></script>
|
|
<script type="text/javascript" charset="utf-8">
|
|
function repaintTest()
|
|
{
|
|
document.getElementById('target').style.height='10px';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="runRepaintTest()">
|
|
<div id="container" style="width: 500px; -webkit-transform: translate(50px, 80px)">
|
|
<div style="padding-bottom: 100px; background: silver;">
|
|
<div style="float: right; height: 50px; width: 50px; background: green;"></div>
|
|
<div style="clear: right; border: 4px solid blue;">
|
|
<div style="height: 55px;" id="target">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|