3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=10522</title>
4 <style type="text/css">
5 .float { float: right; height: 40px; width: 40px; }
6 .test { height: 100px; background-color: aliceblue }
8 <script src="resources/repaint.js" type="text/javascript"></script>
9 <script type="text/javascript">
10 function repaintTest()
12 document.getElementById('target').style.height='20px';
13 document.getElementById('cell').style.height='20px';
17 <body onload="runRepaintTest()">
19 <div class="float"></div>
20 <div style="clear: right; background-color: purple; width: 40px; padding: 3px;">
21 <div style="height: 40px; width: 0;" id="target">
27 <div class="float"></div>
28 <table style="clear: both; background-color: purple;">
30 <td id="cell" style="height: 40px; width: 40px;">