| OLD | NEW |
| 1 <!-- Based on fast/repaint/repaint-tile-clipped.html --> |
| 1 <!DOCTYPE html> | 2 <!DOCTYPE html> |
| 2 <html> | 3 <html> |
| 3 <head> | 4 <head> |
| 4 <script src="resources/text-based-repaint.js"></script> | 5 <script src="resources/paint-invalidation-test.js"></script> |
| 5 <script> | 6 <script> |
| 6 if (window.testRunner) | 7 window.expectedPaintInvalidationObjects = [ |
| 7 testRunner.waitUntilDone(); | 8 ]; |
| 8 | 9 function paintInvalidationTest() |
| 9 function repaintTest() | |
| 10 { | 10 { |
| 11 document.getElementById('ref').style.display = 'block'; | 11 document.getElementById('ref').style.display = 'block'; |
| 12 if (window.testRunner) | |
| 13 testRunner.notifyDone(); | |
| 14 } | 12 } |
| 15 onload = runRepaintTest; | 13 onload = runPaintInvalidationTest; |
| 16 </script> | 14 </script> |
| 17 </head> | 15 </head> |
| 18 <style> | 16 <style> |
| 19 #ref { | 17 #ref { |
| 20 display: none; | 18 display: none; |
| 21 min-width: 20em; | 19 min-width: 20em; |
| 22 height: 10em; | 20 height: 10em; |
| 23 position: absolute; | 21 position: absolute; |
| 24 bottom: 5px; | 22 bottom: 5px; |
| 25 border: 1px solid; | 23 border: 1px solid; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 <a href="http://crbug.com/370945">crbug.com/370945</a> | 37 <a href="http://crbug.com/370945">crbug.com/370945</a> |
| 40 </p> | 38 </p> |
| 41 <p>You should see a green rectangle without any missing pieces if this test pass
ed. </p> | 39 <p>You should see a green rectangle without any missing pieces if this test pass
ed. </p> |
| 42 | 40 |
| 43 <p class='spaced'> | 41 <p class='spaced'> |
| 44 <span class='wrapper'> | 42 <span class='wrapper'> |
| 45 <span id="ref"></span> | 43 <span id="ref"></span> |
| 46 </span> | 44 </span> |
| 47 </p> | 45 </p> |
| 48 | 46 |
| OLD | NEW |