OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/intermediate-layout-position.html --> | |
2 <html> | |
3 <head> | |
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=10522</title> | |
5 <style type="text/css"> | |
6 .float { float: right; height: 40px; width: 40px; } | |
7 .test { height: 100px; background-color: aliceblue } | |
8 </style> | |
9 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | |
10 <script type="text/javascript"> | |
11 function paintInvalidationTest() | |
12 { | |
13 document.getElementById('target').style.height='20px'; | |
14 document.getElementById('cell').style.height='20px'; | |
15 } | |
16 </script> | |
17 </head> | |
18 <body onload="runPaintInvalidationTest()"> | |
19 <div class="test"> | |
20 <div class="float"></div> | |
21 <div style="clear: right; background-color: purple; width: 40px; padding
: 3px;"> | |
22 <div style="height: 40px; width: 0;" id="target"> | |
23 </div> | |
24 </div> | |
25 </div> | |
26 | |
27 <div class="test"> | |
28 <div class="float"></div> | |
29 <table style="clear: both; background-color: purple;"> | |
30 <tr> | |
31 <td id="cell" style="height: 40px; width: 40px;"> | |
32 </td> | |
33 </tr> | |
34 </table> | |
35 </div> | |
36 </body> | |
37 </html> | |
OLD | NEW |