1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <style type="text/css">
6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10px; }
8 <script src="resources/repaint.js" type="text/javascript"></script>
9 <script type="text/javascript">
10 function repaintTest()
12 document.getElementById('a').style.height = '40px';
13 document.getElementById('b').style.height = '60px';
17 <body onload="runRepaintTest();">
19 <div style="background: teal; padding: 0; outline: solid red 4px; outline-offset: -5px;">
20 <div id="a" style="height: 60px; margin: 10px; background:silver;"></div>
25 <div style="background: teal; padding: 0; outline: solid red 4px; outline-offset: -5px;">
26 <div id="b" style="height: 40px; margin: 10px; background:silver;"></div>