4 table { background-color: lightblue; height: 100px; }
5 td { width: 100px; height: 50px; }
6 div#target { height: 25px; background-color: lightgreen; }
8 <script src="resources/repaint.js"></script>
10 function repaintTest()
12 document.getElementById("target").style.width = "50px";
16 <body onload="runRepaintTest()">
20 <div id="target"></div>