OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/text-based-repaint.js"></script> | 2 <script src="resources/text-based-repaint.js"></script> |
3 <script> | 3 <script> |
4 function repaintTest() | 4 function repaintTest() |
5 { | 5 { |
6 document.getElementById('node').remove(); | 6 document.getElementById('node').remove(); |
7 } | 7 } |
8 onload = runRepaintTest; | 8 onload = runRepaintAndPixelTest; |
9 </script> | 9 </script> |
10 | 10 |
11 <style> | 11 <style> |
12 #wrapper { | 12 #wrapper { |
13 visibility: hidden; | 13 visibility: hidden; |
14 position: absolute; | 14 position: absolute; |
15 width: 600px; | 15 width: 600px; |
16 } | 16 } |
17 .outer { float: left; } | 17 .outer { float: left; } |
18 .inner { | 18 .inner { |
(...skipping 28 matching lines...) Expand all Loading... |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 | 49 |
50 <div id='node' class='outer'> | 50 <div id='node' class='outer'> |
51 <div id='to_remove_inner' class='inner'> | 51 <div id='to_remove_inner' class='inner'> |
52 <div id='to_remove' class='item'> </div> | 52 <div id='to_remove' class='item'> </div> |
53 </div> | 53 </div> |
54 </div> | 54 </div> |
55 </div> | 55 </div> |
56 </div> | 56 </div> |
OLD | NEW |